{"id":6963,"date":"2026-09-04T18:49:22","date_gmt":"2026-09-04T10:49:22","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72335"},"modified":"2026-09-04T18:49:22","modified_gmt":"2026-09-04T10:49:22","slug":"cve-2026-72335","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72335","title":{"rendered":"CVE-2026-72335 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Fix"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>Bluetooth: MGMT: Fix adv monitor add failure cleanup<\/p>\n<p>hci_add_adv_monitor() publishes a new adv_monitor in<br \/>\nhdev-&gt;adv_monitors_idr before the powered MSFT setup step. The MSFT<br \/>\noffload add path can then fail either locally before the controller add<br \/>\ncommand completes, or in the MSFT add callback. In the current queued<br \/>\nmanagement add flow, hci_cmd_sync_work() still invokes<br \/>\nmgmt_add_adv_patterns_monitor_complete() with the original pending command<br \/>\nafter msft_add_monitor_pattern() returns.<\/p>\n<p>The buggy scenario involves two paths, with each column showing the order<br \/>\nwithin that path:<\/p>\n<p>MSFT add handling                  MGMT completion<br \/>\n1. insert monitor and handle       1. receive sync error<br \/>\n2. send MSFT add command           2. call add-monitor completion<br \/>\n3. callback sees bad response      3. load cmd-&gt;user_data<br \/>\n4. callback frees monitor          4. read monitor-&gt;handle<\/p>\n<p>Local MSFT setup failures have the other half of the same ownership bug:<br \/>\nthey return an error after the IDR insertion, but no later code removes the<br \/>\nfailed monitor from the IDR.<\/p>\n<p>Keep ownership with the pending management command until its completion.<br \/>\nFor normal management adds, the MSFT add callback now records successful<br \/>\ncontroller state and returns errors to its caller. The management<br \/>\ncompletion frees the monitor on non-success after copying the response<br \/>\nhandle, while resume\/reregister callback-error cleanup remains in the<br \/>\nMSFT callback. The success path keeps the existing bookkeeping.<\/p>\n<p>Validation reproduced this kernel report:<br \/>\nBUG: KASAN: slab-use-after-free in mgmt_add_adv_patterns_monitor_complete+0xfb\/0x260 [bluetooth]<\/p>\n<p>Call Trace:<\/p>\n<p> dump_stack_lvl+0x66\/0xa0<br \/>\n print_report+0xce\/0x5f0<br \/>\n ? mgmt_add_adv_patterns_monitor_complete+0xfb\/0x260 [bluetooth]<br \/>\n ? srso_alias_return_thunk+0x5\/0xfbef5<br \/>\n ? __virt_addr_valid+0x19f\/0x330<br \/>\n ? mgmt_add_adv_patterns_monitor_complete+0xfb\/0x260 [bluetooth]<br \/>\n kasan_report+0xe0\/0x110<br \/>\n ? mgmt_add_adv_patterns_monitor_complete+0xfb\/0x260 [bluetooth]<br \/>\n mgmt_add_adv_patterns_monitor_complete+0xfb\/0x260 [bluetooth]<br \/>\n ? srso_alias_return_thunk+0x5\/0xfbef5<br \/>\n ? 0xffffffffc00d00da<br \/>\n ? __pfx_mgmt_add_adv_patterns_monitor_complete+0x10\/0x10 [bluetooth]<br \/>\n ? __pfx_mgmt_add_adv_patterns_monitor_complete+0x10\/0x10 [bluetooth]<br \/>\n ? hci_cmd_sync_work+0x1ab\/0x210 [bluetooth]<br \/>\n hci_cmd_sync_work+0x1c0\/0x210 [bluetooth]<br \/>\n ? __pfx_mgmt_add_adv_patterns_monitor_complete+0x10\/0x10 [bluetooth]<br \/>\n process_one_work+0x4fd\/0xbc0<br \/>\n ? __pfx_process_one_work+0x10\/0x10<br \/>\n ? srso_alias_return_thunk+0x5\/0xfbef5<br \/>\n ? srso_alias_return_thunk+0x5\/0xfbef5<br \/>\n ? __list_add_valid_or_report+0x37\/0xf0<br \/>\n ? __pfx_hci_cmd_sync_work+0x10\/0x10 [bluetooth]<br \/>\n ? srso_alias_return_thunk+0x5\/0xfbef5<br \/>\n worker_thread+0x2d8\/0x570<br \/>\n ? __pfx_worker_thread+0x10\/0x10<br \/>\n kthread+0x1ad\/0x1f0<br \/>\n ? __pfx_kthread+0x10\/0x10<br \/>\n ret_from_fork+0x3c9\/0x540<br \/>\n ? __pfx_ret_from_fork+0x10\/0x10<br \/>\n ? srso_alias_return_thunk+0x5\/0xfbef5<br \/>\n ? __switch_to+0x2e9\/0x730<br \/>\n ? __pfx_kthread+0x10\/0x10<br \/>\n ret_from_fork_asm+0x1a\/0x30<\/p>\n<p>Allocated by task 471 on cpu 3 at 285.205389s:<br \/>\n kasan_save_stack+0x33\/0x60<br \/>\n kasan_save_track+0x17\/0x60<br \/>\n __kasan_kmalloc+0xaa\/0xb0<br \/>\n add_adv_patterns_monitor_rssi+0xd5\/0x230 [bluetooth]<br \/>\n hci_sock_sendmsg+0x96b\/0xf80 [bluetooth]<br \/>\n __sys_sendto+0x2bc\/0x2d0<br \/>\n __x64_sys_sendto+0x76\/0x90<br \/>\n do_syscall_64+0x115\/0x6a0<br \/>\n entry_SYSCALL_64_after_hwframe+0x77\/0x7f<\/p>\n<p>Freed by task 454 on cpu 2 at 285.217112s:<br \/>\n kasan_save_stack+0x33\/0x60<br \/>\n kasan_save_track+0x17\/0x60<br \/>\n kasan_save_free_info+0x3b\/0x60<br \/>\n __kasan_slab_free+0x5f\/0x80<br \/>\n kfree+0x313\/0x590<br \/>\n msft_add_monitor_sync+0x54a\/0x570 [bluetooth]<br \/>\n hci_add_adv_monitor+0x133\/0x180 [bluetooth]<br \/>\n hci_cmd_sync_work+0x187\/0x210 [bluetooth]<br \/>\n process_one_work+0x4fd\/0xbc0<br \/>\n worker_thread+0x2d8\/0x570<br \/>\n kthread+0x1ad\/0x1f0<br \/>\n ret_from_fork+0x3c9\/0x540<br \/>\n ret_from_fork_asm+0x1a\/0x30<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>Bluetooth: MGMT: Fix adv monitor add failure cleanup<\/p>\n<p>hci_add_adv_monitor() publishes a new adv_monitor in<br \/>\nhdev-&gt;adv_monitors_idr b<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-6963","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6963","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=6963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}