Linux
Bluetooth: fix locking in hci_conn_request_evt() with HCI_PROTO_DEFER
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: fix locking in hci_conn_request_evt() with HCI_PROTO_DEFER When protocol sets HCI_PROTO_DEFER, hci_conn_request_evt() calls hci_connect_cfm(conn) without hdev->lock. Generally hci_connect_cfm() assumes it is held, and if conn is deleted concurrently -> UAF. Only SCO and ISO set HCI_PROTO_DEFER and only for defer setup listen, and HCI_EV_CONN_REQUEST is not generated for ISO. In the non-deferred listening socket code paths, hci_connect_cfm(conn) is called with hdev->lock held. Fix by holding the lock.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 70c464256310e1c3716099b9d02ece4169272f73, < 60e3f4ff02d1f2d55bfbf2ca32a97285a9771ee4
- >= 70c464256310e1c3716099b9d02ece4169272f73, < 9d4a6c0f43fc5e4d4f062e8e450e5483eb74176e
- >= 70c464256310e1c3716099b9d02ece4169272f73, < c7777f534a8018ae4bb1c80d8925af4df588a314
- >= 70c464256310e1c3716099b9d02ece4169272f73, < 6b4d226d01ab7da0d2027a2a1e3a6079152e5065
- >= 70c464256310e1c3716099b9d02ece4169272f73, < 541d5bf9b5afaf41090b2a3aa7b47f2db2ff801f
- >= 70c464256310e1c3716099b9d02ece4169272f73, < 385b2d0468a0871fc716c549fa3b0c257c7dbcb3
- >= 70c464256310e1c3716099b9d02ece4169272f73, < c27224daf0b08efbb2b24ed64b6139b294f5473a
- >= 70c464256310e1c3716099b9d02ece4169272f73, < 5c7209a341ff2ac338b2b0375c34a307b37c9ac2
Fixed in 60e3f4ff02d1f2d55bfbf2ca32a97285a9771ee4, 9d4a6c0f43fc5e4d4f062e8e450e5483eb74176e, c7777f534a8018ae4bb1c80d8925af4df588a314, 6b4d226d01ab7da0d2027a2a1e3a6079152e5065, 541d5bf9b5afaf41090b2a3aa7b47f2db2ff801f, 385b2d0468a0871fc716c549fa3b0c257c7dbcb3, c27224daf0b08efbb2b24ed64b6139b294f5473a, 5c7209a341ff2ac338b2b0375c34a307b37c9ac2
- 3.17
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to 60e3f4ff02d1f2d55bfbf2ca32a97285a9771ee4 or 9d4a6c0f43fc5e4d4f062e8e450e5483eb74176e or c7777f534a8018ae4bb1c80d8925af4df588a314 or 6b4d226d01ab7da0d2027a2a1e3a6079152e5065 or 541d5bf9b5afaf41090b2a3aa7b47f2db2ff801f or 385b2d0468a0871fc716c549fa3b0c257c7dbcb3 or c27224daf0b08efbb2b24ed64b6139b294f5473a or 5c7209a341ff2ac338b2b0375c34a307b37c9ac2 or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.141 or 6.12.91 or 6.18.33 or 7.0.10 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.