CVE-2026-143118: 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 l2capconndel() has destroyed the HCI channel, which oopses on a NULL pointer in hcisendacl(). The socket still owns its L2CAP channel, so its lifetime does not protect the underlying HCI channel.
Require BTCONNECTED 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Require BT_CONNECTED before clearing local busy in recvmsg.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Linux kernel systems using Bluetooth L2CAP in ERTM mode are affected when buffered data is read after an ACL link loss. The issue depends on the L2CAP socket remaining present after the underlying HCI channel has been destroyed.
What sequence causes the failure?
After ACL link loss and L2CAP connection teardown, reading buffered ERTM data can clear the local-busy state and attempt to send a supervisory frame. Because the HCI channel has already been destroyed, this can cause a NULL-pointer oops in hci_send_acl().
Does the fix prevent applications from reading data buffered before disconnection?
No. The change continues to allow buffered data to be read after disconnection, but only clears local busy when the channel is still in the BT_CONNECTED state.