AZL-118133: CVE-2026-143118 affecting package kernel 6.6.161.1-1
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
In L2CAP recvmsg, require BT_CONNECTED before clearing local busy.
Event History
Frequently Asked Questions
What conditions are needed to trigger the failure?
The affected system must have an L2CAP socket with buffered ERTM data, then lose the ACL link. A subsequent recvmsg read can clear local busy and send a supervisory frame after the underlying HCI channel has been destroyed, causing a NULL-pointer oops in hci_send_acl().
Does the issue require the L2CAP socket itself to be closed?
No. The socket can still own its L2CAP channel after the HCI channel has been destroyed. That socket lifetime does not protect the underlying HCI channel.
How does the resolved behavior avoid the crash while preserving reads?
The fix requires the channel to be BT_CONNECTED before recvmsg clears local busy. Buffered data can still be read after disconnection, but the unsafe supervisory-frame path is prevented.