Vulnerability record
Bluetooth: L2CAP: Keep recvmsg from resuming a closed channel
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…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources