Netdev List
 help / color / mirror / Atom feed
* [PATCH v1 net 0/2] net: fib: Fix two use-after-free in drivers during RCU dump.
@ 2026-06-10  6:17 Kuniyuki Iwashima
  2026-06-10  6:17 ` [PATCH v1 net 1/2] ipv4: fib: Don't dump dying fib_info in fib_leaf_notify() Kuniyuki Iwashima
  2026-06-10  6:17 ` [PATCH v1 net 2/2] net: fib_rules: Don't dump dying fib_rule in fib_rules_dump() Kuniyuki Iwashima
  0 siblings, 2 replies; 3+ messages in thread
From: Kuniyuki Iwashima @ 2026-06-10  6:17 UTC (permalink / raw)
  To: David Ahern, Ido Schimmel, David S . Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni
  Cc: Simon Horman, Amit Cohen, Jiri Pirko, Kuniyuki Iwashima,
	Kuniyuki Iwashima, netdev

syzbot reported fib_info UAF in netdevsim, and the same bug
exists in rocker and mlxsw.

Patch 1 fixes it, and Patch 2 fixes the same type of bug of
fib_rule.


Kuniyuki Iwashima (2):
  ipv4: fib: Don't dump dying fib_info in fib_leaf_notify().
  net: fib_rules: Don't dump dying fib_rule in fib_rules_dump().

 include/net/fib_rules.h | 5 +++++
 include/net/ip_fib.h    | 5 +++++
 net/core/fib_rules.c    | 6 +++++-
 net/ipv4/fib_trie.c     | 4 ++++
 4 files changed, 19 insertions(+), 1 deletion(-)

-- 
2.54.0.1099.g489fc7bff1-goog


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-10  6:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10  6:17 [PATCH v1 net 0/2] net: fib: Fix two use-after-free in drivers during RCU dump Kuniyuki Iwashima
2026-06-10  6:17 ` [PATCH v1 net 1/2] ipv4: fib: Don't dump dying fib_info in fib_leaf_notify() Kuniyuki Iwashima
2026-06-10  6:17 ` [PATCH v1 net 2/2] net: fib_rules: Don't dump dying fib_rule in fib_rules_dump() Kuniyuki Iwashima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox