{"id":"CVE-2026-85036","summary":"Bluetooth Classic AVDTP session reuse re-initializes a queued work item, corrupting the system work queue","details":"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-\u003e_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-\u003e_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.\n\nThe 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.\n\nThe 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.\n\nThe 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.","aliases":["GHSA-ffxg-752w-mv9x"],"modified":"2026-11-11T07:02:54.501707584Z","published":"2026-11-04T06:09:01.385Z","database_specific":{"cwe_ids":["CWE-666"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85036.json","cna_assigner":"zephyr"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85036.json"},{"type":"ADVISORY","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-ffxg-752w-mv9x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85036"},{"type":"FIX","url":"https://github.com/zephyrproject-rtos/zephyr/commit/2bd5ea88c69bdd94fc5a9e6757b29e1de9903ef5"},{"type":"FIX","url":"https://github.com/zephyrproject-rtos/zephyr/commit/ec822ceed83b5008d4a28700fdacf2ff80020963"},{"type":"PACKAGE","url":"https://github.com/zephyrproject-rtos/zephyr"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zephyrproject-rtos/zephyr","events":[{"introduced":"3568e1b6d5cdd51a6b964a2a1d6d29200fea2056"},{"fixed":"28af05ca658cbacf745fd5b099566311c58ccb1d"},{"introduced":"684c9e8f32e4373a21098559f748f06915f950c9"},{"fixed":"41d10b59730406bbab4ca9f1fbbe9e96aafb4966"},{"fixed":"ec822ceed83b5008d4a28700fdacf2ff80020963"},{"fixed":"2bd5ea88c69bdd94fc5a9e6757b29e1de9903ef5"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"4.3.0"},{"fixed":"4.3.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"StandardRange","range":[{"introduced":"4.4.0"},{"fixed":"4.5.0"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ec822ceed83b5008d4a28700fdacf2ff80020963"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"2bd5ea88c69bdd94fc5a9e6757b29e1de9903ef5"}]}]}}],"versions":["v4.3.1","v4.3.1-rc1","v4.4.0","v4.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85036.json","vanir_signatures":[{"target":{"function":"a2dp_get_connection","file":"subsys/bluetooth/host/classic/a2dp.c"},"deprecated":false,"digest":{"length":338,"function_hash":"290228126166827822837813984831227559115"},"id":"CVE-2026-85036-22beb40b","signature_type":"Function","signature_version":"v1","source":"https://github.com/zephyrproject-rtos/zephyr/commit/2bd5ea88c69bdd94fc5a9e6757b29e1de9903ef5"},{"source":"https://github.com/zephyrproject-rtos/zephyr/commit/2bd5ea88c69bdd94fc5a9e6757b29e1de9903ef5","target":{"file":"subsys/bluetooth/host/classic/a2dp.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["21874503296856590457226874688980534580","33569924953291221852215674980189503683","195603699627566397094928211126080131704","95736375137114829480606355660061320242"]},"id":"CVE-2026-85036-40a6859a","signature_type":"Line","signature_version":"v1"},{"id":"CVE-2026-85036-b9d0ebc4","signature_type":"Function","signature_version":"v1","source":"https://github.com/zephyrproject-rtos/zephyr/commit/ec822ceed83b5008d4a28700fdacf2ff80020963","target":{"file":"subsys/bluetooth/host/classic/avdtp.c","function":"bt_avdtp_l2cap_accept"},"deprecated":false,"digest":{"length":1106,"function_hash":"33153947868049984806096409011349854981"}},{"id":"CVE-2026-85036-bfbc38a3","signature_type":"Line","signature_version":"v1","source":"https://github.com/zephyrproject-rtos/zephyr/commit/ec822ceed83b5008d4a28700fdacf2ff80020963","target":{"file":"subsys/bluetooth/host/classic/avdtp.c"},"deprecated":false,"digest":{"line_hashes":["219832054667229482784554514904146487948","37129381036441778081107020373267377765","304850233205818900211939657096834257651","311699749655971318507961268157370075021","71399280060553067127417784909342406379","93068618149623795189827772799538615336","192585886835873872077414712430516826010"],"threshold":0.9}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/zephyrproject-rtos/zephyr/commit/ec822ceed83b5008d4a28700fdacf2ff80020963","target":{"file":"subsys/bluetooth/host/classic/avdtp.c","function":"bt_avdtp_connect"},"deprecated":false,"digest":{"function_hash":"164250496309679324233612937903588159781","length":722},"id":"CVE-2026-85036-c7f20caf"}],"vanir_signatures_modified":"2026-11-11T07:02:54Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}