CVE-2026-10654: RFCOMM session-disconnect race leaks session/L2CAP and denies further RFCOMM service in Zephyr Bluetooth Classic
A race condition in the Zephyr Bluetooth Classic RFCOMM host stack (subsys/bluetooth/host/classic/rfcomm.c) mishandles a simultaneous bidirectional session disconnect. When the local device has initiated a session teardown (state BTRFCOMMSTATEDISCONNECTING, DISC sent, RTX timer armed) and the connected peer concurrently sends its own DISC frame for dlci 0, rfcommhandledisc() invokes rfcommsessiondisconnected(), which unconditionally forced the session to BTRFCOMMSTATEDISCONNECTED without ever calling btl2capchandisconnect().
Because the recovery timer was also cancelled and a later UA is ignored in the DISCONNECTED state, the session becomes permanently wedged: the underlying L2CAP channel is never released and the session slot in the fixed btrfcommpool[CONFIGBTMAXCONN] array is never reclaimed (its conn pointer stays set).
Subsequent btrfcommdlcconnect() calls on that connection fail with -EINVAL due to the invalid session state, so RFCOMM service is denied for that peer, and repeated occurrences can exhaust the session pool. The DISC frame is peer-controlled over the air, but exploitation requires the peer's DISC to collide with a local-initiated disconnect (a high-complexity timing race). Impact is availability/resource-leak only; there is no memory-safety, confidentiality, or integrity consequence. The defect shipped in released versions (present in v4.4.0 and earlier).
The fix only transitions to DISCONNECTED when the session is not already in DISCONNECTING, preserving the proper L2CAP teardown path.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Zephyr Bluetooth Classic RFCOMM host stack (subsys/bluetooth/host/classic/rfcomm.c)to a version that resolves this vulnerability.Fixed in 4.4.0 - Upgrade
Upgrade
Zephyr Bluetooth Classic RFCOMM host stack (subsys/bluetooth/host/classic/rfcomm.c)to a version that resolves this vulnerability.Patch RFCOMM session-disconnect race leaks session/L2CAP and denies further RFCOMM service in Zephyr Bluetooth Classic
Event History
Frequently Asked Questions
What is the severity of CVE-2026-10654?
The severity of CVE-2026-10654 is low with a CVSS score of 3.1.
How do I fix CVE-2026-10654?
To fix CVE-2026-10654, update the Zephyr Bluetooth Classic RFCOMM host stack to the latest version that addresses the race condition.
What vulnerability type is CVE-2026-10654?
CVE-2026-10654 is categorized as a race condition vulnerability.
What effect does CVE-2026-10654 have on Zephyr Bluetooth Classic?
CVE-2026-10654 can lead to session leakage and denial of further RFCOMM service.
Is CVE-2026-10654 easily exploitable?
While CVE-2026-10654 has a low severity rating, its exploitation would depend on the conditions of simultaneous session disconnects.