dst_cache: fix possible races
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 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ipv6: ioam: block BH from ioam6_output()net/ | +4 | 0 replies | Applied |
| 2/5 | net: ipv6: rpl_iptunnel: block BH in rpl_output() and rpl_input()net/ | +6 | 0 replies | Applied |
| 3/5 | ipv6: sr: block BH in seg6_output_core() and seg6_input_core()net/ | +6 | 0 replies | Applied |
| 4/5 | ila: block BH in ila_output()net/ | +6 | 0 replies | Applied |
| 5/5 | net: dst_cache: add two DEBUG_NET warningsnet/ | +2 | 0 replies | Applied |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Paolo Abeni |
|---|---|
| Series | A-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/5] dst_cache: fix possible races
This series is inspired by various undisclosed syzbot reports hinting at corruptions in dst_cache structures.
It seems at least four users of dst_cache are racy against BH reentrancy.
Last patch is adding a DEBUG_NET check to catch future misuses.
Eric Dumazet (5):
ipv6: ioam: block BH from ioam6_output()
net: ipv6: rpl_iptunnel: block BH in rpl_output() and rpl_input()
ipv6: sr: block BH in seg6_output_core() and seg6_input_core()
ila: block BH in ila_output()
net: dst_cache: add two DEBUG_NET warnings
net/core/dst_cache.c | 2 ++ net/ipv6/ila/ila_lwt.c | 7 ++++++- net/ipv6/ioam6_iptunnel.c | 8 ++++---- net/ipv6/rpl_iptunnel.c | 14 ++++++-------- net/ipv6/seg6_iptunnel.c | 14 ++++++-------- 5 files changed, 24 insertions(+), 21 deletions(-)
Signature · 1 line
2.45.1.288.g0e0cd299f1-goog