net: skb_put_padto() fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: qrtr: check skb_put_padto() return valuenet/ | +11 | 2 replies | |
| 2/2 | net: add __must_check to skb_put_padto()include/ | +4 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Manivannan Sadhasivam | Bjorn Andersson |
|---|---|---|
| 1/2 | A-b | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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