summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-02-07 13:58:34 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-21 14:01:42 +0100
commitbbec88e4108e8d6fb468d3817fa652140a44ff28 (patch)
tree619abc4673d82b5f93ddec1b1bd2387ca9e188cb /scripts
parent3e38cbbfa0a128a9d64773240a9eb3bc7bae3b1a (diff)
downloadlinux-bbec88e4108e8d6fb468d3817fa652140a44ff28.tar.gz
linux-bbec88e4108e8d6fb468d3817fa652140a44ff28.tar.bz2
linux-bbec88e4108e8d6fb468d3817fa652140a44ff28.zip
ndisc: use RCU protection in ndisc_alloc_skb()
[ Upstream commit 628e6d18930bbd21f2d4562228afe27694f66da9 ] ndisc_alloc_skb() can be called without RTNL or RCU being held. Add RCU protection to avoid possible UAF. Fixes: de09334b9326 ("ndisc: Introduce ndisc_alloc_skb() helper.") Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://patch.msgid.link/20250207135841.1948589-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions