linux/net/bluetooth
Peilin Ye b78763e0a2 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_with_rssi_evt()
commit 629b49c848ee71244203934347bd7730b0ddee8d upstream.

Check `num_rsp` before using it as for-loop counter. Add `unlock` label.

Cc: stable@vger.kernel.org
Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-11 15:33:34 +02:00
..
2019-10-24 14:53:48 -07:00
2019-07-26 14:58:12 +10:00
2020-01-09 10:20:04 +01:00
2017-09-01 22:49:47 +02:00
2019-04-19 14:07:40 -07:00
2019-07-26 14:58:12 +10:00
2018-09-26 12:39:32 +03:00