[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1B0C88A5-05B1-49FB-9B8C-8D833BA51AD9@holtmann.org>
Date: Mon, 13 Jul 2020 18:42:02 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Peilin Ye <yepeilin.cs@...il.com>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Russell King <linux@...linux.org.uk>,
Greg KH <gregkh@...uxfoundation.org>,
Bluetooth Kernel Mailing List
<linux-bluetooth@...r.kernel.org>,
"open list:NETWORKING [GENERAL]" <netdev@...r.kernel.org>,
linux-kernel-mentees@...ts.linuxfoundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [Linux-kernel-mentees] [PATCH 2/2] net/bluetooth: Prevent
out-of-bounds read in hci_inquiry_result_with_rssi_evt()
Hi Peilin,
> Check `num_rsp` before using it as for-loop counter. Add `unlock` label.
>
> Cc: stable@...r.kernel.org
> Signed-off-by: Peilin Ye <yepeilin.cs@...il.com>
> ---
> net/bluetooth/hci_event.c | 7 +++++++
> 1 file changed, 7 insertions(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists