net: fib: Fix two use-after-free in drivers during RCU dump.
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipv4: fib: Don't dump dying fib_info in fib_leaf_notify().include/ net/ | +9 | 2 replies | Applied |
| 2/2 | net: fib_rules: Don't dump dying fib_rule in fib_rules_dump().include/ net/ | +10 | 2 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ido Schimmel | David Ahern |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 net 0/2] net: fib: Fix two use-after-free in drivers during RCU dump.
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(-)
Signature · 1 line
2.54.0.1099.g489fc7bff1-goog