Bluetooth: hci3: hardware error 0x00 ================================================================== BUG: KASAN: slab-use-after-free in __raw_spin_lock_bh include/linux/spinlock_api_smp.h:150 [inline] BUG: KASAN: slab-use-after-free in _raw_spin_lock_bh+0x48/0x60 kernel/locking/spinlock.c:182 Read of size 1 at addr ffff0000d661d5a0 by task kworker/u9:4/4722 CPU: 0 UID: 0 PID: 4722 Comm: kworker/u9:4 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 Workqueue: hci3 hci_error_reset Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 print_address_description+0xb0/0x238 mm/kasan/report.c:378 print_report+0x68/0x84 mm/kasan/report.c:482 kasan_report+0x8c/0xc4 mm/kasan/report.c:595 __kasan_check_byte+0x3c/0x54 mm/kasan/common.c:574 kasan_check_byte include/linux/kasan.h:402 [inline] lock_acquire+0xa4/0x364 kernel/locking/lockdep.c:5842 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_lock_bh+0x48/0x60 kernel/locking/spinlock.c:182 spin_lock_bh include/linux/spinlock.h:348 [inline] bt_accept_unlink+0x5c/0x28c net/bluetooth/af_bluetooth.c:262 l2cap_sock_teardown_cb+0x148/0x38c net/bluetooth/l2cap_sock.c:1710 l2cap_chan_del+0x9c/0x4bc net/bluetooth/l2cap_core.c:687 l2cap_conn_del+0x288/0x408 net/bluetooth/l2cap_core.c:1825 l2cap_disconn_cfm+0x90/0x100 net/bluetooth/l2cap_core.c:7601 hci_disconn_cfm include/net/bluetooth/hci_core.h:2154 [inline] hci_conn_hash_flush+0x108/0x238 net/bluetooth/hci_conn.c:2735 hci_dev_close_sync+0x5e0/0xe38 net/bluetooth/hci_sync.c:5513 hci_dev_do_close+0x34/0xbc net/bluetooth/hci_core.c:499 hci_error_reset+0xe8/0x320 net/bluetooth/hci_core.c:995 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3405 worker_thread+0x798/0xbd0 kernel/workqueue.c:3486 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:838 Allocated by task 7167: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_alloc_info+0x44/0x54 mm/kasan/generic.c:570 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x9c/0xb4 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5334 [inline] __kmalloc_node_track_caller_noprof+0x434/0x6d4 mm/slub.c:5471 kmalloc_reserve+0x118/0x214 net/core/skbuff.c:637 pskb_expand_head+0x158/0xd4c net/core/skbuff.c:2312 netlink_trim+0x190/0x2b8 net/netlink/af_netlink.c:1300 netlink_broadcast_filtered+0x7c/0xd58 net/netlink/af_netlink.c:1518 nlmsg_multicast_filtered include/net/netlink.h:1165 [inline] nlmsg_multicast include/net/netlink.h:1184 [inline] nlmsg_notify+0xf8/0x1dc net/netlink/af_netlink.c:2599 rtnl_notify net/core/rtnetlink.c:963 [inline] rtmsg_ifinfo_send+0xb8/0xec net/core/rtnetlink.c:4553 rtmsg_ifinfo_event+0xd4/0x114 net/core/rtnetlink.c:4569 rtmsg_ifinfo+0x60/0x7c net/core/rtnetlink.c:4575 __dev_notify_flags+0xe8/0x27c net/core/dev.c:9795 netif_change_flags+0xd0/0x15c net/core/dev.c:9828 do_setlink+0xc28/0x31e8 net/core/rtnetlink.c:3215 rtnl_changelink net/core/rtnetlink.c:3849 [inline] __rtnl_newlink net/core/rtnetlink.c:4022 [inline] rtnl_newlink+0xd24/0x1144 net/core/rtnetlink.c:4159 rtnetlink_rcv_msg+0x66c/0x9bc net/core/rtnetlink.c:7076 netlink_rcv_skb+0x238/0x414 net/netlink/af_netlink.c:2556 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:7103 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x600/0x7f8 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x648/0x948 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg+0xc8/0x17c net/socket.c:790 __sys_sendto+0x250/0x328 net/socket.c:2252 __do_sys_sendto net/socket.c:2259 [inline] __se_sys_sendto net/socket.c:2255 [inline] __arm64_sys_sendto+0xec/0x10c net/socket.c:2255 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:738 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:757 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:590 Freed by task 7167: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_free_info+0x58/0x70 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x74/0xa4 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2677 [inline] slab_free mm/slub.c:6377 [inline] kfree+0x188/0x690 mm/slub.c:6692 skb_kfree_head net/core/skbuff.c:1083 [inline] skb_free_head+0x70/0x120 net/core/skbuff.c:1095 skb_release_data+0x6f4/0x8b4 net/core/skbuff.c:1122 skb_release_all+0x60/0x7c net/core/skbuff.c:1197 __kfree_skb net/core/skbuff.c:1211 [inline] consume_skb+0x80/0xf4 net/core/skbuff.c:1445 netlink_broadcast_filtered+0xc00/0xd58 net/netlink/af_netlink.c:1541 nlmsg_multicast_filtered include/net/netlink.h:1165 [inline] nlmsg_multicast include/net/netlink.h:1184 [inline] nlmsg_notify+0xf8/0x1dc net/netlink/af_netlink.c:2599 rtnl_notify net/core/rtnetlink.c:963 [inline] rtmsg_ifinfo_send+0xb8/0xec net/core/rtnetlink.c:4553 rtmsg_ifinfo_event+0xd4/0x114 net/core/rtnetlink.c:4569 rtmsg_ifinfo+0x60/0x7c net/core/rtnetlink.c:4575 __dev_notify_flags+0xe8/0x27c net/core/dev.c:9795 netif_change_flags+0xd0/0x15c net/core/dev.c:9828 do_setlink+0xc28/0x31e8 net/core/rtnetlink.c:3215 rtnl_changelink net/core/rtnetlink.c:3849 [inline] __rtnl_newlink net/core/rtnetlink.c:4022 [inline] rtnl_newlink+0xd24/0x1144 net/core/rtnetlink.c:4159 rtnetlink_rcv_msg+0x66c/0x9bc net/core/rtnetlink.c:7076 netlink_rcv_skb+0x238/0x414 net/netlink/af_netlink.c:2556 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:7103 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x600/0x7f8 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x648/0x948 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg+0xc8/0x17c net/socket.c:790 __sys_sendto+0x250/0x328 net/socket.c:2252 __do_sys_sendto net/socket.c:2259 [inline] __se_sys_sendto net/socket.c:2255 [inline] __arm64_sys_sendto+0xec/0x10c net/socket.c:2255 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:738 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:757 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:590 The buggy address belongs to the object at ffff0000d661d000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 1440 bytes inside of freed 2048-byte region [ffff0000d661d000, ffff0000d661d800) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff0000d661a000 pfn:0x116618 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x5ffc00000000240(workingset|head|node=0|zone=2|lastcpupid=0x7ff) page_type: f5(slab) raw: 05ffc00000000240 ffff0000c0002000 fffffdffc315a210 fffffdffc35b7410 raw: ffff0000d661a000 0000000800080007 00000000f5000000 0000000000000000 head: 05ffc00000000240 ffff0000c0002000 fffffdffc315a210 fffffdffc35b7410 head: ffff0000d661a000 0000000800080007 00000000f5000000 0000000000000000 head: 05ffc00000000003 fffffdffc3598601 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d661d480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000d661d500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff0000d661d580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000d661d600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000d661d680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== slab kmalloc-2k start ffff0000d661d000 pointer offset 1400 size 2048 list_del corruption. prev->next should be ffff0000d73ed578, but was 0000000000000000. (prev=ffff0000d661d578) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:64! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 4722 Comm: kworker/u9:4 Tainted: G B syzkaller #0 PREEMPT Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 Workqueue: hci3 hci_error_reset pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : __list_del_entry_valid_or_report+0x180/0x1b8 lib/list_debug.c:62 lr : __list_del_entry_valid_or_report+0x180/0x1b8 lib/list_debug.c:62 sp : ffff800092a077d0 x29: ffff800092a077d0 x28: ffff0000cbd8ca88 x27: ffff0000cbd8ca88 x26: ffff0000d73e800c x25: ffff0000d73ed19c x24: ffff0000d73ed578 x23: 1fffe0001acc3aaf x22: dfff800000000000 x21: ffff0000d661d578 x20: ffff0000d661d578 x19: ffff0000d73ed578 x18: 00000000ffffffff x17: 20747562202c3837 x16: 3564653337643030 x15: 3030666666662065 x14: 6220646c756f6873 x13: 0000000000000001 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000202 x9 : 702884a0a9d8f900 x8 : 702884a0a9d8f900 x7 : 0000000000000000 x6 : ffff80008048e8f8 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800080499634 x2 : 0000000000000201 x1 : ffff0000d27e1d40 x0 : 000000000000006d Call trace: __list_del_entry_valid_or_report+0x180/0x1b8 lib/list_debug.c:62 (P) __list_del_entry_valid include/linux/list.h:132 [inline] __list_del_entry include/linux/list.h:246 [inline] list_del_init include/linux/list.h:318 [inline] bt_accept_unlink+0x68/0x28c net/bluetooth/af_bluetooth.c:263 l2cap_sock_teardown_cb+0x148/0x38c net/bluetooth/l2cap_sock.c:1710 l2cap_chan_del+0x9c/0x4bc net/bluetooth/l2cap_core.c:687 l2cap_conn_del+0x288/0x408 net/bluetooth/l2cap_core.c:1825 l2cap_disconn_cfm+0x90/0x100 net/bluetooth/l2cap_core.c:7601 hci_disconn_cfm include/net/bluetooth/hci_core.h:2154 [inline] hci_conn_hash_flush+0x108/0x238 net/bluetooth/hci_conn.c:2735 hci_dev_close_sync+0x5e0/0xe38 net/bluetooth/hci_sync.c:5513 hci_dev_do_close+0x34/0xbc net/bluetooth/hci_core.c:499 hci_error_reset+0xe8/0x320 net/bluetooth/hci_core.c:995 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3405 worker_thread+0x798/0xbd0 kernel/workqueue.c:3486 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:838 Code: 91308000 aa1303e1 aa1503e3 979c1dd7 (d4210000) ---[ end trace 0000000000000000 ]---