diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-02-07 16:58:36 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-11 05:09:09 +0300 |
| commit | a42b69f692165ec39db42d595f4f65a4c8f42e44 (patch) | |
| tree | 595c21de7998c410a6e3f02ab7ebfa79e0b559b2 /rust/helpers/build_bug.c | |
| parent | becbd5850c03ed33b232083dd66c6e38c0c0e569 (diff) | |
| download | linux-a42b69f692165ec39db42d595f4f65a4c8f42e44.tar.xz | |
arp: use RCU protection in arp_xmit()
arp_xmit() can be called without RTNL or RCU protection.
Use RCU protection to avoid potential UAF.
Fixes: 29a26a568038 ("netfilter: Pass struct net into the netfilter hooks")
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-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
