Skip to contentSkip to conversation

New: Bluetooth: hci0: Invalid LTK for MAC_ADDRESS

Bug 219812 [email protected] 1 participant 3 messages Feb 25, 2025 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=219812

            Bug ID: 219812
           Summary: Bluetooth: hci0: Invalid LTK for MAC_ADDRESS
           Product: Drivers
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: low
          Priority: P3
         Component: Bluetooth
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

On boot I see these messages:

Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
Bluetooth: hci0: Invalid LTK for MAC_ADDRESS

What do they mean?

My device is MT7921, 0489:e0f2.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 219812] Bluetooth: hci0: Invalid LTK for MAC_ADDRESS

https://bugzilla.kernel.org/show_bug.cgi?id=219812

Luiz Von Dentz ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Luiz Von Dentz ([email protected]) --- This was introduced in:

commit 1e9683c9b6ca88cc9340cdca85edd6134c8cffe3 (tag: for-net-2024-08-30, bluetooth/master)

Author: Luiz Augusto von Dentz <[email protected]>
Date:   Tue Aug 27 15:01:34 2024 -0400

Bluetooth: MGMT: Ignore keys being loaded with invalid type

Due to 59b047bc98084f8af2c41483e4d68a5adf2fa7f7 there could be keys stored with the wrong address type so this attempt to detect it and ignore them instead of just failing to load all keys.

Fixes 59b047bc9808 ("Bluetooth: MGMT/SMP: Fix address type when using SMP

over BREDR/LE")

Most likely you got an older release without the following fix to userspace:

commit 7322ec38fb65afe8f34b9e363ed9fce37e1ff868

Author: Luiz Augusto von Dentz <[email protected]>
Date:   Mon Nov 4 15:31:27 2024 -0500

adapter: Fix up address type for all keys

66a8c522b64 ("adapter: Fix up address type when loading keys") didn't fix all instances of wrong address type being loaded, so peripheral LTK and IRK were still left with possible invalid types.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 219812] Bluetooth: hci0: Invalid LTK for MAC_ADDRESS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=219812

Artem S. Tashkinov ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |ANSWERED

--- Comment #2 from Artem S. Tashkinov ([email protected]) ---
I'm running fully updated Fedora 41 and Linux 6.13.4. Hopefully this will be fixed in later stable releases.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.