Skip to content

net: skb_put_padto() fixes

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

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: qrtr: check skb_put_padto() return valuenet/qrtr/qrtr.c+11 -102 replies
2/2net: add __must_check to skb_put_padto()include/linux/skbuff.h+4 -30 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchManivannan SadhasivamBjorn Andersson
1/2A-b R-b
2/2

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 0/2] net: skb_put_padto() fixes

sysbot reported a bug in qrtr leading to use-after-free.

First patch fixes the issue.

Second patch addes __must_check attribute to avoid similar issues in the future.

Eric Dumazet (2):
net: qrtr: check skb_put_padto() return value
net: add __must_check to skb_put_padto()

 include/linux/skbuff.h |  7 ++++---
 net/qrtr/qrtr.c        | 21 +++++++++++----------
 2 files changed, 15 insertions(+), 13 deletions(-)
Signature · 1 line
2.28.0.526.ge36021eeef-goog