Files
linux-stable-mirror/net/bluetooth
Luiz Augusto von Dentz 15efa7d00f Bluetooth: L2CAP: Fix not checking l2cap_chan security level
[ Upstream commit 7af8479d9e ]

l2cap_check_enc_key_size shall check the security level of the
l2cap_chan rather than the hci_conn since for incoming connection
request that may be different as hci_conn may already been
encrypted using a different security level.

Fixes: 522e9ed157 ("Bluetooth: l2cap: Check encryption key size on incoming connection")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:19 +02:00
..
2024-03-26 18:20:42 -04:00