diff options
author | Florian Westphal <[email protected]> | 2019-06-03 22:41:44 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-06-04 14:24:10 -0700 |
commit | d3e6e285fff3494a5c12154c8e7d79f5181d3ddc (patch) | |
tree | cde6818d92d666c803a42841832563f5324ca19c /net/unix/sysctl_net_unix.c | |
parent | ae95f9c1a5601b3dd40d72436ef835b5bbb429a7 (diff) |
net: ipv4: fix rcu lockdep splat due to wrong annotation
syzbot triggered following splat when strict netlink
validation is enabled:
net/ipv4/devinet.c:1766 suspicious rcu_dereference_check() usage!
This occurs because we hold RTNL mutex, but no rcu read lock.
The second call site holds both, so just switch to the _rtnl variant.
Reported-by: [email protected]
Fixes: 2638eb8b50cf ("net: ipv4: provide __rcu annotation for ifa_list")
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions