]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: L2CAP: Fix invalid access on ECRED Connection response
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 19 May 2021 20:41:51 +0000 (13:41 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 26 Jun 2021 05:12:32 +0000 (07:12 +0200)
commit244f8cfda6f7aaa18d03bcea5adb57e61fe79637
treef77ee29911c317d9a7e4c47cc4d5d7088dd92d0b
parent6bd03d1a24ddffcb47e9644e77a3cca3d5eb4b4b
Bluetooth: L2CAP: Fix invalid access on ECRED Connection response

The use of l2cap_chan_del is not safe under a loop using
list_for_each_entry.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c