Linux
Bluetooth: hci_event: fix potential UAF in SSP passkey handlers
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_event: fix potential UAF in SSP passkey handlers hci_conn lookup and field access must be covered by hdev lock in hci_user_passkey_notify_evt() and hci_keypress_notify_evt(), otherwise the connection can be freed concurrently. Extend the hci_dev_lock critical section to cover all conn usage in both handlers. Keep the existing keypress notification behavior unchanged by routing the early exits through a common unlock path.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 92a25256f142d55e25f9959441cea6ddeabae57e, < ea18732d2614557e59f4c0d8cdbe6611aeab33b7
- >= 92a25256f142d55e25f9959441cea6ddeabae57e, < d28311539ac9f65e29308ea219ecaa48aa5e76e5
- >= 92a25256f142d55e25f9959441cea6ddeabae57e, < b6ae482f88654db407c8c17619d4b62959b903ef
- >= 92a25256f142d55e25f9959441cea6ddeabae57e, < 204028af77a265e31ceb4ba7f643349a3cca72b2
- >= 92a25256f142d55e25f9959441cea6ddeabae57e, < 01a6431766c35dfedb86e0cb5d3fc80c6d604a47
- >= 92a25256f142d55e25f9959441cea6ddeabae57e, < e08d75753db17aa943d7622f09d9c217b5bfd3b8
- >= 92a25256f142d55e25f9959441cea6ddeabae57e, < 8c6443bb9257b780986fb67ec08565bf48ecb8d7
- >= 92a25256f142d55e25f9959441cea6ddeabae57e, < 85fa3512048793076eef658f66489112dcc91993
Fixed in ea18732d2614557e59f4c0d8cdbe6611aeab33b7, d28311539ac9f65e29308ea219ecaa48aa5e76e5, b6ae482f88654db407c8c17619d4b62959b903ef, 204028af77a265e31ceb4ba7f643349a3cca72b2, 01a6431766c35dfedb86e0cb5d3fc80c6d604a47, e08d75753db17aa943d7622f09d9c217b5bfd3b8, 8c6443bb9257b780986fb67ec08565bf48ecb8d7, 85fa3512048793076eef658f66489112dcc91993
- 3.7
Fixed in 0, 5.10.259, 5.15.210, 6.1.175, 6.6.140, 6.12.86, 6.18.27, 7.0.4, 7.1
Mitigation
Upgrade Linux to ea18732d2614557e59f4c0d8cdbe6611aeab33b7 or d28311539ac9f65e29308ea219ecaa48aa5e76e5 or b6ae482f88654db407c8c17619d4b62959b903ef or 204028af77a265e31ceb4ba7f643349a3cca72b2 or 01a6431766c35dfedb86e0cb5d3fc80c6d604a47 or e08d75753db17aa943d7622f09d9c217b5bfd3b8 or 8c6443bb9257b780986fb67ec08565bf48ecb8d7 or 85fa3512048793076eef658f66489112dcc91993 or later.
Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.175 or 6.6.140 or 6.12.86 or 6.18.27 or 7.0.4 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.