Skip to content

inet: frags: followup to 'inet-frags-avoid-possible-races-at-netns-dismantle'

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3inet: frags: uninline fqdir_init()include/net/inet_frag.h net/ipv4/inet_fragment.c+20 -190 replies
2/3inet: frags: call inet_frags_fini() after unregister_pernet_subsys()net/ieee802154/6lowpan/reassembly.c net/ipv6/reassembly.c+2 -20 replies
3/3inet: frags: fix use-after-free read in inet_frag_destroy_rcuinclude/net/inet_frag.h net/ipv4/inet_fragment.c+21 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] inet: frags: followup to 'inet-frags-avoid-possible-races-at-netns-dismantle'

Latest patch series ('inet-frags-avoid-possible-races-at-netns-dismantle') brought another syzbot report shown in the third patch changelog.

While fixing the issue, I had to call inet_frags_fini() later in IPv6 and ilowpan.

Also I believe a completion is needed to ensure proper dismantle at module removal.

Eric Dumazet (3):
inet: frags: uninline fqdir_init()
inet: frags: call inet_frags_fini() after unregister_pernet_subsys()
inet: frags: fix use-after-free read in inet_frag_destroy_rcu

 include/net/inet_frag.h             | 23 +++--------------
 net/ieee802154/6lowpan/reassembly.c |  2 +-
 net/ipv4/inet_fragment.c            | 39 +++++++++++++++++++++++++++--
 net/ipv6/reassembly.c               |  2 +-
 4 files changed, 43 insertions(+), 23 deletions(-)
Signature · 1 line
2.22.0.rc1.257.g3120a18244-goog