{"id":33315,"date":"2026-10-06T20:31:44","date_gmt":"2026-10-06T12:31:44","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98246"},"modified":"2026-10-06T20:31:44","modified_gmt":"2026-10-06T12:31:44","slug":"cve-2026-98246","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98246","title":{"rendered":"CVE-2026-98246 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync:"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>Bluetooth: hci_sync: Serialize local codec list cleanup<\/p>\n<p>hci_dev_close_sync() clears hdev-&gt;local_codecs after releasing hdev-&gt;lock.<br \/>\nCodec list additions and both traversals in sco_sock_getsockopt() use that<br \/>\nlock, but the close path does not. A close and BT_CODEC query can therefore<br \/>\ninterleave as follows:<\/p>\n<p>  hci_dev_close_sync()          sco_sock_getsockopt()<br \/>\n                                hci_dev_lock()<br \/>\n                                fetch codec entry<br \/>\n  hci_codec_list_clear()<br \/>\n    kfree(entry)<br \/>\n                                read entry-&gt;id<\/p>\n<p>The reader then accesses an entry which the close path has freed. KASAN<\/p>\n<p>  BUG: KASAN: slab-use-after-free in sco_sock_getsockopt+0xfa0\/0xfe0<br \/>\n  Read of size 1 at addr ffff8881001c3450<br \/>\n  Call Trace:<br \/>\n   sco_sock_getsockopt+0xfa0\/0xfe0<br \/>\n   do_sock_getsockopt+0x537\/0x7b0<br \/>\n   __sys_getsockopt+0xf2\/0x170<br \/>\n  Allocated by task 92:<br \/>\n   hci_codec_list_add.isra.0+0x2c\/0x440<br \/>\n   hci_read_codec_capabilities+0x224\/0x590<br \/>\n   hci_read_supported_codecs+0x2c2\/0x640<br \/>\n  Freed by task 92:<br \/>\n   kfree+0x131\/0x3c0<br \/>\n   hci_codec_list_clear+0xd8\/0x160<br \/>\n   hci_dev_close_sync+0x92a\/0xfa0<\/p>\n<p>Take hdev-&gt;lock around the clear operation at its existing point in the<br \/>\nclose path. This makes the clear wait for active readers and prevents a new<br \/>\ntraversal until the list is empty without changing teardown ordering.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>Bluetooth: hci_sync: Serialize local codec list cleanup<\/p>\n<p>hci_dev_close_sync() clears hdev-&gt;local_codecs after releasing hdev-&gt;lock.<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33315","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33315","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=33315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}