Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: use proto_lock for l2cap_data to fix l2cap_disconn_ind hci_conn::l2cap_data is accessed without locks in l2cap_disconn_ind via hci_conn_timeout (disc_work) -> hci_proto_disconn_ind -> l2cap_disconn_ind. This is UAF if the l2cap_conn is deleted concurrently. disc_work is disabled sync in hci_conn_del(), so we cannot take hci_dev_lock in disc_work. Fix by using proto_lock to guard l2cap_data, in addition to hdev->lock which is held in other access paths.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
efc30877bd4bc85fefe98d80af60fafc86e5775e to < 0fa448369c87e20b2aeaeaca0187d698dd61f791affectedf87271d21dd4ee83857ca11b94e7b4952749bbae to < 7c032b6d48a46634cbd58aaebad2638c00ad3b51affectedab4eedb790cae44313759b50fe47da285e2519d5 to < b495a3a9b33bc4e4613e685bf5c96c136caa22d8affectedab4eedb790cae44313759b50fe47da285e2519d5 to < 2b66c83ff1751d6bd3201b3017206262ab46dc05affected18ab6b6078fa8191ca30a3065d57bf35d5635761affected6.6.84 to < 6.6.160affected6.12.20 to < 6.12.114affected6.13.8 to < 6.14affected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected