Files
linux-stable-mirror/net/bluetooth
Luiz Augusto von DentzandGreg Kroah-Hartman a23c49a5ea Bluetooth: SMP: Fix assumption of Central always being Initiator
[ Upstream commit 28cd47f751 ]

SMP initiator role shall be considered the one that initiates the
pairing procedure with SMP_CMD_PAIRING_REQ:

BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 3, Part H
page 1557:

Figure 2.1: LE pairing phases

Note that by sending SMP_CMD_SECURITY_REQ it doesn't change the role to
be Initiator.

Link: https://github.com/bluez/bluez/issues/567
Fixes: b28b494366 ("Bluetooth: Add strict checks for allowed SMP PDUs")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-29 17:30:43 +02:00
..
2024-03-26 18:20:42 -04:00
2024-07-25 09:49:20 +02:00