Skip to content

tcp: take care of another syzbot issue

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2net: add skb_set_end_offset() helperinclude/linux/skbuff.h net/core/skbuff.c+15 -140 repliesApplied
2/2net: preserve skb_end_offset() in skb_unclone_keeptruesize()include/linux/skbuff.h net/core/skbuff.c+43 -91 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMarco Elver
1/2
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] tcp: take care of another syzbot issue

From: Eric Dumazet <[email protected]>

This is a minor issue: It took months for syzbot to find a C repro, and even with it, I had to spend a lot of time to understand KFENCE was a prereq. With the default kfence 500ms interval, I had to be very patient to trigger the kernel warning and perform my analysis.

This series targets net-next tree, because I added a new generic helper in the first patch, then fixed the issue in the second one. They can be backported once proven solid.

Eric Dumazet (2):
net: add skb_set_end_offset() helper
net: preserve skb_end_offset() in skb_unclone_keeptruesize()

 include/linux/skbuff.h | 30 +++++++++++++++++--------
 net/core/skbuff.c      | 51 ++++++++++++++++++++++++++++++------------
 2 files changed, 58 insertions(+), 23 deletions(-)
Signature · 1 line
2.35.1.473.g83b2b277ed-goog