CVE-2026-85036

Bluetooth Classic AVDTP session reuse re-initializes a queued work item, corrupting the system work queue

Published Nov 4, 2026 CVSS 3.1 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
The Bluetooth Classic AVDTP layer defers releasing a session's stream endpoints: bt_avdtp_l2cap_disconnected() in subsys/bluetooth/host/classic/avdtp.c ends with k_work_submit(&session->_release_work), placing the embedded struct k_work on the system work queue's pending list. When the same struct bt_avdtp object is immediately reused for a new signalling connection, the session memory is re-initialized — a2dp_get_connection() in subsys/bluetooth/host/classic/a2dp.c memset()s the whole struct bt_a2dp, and bt_avdtp_l2cap_accept() / bt_avdtp_connect() call k_work_init() on session->_release_work — while that work item is still linked into k_sys_work_q.pending. Zeroing a linked sys_snode_t truncates the list while its tail pointer keeps pointing past the truncation.

The reuse window is deterministic rather than a race. All host RX processing runs on the Bluetooth RX work queue at a cooperative priority (CONFIG_BT_RX_PRIO), while _release_work is submitted to the lower-priority system work queue, so the release handler cannot run until the RX thread blocks. Because l2cap_br_recv() processes every signalling command contained in a single L2CAP signalling PDU back-to-back, a peer can send one PDU holding an L2CAP Disconnection Request for the AVDTP signalling channel followed by a Connection Request for PSM 0x0019; the second command reaches the session-reuse path with the release work provably still queued. The peer must already hold an encrypted AVDTP signalling channel, i.e. be a paired/bonded BR/EDR device.

The result is corruption of the global system work queue's pending list: either the queue silently stops executing any work at all (subsequent submissions are appended to a chain the head can no longer reach, and the orphaned items keep their K_WORK_QUEUED flag forever) or, in the tail variant, the list acquires a self-referencing node that the queue thread spins on. The written values are pointers to other struct k_work objects and are not attacker-controlled, so the impact is a device-wide, reboot-required denial of service rather than a controllable write primitive. Only builds with CONFIG_BT_CLASSIC and CONFIG_BT_A2DP are affected.

The fix is a two-commit unit, and neither commit closes the path on its own. ec822ceed83b adds a pending-release check to bt_avdtp_connect() and bt_avdtp_l2cap_accept(), but the A2DP upper layer's a2dp_get_connection() memset()s the session — including the queued work item's list node and flags — before those checks run, so k_work_busy_get() would observe an already-cleared state. 2bd5ea88c69b closes that by making a2dp_get_connection() itself skip the reuse and return NULL while the release work is still pending, which both callers already handle by rejecting the connection attempt. Apply both commits together; either one alone leaves the device vulnerable.

Analysis

AI-generated

Technical impact

A flaw in Zephyr’s Bluetooth Classic AVDTP layer defers the release of a session’s stream endpoints, causing a work item that is still queued on the system work queue to be corrupted when the session structure is reused for a new AVDTP signalling connection. The corruption modifies the list node and flags of the queued work item, which can either stop the work queue from processing any subsequent items or cause the queue thread to spin on a self‑referencing node. The attacker cannot influence written values, so the consequence is a device‑wide denial of service that requires a reboot. The vulnerability is triggered by deterministic reuse, not a race, and requires an encrypted (paired/bonded) AVDTP signalling channel.

Affected Systems

The issue affects Zephyr RTOS builds that enable Bluetooth Classic AVDTP support (CONFIG_BT_CLASSIC and CONFIG_BT_A2DP). Any device running Zephyr with these options potentially vulnerable will experience system‑wide DoS when an attacker reuses a session after a disconnection.

Risk and Exploitability

