diff options
| author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-11-17 13:45:13 -0500 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-11-20 17:02:07 -0500 |
| commit | 545d7827b2cd5de5eb85580cebeda6b35b3ff443 (patch) | |
| tree | eee93edbd51b3854b82d6d8fe6aaea1a06e10080 /rust/helpers/vmalloc.c | |
| parent | c884a0b27b4586e607431d86a1aa0bb4fb39169c (diff) | |
Bluetooth: SMP: Fix not generating mackey and ltk when repairing
The change eed467b517e8 ("Bluetooth: fix passkey uninitialized when used")
introduced a goto that bypasses the creation of temporary mackey and ltk
which are later used by the likes of DHKey Check step.
Later ffee202a78c2 ("Bluetooth: Always request for user confirmation for
Just Works (LE SC)") which means confirm_hint is always set in case
JUST_WORKS so the branch checking for an existing LTK becomes pointless
as confirm_hint will always be set, so this just merge both cases of
malicious or legitimate devices to be confirmed before continuing with the
pairing procedure.
Link: https://github.com/bluez/bluez/issues/1622
Fixes: eed467b517e8 ("Bluetooth: fix passkey uninitialized when used")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
