]> git.hungrycats.org Git - linux/commit
Bluetooth: hci_event: Align BR/EDR JUST_WORKS paring with LE
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 12 Sep 2024 16:17:00 +0000 (12:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:01:05 +0000 (12:01 +0200)
commitad7adfb95f64a761e4784381e47bee1a362eb30d
tree80b58c884f069de1664c06ee1be37a59f7e45c47
parent01feafd82a6878901e66494c6710635c4a0e81e0
Bluetooth: hci_event: Align BR/EDR JUST_WORKS paring with LE

commit b25e11f978b63cb7857890edb3a698599cddb10e upstream.

This aligned BR/EDR JUST_WORKS method with LE which since 92516cd97fd4
("Bluetooth: Always request for user confirmation for Just Works")
always request user confirmation with confirm_hint set since the
likes of bluetoothd have dedicated policy around JUST_WORKS method
(e.g. main.conf:JustWorksRepairing).

CVE: CVE-2024-8805
Cc: stable@vger.kernel.org
Fixes: ba15a58b179e ("Bluetooth: Fix SSP acceptor just-works confirmation without MITM")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bluetooth/hci_event.c