The AVDTP signalling layer arms a 6-second command timeout (AVDTP_TIMEOUT) in avdtp_send_cmd() whenever the local device issues an AVDTP request. Every response handler in subsys/bluetooth/host/classic/avdtp.c cancels session->timeout_work before clearing the pending request, but bt_avdtp_l2cap_disconnected() only cleared session->req and left the delayable work armed. The struct bt_avdtp session is the first member of struct bt_a2dp, whose instances live in a static per-connection array, and a2dp_get_connection() in subsys/bluetooth/host/classic/a2dp.c wipes a slot with memset() as soon as session->br_chan.chan.conn is NULL — which the L2CAP layer arranges immediately after the disconnect callback returns.
A remote Bluetooth BR/EDR peer triggers the condition by opening the AVDTP signalling channel, letting the local application issue an AVDTP procedure (the standard A2DP flow issues bt_a2dp_discover() from the connected callback), then tearing the signalling channel down without responding and re-opening it within the remaining timeout window. The reconnect reaches a2dp_accept() → a2dp_get_connection(), which zeroes the whole struct bt_a2dp while the work item's struct _timeout is still linked into the kernel's global timeout list. Both the disconnect and the reconnect instants are chosen by the attacker, so no race has to be won; an encrypted BR/EDR link is required, and CONFIG_BT_A2DP (experimental) must be enabled.
With the default CONFIG_TIMEOUT_BACKEND_DLIST backend the kernel decides a timeout is inactive by testing whether its list node is linked, so after the memset() the kernel treats a node that is still on the global timeout list as free: the announce path pops a node whose links and handler pointer are NULL, and the next bt_work_reschedule() on the recycled session re-inserts the same node into a list that already contains it. The consequence is corruption of the single kernel data structure every timer, timeslice and sleep depends on — writes through zeroed or stale list pointers and a NULL handler dispatch — producing a system-wide crash or hang rather than a fault confined to the A2DP session.
The fix cancels session->timeout_work at the top of bt_avdtp_l2cap_disconnected() and moves k_work_init_delayable() from avdtp_send_cmd() to the session-establishment paths bt_avdtp_connect() and bt_avdtp_l2cap_accept(), so the work item is always initialized before a disconnect callback can run.
{
"cna_assigner": "zephyr",
"cwe_ids": [
"CWE-825"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/19xxx/CVE-2026-19939.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "3.7.0"
},
{
"last_affected": "4.4.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "a10d18c3be9d1a968574dbfbce6baee58ea398e8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-19939.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"53327313143542375614348692472824367086",
"333226340129324110175486935851746042003",
"246643506784831102110660521175055485752",
"250637542500846428895009439181282089002",
"1120705005091098797879628681444797815",
"222355992442420170907890591254113599043",
"6495464141347015682393477649351850602",
"321104847371145275458294307238779765378",
"159234516272387597500385166348350544742",
"333154651985546581082268627231511988022",
"257131639907771141871920732118224784605",
"321104847371145275458294307238779765378",
"318033716822654991513649530898546951640",
"327410013195611375863370638458645390890",
"152474098166295703042657667633714336996"
],
"threshold": 0.9
},
"id": "CVE-2026-19939-0da5c580",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/a10d18c3be9d1a968574dbfbce6baee58ea398e8",
"target": {
"file": "subsys/bluetooth/host/classic/avdtp.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "310100042651456645232784917897129287152",
"length": 688
},
"id": "CVE-2026-19939-15b03a80",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/a10d18c3be9d1a968574dbfbce6baee58ea398e8",
"target": {
"file": "subsys/bluetooth/host/classic/avdtp.c",
"function": "avdtp_send_cmd"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "97027421662818622996161321168738787724",
"length": 667
},
"id": "CVE-2026-19939-4fbf0a37",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/a10d18c3be9d1a968574dbfbce6baee58ea398e8",
"target": {
"file": "subsys/bluetooth/host/classic/avdtp.c",
"function": "bt_avdtp_connect"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "277253898446261553366138400897259436571",
"length": 490
},
"id": "CVE-2026-19939-8349d201",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/a10d18c3be9d1a968574dbfbce6baee58ea398e8",
"target": {
"file": "subsys/bluetooth/host/classic/avdtp.c",
"function": "bt_avdtp_l2cap_disconnected"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "122174461206366336305815908694842832119",
"length": 1053
},
"id": "CVE-2026-19939-cae4d688",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/a10d18c3be9d1a968574dbfbce6baee58ea398e8",
"target": {
"file": "subsys/bluetooth/host/classic/avdtp.c",
"function": "bt_avdtp_l2cap_accept"
}
}
]
"2026-10-28T11:09:34Z"