{"id":37045,"date":"2026-10-14T04:33:30","date_gmt":"2026-10-13T20:33:30","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-19940"},"modified":"2026-10-14T04:33:30","modified_gmt":"2026-10-13T20:33:30","slug":"cve-2026-19940","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-19940","title":{"rendered":"CVE-2026-19940 [MEDIUM] &#8211; The Bluetooth Classic Hands-Free Profile Audio Gateway implementation in subsys\/bluetooth\/"},"content":{"rendered":"<p>The Bluetooth Classic Hands-Free Profile Audio Gateway implementation in subsys\/bluetooth\/host\/classic\/hfp_ag.c keeps its struct bt_hfp_ag objects in a static pool indexed by ACL connection index. On link teardown, hfp_ag_disconnected() cancels ag-&gt;tx_work and the per-call work items and then clears ag-&gt;acl_conn, which marks the pool slot as free \u2014 but it leaves ag-&gt;ongoing_call_work (and ag-&gt;slc_work) untouched. The next connection that lands on the same slot enters hfp_ag_create(), whose only occupancy test is ag-&gt;acl_conn, and immediately executes memset(ag, 0, sizeof(struct bt_hfp_ag)) followed by k_work_init_delayable(). Zeroing and re-initialising a k_work_delayable whose struct _timeout node is still linked into the kernel timeout list leaves the kernel holding a reference to a node with NULL prev\/next links.<\/p>\n<p>ag-&gt;ongoing_call_work is armed by the remote peer: when a Hands-Free unit sends AT+CIND? during Service Level Connection establishment and the application provides the asynchronous get_ongoing_call callback, the AG schedules the work for CONFIG_BT_HFP_AG_GET_ONGOING_CALL_TIMEOUT milliseconds (default 10000). The timer is cancelled only if the application answers in time via bt_hfp_ag_ongoing_calls(). A peer that sends AT+CIND?, then disconnects the HFP RFCOMM DLC, then immediately re-opens it on the same ACL link, reuses the same pool slot deterministically while the timeout is still pending \u2014 the AG&#8217;s RFCOMM server accept path (hfp_ag_accept()) calls hfp_ag_create() directly, so the remote side drives both teardown and re-creation.<\/p>\n<p>The result is corruption of the kernel&#8217;s timeout list: sys_dlist_remove() on the zeroed node performs writes through NULL pointers from the clock-announce path, and rescheduling the re-initialised work re-inserts a node the list already references, creating a cycle that the announce loop walks with interrupts locked. The observable impact is a fault or hang of the whole system, i.e. a denial of service reachable from Bluetooth radio range; no attacker-controlled data is written, so this does not by itself yield code execution. Exposure is limited to builds with CONFIG_BT_HFP_AG (marked experimental and disabled by default) whose application implements the asynchronous get_ongoing_call callback.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Bluetooth Classic Hands-Free Profile Audio Gateway implementation in subsys\/bluetooth\/host\/classic\/hfp_ag.c keeps its struct bt_hfp_ag objects in a static pool indexed by ACL connection index. On <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-37045","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/37045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=37045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=37045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}