The CVSS score of 5.7 indicates moderate severity. EPSS data is not available and the vulnerability is not listed in CISA KEV, suggesting limited current exploitation activity. The attack vector is a remote Bluetooth Classic connection, where a paired device can send a crafted L2CAP signalling PDU containing a Disconnect Request followed by a Connection Request for PSM 0x0019. Because the reuse window is deterministic, an attacker can reliably trigger the flaw, but no privileged access or user interaction is required. Overall risk is moderate, with a clear path for exploitation but no direct destructive payload beyond device reboot.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Merge the security patches from commits 2bd5ea88c69b29e1de9903ef5 and ec822ceed83b5008d4a28700fdacf2ff80020963 into your Zephyr source tree and rebuild the firmware, ensuring both changes are present.
  • Deploy the updated firmware to all affected devices so that the AVDTP session reuse path is protected.
  • If rapid patch deployment is not possible, temporarily disable CONFIG_BT_CLASSIC or CONFIG_BT_A2DP in the Zephyr build configuration to remove the vulnerable code path.

Generated by OpenCVE AI on November 4, 2026 at 10:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Vendors & Products Zephyrproject
Zephyrproject zephyr
Type Values Removed Values Added
Description The Bluetooth Classic AVDTP layer defers releasing a session's stream endpoints: bt_avdtp_l2cap_disconnected() in subsys/bluetooth/host/classic/avdtp.c ends with k_work_submit(&session->_release_work), placing the embedded struct k_work on the system work queue's pending list. When the same struct bt_avdtp object is immediately reused for a new signalling connection, the session memory is re-initialized — a2dp_get_connection() in subsys/bluetooth/host/classic/a2dp.c memset()s the whole struct bt_a2dp, and bt_avdtp_l2cap_accept() / bt_avdtp_connect() call k_work_init() on session->_release_work — while that work item is still linked into k_sys_work_q.pending. Zeroing a linked sys_snode_t truncates the list while its tail pointer keeps pointing past the truncation. The reuse window is deterministic rather than a race. All host RX processing runs on the Bluetooth RX work queue at a cooperative priority (CONFIG_BT_RX_PRIO), while _release_work is submitted to the lower-priority system work queue, so the release handler cannot run until the RX thread blocks. Because l2cap_br_recv() processes every signalling command contained in a single L2CAP signalling PDU back-to-back, a peer can send one PDU holding an L2CAP Disconnection Request for the AVDTP signalling channel followed by a Connection Request for PSM 0x0019; the second command reaches the session-reuse path with the release work provably still queued. The peer must already hold an encrypted AVDTP signalling channel, i.e. be a paired/bonded BR/EDR device. The result is corruption of the global system work queue's pending list: either the queue silently stops executing any work at all (subsequent submissions are appended to a chain the head can no longer reach, and the orphaned items keep their K_WORK_QUEUED flag forever) or, in the tail variant, the list acquires a self-referencing node that the queue thread spins on. The written values are pointers to other struct k_work objects and are not attacker-controlled, so the impact is a device-wide, reboot-required denial of service rather than a controllable write primitive. Only builds with CONFIG_BT_CLASSIC and CONFIG_BT_A2DP are affected. The fix is a two-commit unit, and neither commit closes the path on its own. ec822ceed83b adds a pending-release check to bt_avdtp_connect() and bt_avdtp_l2cap_accept(), but the A2DP upper layer's a2dp_get_connection() memset()s the session — including the queued work item's list node and flags — before those checks run, so k_work_busy_get() would observe an already-cleared state. 2bd5ea88c69b closes that by making a2dp_get_connection() itself skip the reuse and return NULL while the release work is still pending, which both callers already handle by rejecting the connection attempt. Apply both commits together; either one alone leaves the device vulnerable.
Title Bluetooth Classic AVDTP session reuse re-initializes a queued work item, corrupting the system work queue
Weaknesses CWE-666
References
Metrics cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-666

    Operation on Resource in Wrong Phase of Lifetime

Sources

Status
PUBLISHED
Assigner
zephyr
Published
Updated
Nov 9, 2026, 9:28 PM
Reserved
Sep 2, 2026, 8:23 PM
Status
Awaiting Analysis
Published
Nov 4, 2026, 6:17 AM
Modified
Nov 9, 2026, 10:18 PM