Bluetooth: hci3: unexpected cc 0x0c03 length: 249 > 1 Bluetooth: hci5: unexpected cc 0x0c23 length: 249 > 4 Bluetooth: hci4: unexpected cc 0x1001 length: 249 > 9 ================================================================== BUG: KASAN: slab-use-after-free in hci_cmd_work+0x66d/0x6d0 Read of size 2 at addr ffff8880172afa38 by task kworker/u11:2/291 CPU: 1 UID: 0 PID: 291 Comm: kworker/u11:2 Not tainted 6.18.0-rc5-next-20251114 #1 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Workqueue: hci4 hci_cmd_work Call Trace: dump_stack_lvl+0xca/0x120 print_report+0xcb/0x610 kasan_report+0xca/0x100 hci_cmd_work+0x66d/0x6d0 process_one_work+0x8e1/0x19c0 worker_thread+0x67e/0xe90 kthread+0x3c8/0x740 ret_from_fork+0x67a/0x7a0 ret_from_fork_asm+0x1a/0x30 Allocated by task 289: kasan_save_stack+0x24/0x50 kasan_save_track+0x14/0x30 __kasan_slab_alloc+0x59/0x70 kmem_cache_alloc_node_noprof+0x228/0x6b0 __alloc_skb+0x2ab/0x370 hci_cmd_sync_alloc+0x34/0x300 __hci_cmd_sync_sk+0xf7/0x5c0 hci_read_buffer_size_sync+0x2c/0x170 hci_dev_open_sync+0x1874/0x1f60 hci_power_on+0xdb/0x5d0 process_one_work+0x8e1/0x19c0 worker_thread+0x67e/0xe90 kthread+0x3c8/0x740 ret_from_fork+0x67a/0x7a0 ret_from_fork_asm+0x1a/0x30 Freed by task 306: kasan_save_stack+0x24/0x50 kasan_save_track+0x14/0x30 kasan_save_free_info+0x3a/0x60 __kasan_slab_free+0x43/0x70 kmem_cache_free+0x26f/0x500 kfree_skbmem+0x18a/0x1f0 sk_skb_reason_drop+0x10e/0x1b0 vhci_read+0x3d5/0x5d0 vfs_read+0x1eb/0xc70 ksys_read+0x121/0x240 do_syscall_64+0xbf/0x430 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff8880172afa00 which belongs to the cache skbuff_head_cache of size 232 The buggy address is located 56 bytes inside of freed 232-byte region [ffff8880172afa00, ffff8880172afae8) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x172af memcg:ffff88800a16b901 flags: 0x100000000000000(node=0|zone=1) page_type: f5(slab) raw: 0100000000000000 ffff8880096c78c0 ffffea00007e1040 dead000000000004 raw: 0000000000000000 00000000800c000c 00000000f5000000 ffff88800a16b901 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880172af900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880172af980: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc >ffff8880172afa00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880172afa80: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc ffff8880172afb00: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ================================================================== Bluetooth: hci3: unexpected cc 0x1003 length: 249 > 9 Bluetooth: hci6: unexpected cc 0x0c03 length: 249 > 1 Bluetooth: hci6: unexpected cc 0x1003 length: 249 > 9 Bluetooth: hci7: unexpected cc 0x0c03 length: 249 > 1 Bluetooth: hci6: unexpected cc 0x1001 length: 249 > 9 Bluetooth: hci7: unexpected cc 0x1003 length: 249 > 9 Bluetooth: hci7: unexpected cc 0x1001 length: 249 > 9 Bluetooth: hci5: unexpected cc 0x0c38 length: 249 > 2 Bluetooth: hci4: unexpected cc 0x0c23 length: 249 > 4 Bluetooth: hci3: unexpected cc 0x1001 length: 249 > 9 Bluetooth: hci6: unexpected cc 0x0c23 length: 249 > 4 Bluetooth: hci7: unexpected cc 0x0c23 length: 249 > 4 Bluetooth: hci6: unexpected cc 0x0c38 length: 249 > 2 Bluetooth: hci4: unexpected cc 0x0c38 length: 249 > 2 Bluetooth: hci3: unexpected cc 0x0c23 length: 249 > 4 Bluetooth: hci3: unexpected cc 0x0c38 length: 249 > 2 Bluetooth: hci7: unexpected cc 0x0c38 length: 249 > 2 Bluetooth: hci0: command tx timeout Bluetooth: hci1: command tx timeout Bluetooth: hci2: command tx timeout Bluetooth: hci5: command tx timeout Bluetooth: hci3: command tx timeout Bluetooth: hci4: command tx timeout Bluetooth: hci7: command tx timeout Bluetooth: hci6: command tx timeout Bluetooth: hci0: command tx timeout Bluetooth: hci1: command tx timeout Bluetooth: hci2: command tx timeout Bluetooth: hci5: command tx timeout Bluetooth: hci6: command tx timeout Bluetooth: hci7: command tx timeout Bluetooth: hci3: command tx timeout Bluetooth: hci4: command tx timeout Bluetooth: hci0: command tx timeout Bluetooth: hci1: command tx timeout Bluetooth: hci2: command tx timeout Bluetooth: hci5: command tx timeout Bluetooth: hci6: command tx timeout Bluetooth: hci3: command tx timeout Bluetooth: hci4: command tx timeout Bluetooth: hci7: command tx timeout Bluetooth: hci0: command tx timeout Bluetooth: hci1: command tx timeout Bluetooth: hci2: command tx timeout Bluetooth: hci5: command tx timeout Bluetooth: hci3: command tx timeout Bluetooth: hci6: command tx timeout Bluetooth: hci4: command tx timeout Bluetooth: hci7: command tx timeout