[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 9 Sep 2020 01:27:38 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: [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(-)
--
2.28.0.526.ge36021eeef-goog
Powered by blists - more mailing lists