Bluetooth: hci_event: fix potential UAF in SSP passkey handlers
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 01a6431766c35dfedb86e0cb5d3fc80c6d604a47, Kernel 204028af77a265e31ceb4ba7f643349a3cca72b2, Kernel 85fa3512048793076eef658f66489112dcc91993 and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.7, >=92a25256f142d55e25f9959441cea6ddeabae57e <01a6431766c35dfedb86e0cb5d3fc80c6d604a47, >=92a25256f142d55e25f9959441cea6ddeabae57e <204028af77a265e31ceb4ba7f643349a3cca72b2, >=92a25256f142d55e25f9959441cea6ddeabae57e <85fa3512048793076eef658f66489112dcc91993, >=92a25256f142d55e25f9959441cea6ddeabae57e <8c6443bb9257b780986fb67ec08565bf48ecb8d7, >=92a25256f142d55e25f9959441cea6ddeabae57e <b6ae482f88654db407c8c17619d4b62959b903ef, >=92a25256f142d55e25f9959441cea6ddeabae57e <d28311539ac9f65e29308ea219ecaa48aa5e76e5, >=92a25256f142d55e25f9959441cea6ddeabae57e <e08d75753db17aa943d7622f09d9c217b5bfd3b8, >=92a25256f142d55e25f9959441cea6ddeabae57e <ea18732d2614557e59f4c0d8cdbe6611aeab33b7 | 01a6431766c35dfedb86e0cb5d3fc80c6d604a47, 204028af77a265e31ceb4ba7f643349a3cca72b2, 85fa3512048793076eef658f66489112dcc91993, 8c6443bb9257b780986fb67ec08565bf48ecb8d7, b6ae482f88654db407c8c17619d4b62959b903ef, d28311539ac9f65e29308ea219ecaa48aa5e76e5, e08d75753db17aa943d7622f09d9c217b5bfd3b8, ea18732d2614557e59f4c0d8cdbe6611aeab33b7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket