Netdev List
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: skb_put_padto() fixes
@ 2020-09-09  8:27 Eric Dumazet
  2020-09-09  8:27 ` [PATCH net 1/2] net: qrtr: check skb_put_padto() return value Eric Dumazet
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Eric Dumazet @ 2020-09-09  8:27 UTC (permalink / raw)
  To: David S . Miller; +Cc: netdev, Eric Dumazet, Eric Dumazet

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(-)

-- 
2.28.0.526.ge36021eeef-goog


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-09 18:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-09  8:27 [PATCH net 0/2] net: skb_put_padto() fixes Eric Dumazet
2020-09-09  8:27 ` [PATCH net 1/2] net: qrtr: check skb_put_padto() return value Eric Dumazet
2020-09-09 15:30   ` Manivannan Sadhasivam
2020-09-09 16:41   ` Bjorn Andersson
2020-09-09  8:27 ` [PATCH net 2/2] net: add __must_check to skb_put_padto() Eric Dumazet
2020-09-09 18:05 ` [PATCH net 0/2] net: skb_put_padto() fixes David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox