aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/samples/kobject/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-05-02 12:41:02 +0000
committerJakub Kicinski <kuba@kernel.org>2026-05-04 19:24:27 -0700
commitac0841d7d202073415c808bda7848502163b87dd (patch)
tree0abcafa9d26884a1cf093206594796af69b370ef /samples/kobject/ssh:/git@git.zx2c4.com/git:
parentMerge branch 'mptcp-misc-fixes-for-v7-1-rc3' (diff)
net: prevent possible UAF in rtnl_prop_list_size()
I was mistaken by synchronize_rcu() [1] call in netdev_name_node_alt_destroy(), giving a false sense of RCU safety at delete times. We have to use list_del_rcu() to not confuse potential readers in rtnl_prop_list_size(). [1] This synchronize_rcu() call was later removed in commit 723de3ebef03 ("net: free altname using an RCU callback"). Fixes: 9f30831390ed ("net: add rcu safety to rtnl_prop_list_size()") Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20260502124102.499204-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions