Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Keep recvmsg from resuming a closed channel Reading buffered ERTM data after ACL link loss can clear local busy and send a supervisory frame after l2cap_conn_del() has destroyed the HCI channel, which oopses on a NULL pointer in hci_send_acl(). The socket still owns its L2CAP channel, so its lifetime does not protect the underlying HCI channel. Require BT_CONNECTED before clearing local busy in recvmsg. The socket lock already held here serializes this check and send with teardown, which closes the socket before the HCI channel is destroyed. Continue to allow buffered data to be read after disconnection. AI assistance was used.
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
61aa4f5b9f43b21668aec51da2df3e9ed5f4226d to < a9711cd9090b88b0309b825a7e1a8a414b1f841daffected61aa4f5b9f43b21668aec51da2df3e9ed5f4226d to < 87cc3e632eb9665d5257e9c9fbf2327639d8908daffected61aa4f5b9f43b21668aec51da2df3e9ed5f4226d to < 08f9605b6b896be80bba555d32df54786c80d44daffected61aa4f5b9f43b21668aec51da2df3e9ed5f4226d to < 1f2ac56137c51be0601e18a163d817e02a15913faffected
Linux Linux
Default version status: affected
3.6affected0 to < 3.6unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected