diff options
author | Eric Dumazet <edumazet@google.com> | 2025-02-07 13:58:34 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-10 18:09:09 -0800 |
commit | 628e6d18930bbd21f2d4562228afe27694f66da9 (patch) | |
tree | 4ee9e91e855cc03159bba3fcbe5dd8a3d7767151 /scripts/lib/kdoc/kdoc_files.py | |
parent | 48145a57d4bbe3496e8e4880b23ea6b511e6e519 (diff) |
ndisc: use RCU protection in ndisc_alloc_skb()
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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions