Bluetooth: hci0: Opcode 0x0c1a failed: -4 Bluetooth: hci0: Error when powering off device on rfkill (-4) Bluetooth: hci5: Opcode 0x0c1a failed: -4 Bluetooth: hci5: Error when powering off device on rfkill (-4) ================================================================== BUG: KASAN: slab-use-after-free in __list_del_entry_valid_or_report+0x92/0x190 lib/list_debug.c:62 Read of size 8 at addr ffff88805baae780 by task syz.7.1688/12289 CPU: 1 UID: 0 PID: 12289 Comm: syz.7.1688 Tainted: G L syzkaller #0 PREEMPT_{RT,(full)} Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xba/0x230 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 __list_del_entry_valid_or_report+0x92/0x190 lib/list_debug.c:62 __list_del_entry_valid include/linux/list.h:132 [inline] __list_del_entry include/linux/list.h:223 [inline] list_del_init include/linux/list.h:295 [inline] bt_accept_unlink+0x39/0x260 net/bluetooth/af_bluetooth.c:259 l2cap_sock_teardown_cb+0x17e/0x490 net/bluetooth/l2cap_sock.c:1640 l2cap_chan_del+0xb5/0x610 net/bluetooth/l2cap_core.c:656 l2cap_conn_del+0x33d/0x570 net/bluetooth/l2cap_core.c:1802 hci_disconn_cfm include/net/bluetooth/hci_core.h:2154 [inline] hci_conn_hash_flush+0x10d/0x260 net/bluetooth/hci_conn.c:2644 hci_dev_close_sync+0x821/0x10e0 net/bluetooth/hci_sync.c:5358 hci_dev_do_close+0x30/0xc0 net/bluetooth/hci_core.c:502 hci_rfkill_set_block+0x1f4/0x290 net/bluetooth/hci_core.c:930 rfkill_set_block+0x1e5/0x450 net/rfkill/core.c:346 rfkill_fop_write+0x464/0x5a0 net/rfkill/core.c:1301 vfs_write+0x2a3/0xba0 fs/read_write.c:686 ksys_write+0x156/0x270 fs/read_write.c:740 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9ce0c8c799 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9cdeede028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9ce0f05fa0 RCX: 00007f9ce0c8c799 RDX: 0000000000000008 RSI: 0000200000000300 RDI: 0000000000000003 RBP: 00007f9ce0d22c99 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9ce0f06038 R14: 00007f9ce0f05fa0 R15: 00007ffc12e3ab58 Allocated by task 12076: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5260 [inline] __kmalloc_node_track_caller_noprof+0x372/0x7e0 mm/slub.c:5368 kmalloc_reserve net/core/skbuff.c:635 [inline] pskb_expand_head+0x228/0x1320 net/core/skbuff.c:2315 netlink_trim+0x1b3/0x2c0 net/netlink/af_netlink.c:1299 netlink_broadcast_filtered+0xd6/0x1010 net/netlink/af_netlink.c:1512 nlmsg_multicast_filtered include/net/netlink.h:1165 [inline] nlmsg_multicast include/net/netlink.h:1184 [inline] nlmsg_notify+0xf0/0x1a0 net/netlink/af_netlink.c:2593 __dev_notify_flags+0xf2/0x310 net/core/dev.c:9811 netif_change_flags+0xe8/0x1a0 net/core/dev.c:9844 do_setlink+0xf82/0x4590 net/core/rtnetlink.c:3180 rtnl_changelink net/core/rtnetlink.c:3798 [inline] __rtnl_newlink net/core/rtnetlink.c:3957 [inline] rtnl_newlink+0x15a9/0x1be0 net/core/rtnetlink.c:4094 rtnetlink_rcv_msg+0x7d5/0xbe0 net/core/rtnetlink.c:6980 netlink_rcv_skb+0x232/0x4b0 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x831/0x9f0 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] __sys_sendto+0x67f/0x710 net/socket.c:2206 __do_sys_sendto net/socket.c:2213 [inline] __se_sys_sendto net/socket.c:2209 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2209 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 12076: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2685 [inline] slab_free mm/slub.c:6165 [inline] kfree+0x1c1/0x6c0 mm/slub.c:6483 skb_kfree_head net/core/skbuff.c:1089 [inline] skb_free_head net/core/skbuff.c:1101 [inline] skb_release_data+0x6f0/0x940 net/core/skbuff.c:1128 skb_release_all net/core/skbuff.c:1203 [inline] __kfree_skb+0x5d/0x210 net/core/skbuff.c:1217 netlink_broadcast_filtered+0xede/0x1010 net/netlink/af_netlink.c:1535 nlmsg_multicast_filtered include/net/netlink.h:1165 [inline] nlmsg_multicast include/net/netlink.h:1184 [inline] nlmsg_notify+0xf0/0x1a0 net/netlink/af_netlink.c:2593 __dev_notify_flags+0xf2/0x310 net/core/dev.c:9811 netif_change_flags+0xe8/0x1a0 net/core/dev.c:9844 do_setlink+0xf82/0x4590 net/core/rtnetlink.c:3180 rtnl_changelink net/core/rtnetlink.c:3798 [inline] __rtnl_newlink net/core/rtnetlink.c:3957 [inline] rtnl_newlink+0x15a9/0x1be0 net/core/rtnetlink.c:4094 rtnetlink_rcv_msg+0x7d5/0xbe0 net/core/rtnetlink.c:6980 netlink_rcv_skb+0x232/0x4b0 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x831/0x9f0 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] __sys_sendto+0x67f/0x710 net/socket.c:2206 __do_sys_sendto net/socket.c:2213 [inline] __se_sys_sendto net/socket.c:2209 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2209 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88805baae000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 1920 bytes inside of freed 2048-byte region [ffff88805baae000, ffff88805baae800) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805baac000 pfn:0x5baa8 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x80000000000240(workingset|head|node=0|zone=1) page_type: f5(slab) raw: 0080000000000240 ffff88813fe1a000 ffffea0000a07e10 ffffea0000a04210 raw: ffff88805baac000 0000000800080007 00000000f5000000 0000000000000000 head: 0080000000000240 ffff88813fe1a000 ffffea0000a07e10 ffffea0000a04210 head: ffff88805baac000 0000000800080007 00000000f5000000 0000000000000000 head: 0080000000000003 ffffea00016eaa01 00000000ffffffff 00000000ffffffff head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5809, tgid 5809 (syz-executor), ts 89061837644, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x231/0x280 mm/page_alloc.c:1889 prep_new_page mm/page_alloc.c:1897 [inline] get_page_from_freelist+0x28bb/0x2950 mm/page_alloc.c:3962 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5250 alloc_slab_page mm/slub.c:3292 [inline] allocate_slab+0x77/0x660 mm/slub.c:3481 new_slab mm/slub.c:3539 [inline] refill_objects+0x334/0x3c0 mm/slub.c:7175 refill_sheaf mm/slub.c:2812 [inline] __pcs_replace_empty_main+0x35c/0x710 mm/slub.c:4615 alloc_from_pcs mm/slub.c:4717 [inline] slab_alloc_node mm/slub.c:4851 [inline] __do_kmalloc_node mm/slub.c:5259 [inline] __kmalloc_node_track_caller_noprof+0x60b/0x7e0 mm/slub.c:5368 kmalloc_reserve net/core/skbuff.c:635 [inline] pskb_expand_head+0x228/0x1320 net/core/skbuff.c:2315 netlink_trim+0x1b3/0x2c0 net/netlink/af_netlink.c:1299 netlink_broadcast_filtered+0xd6/0x1010 net/netlink/af_netlink.c:1512 nlmsg_multicast_filtered include/net/netlink.h:1165 [inline] nlmsg_multicast include/net/netlink.h:1184 [inline] nlmsg_notify+0xf0/0x1a0 net/netlink/af_netlink.c:2593 __dev_notify_flags+0xf2/0x310 net/core/dev.c:9811 rtnl_configure_link net/core/rtnetlink.c:3628 [inline] rtnl_newlink_create+0x657/0xb70 net/core/rtnetlink.c:3872 __rtnl_newlink net/core/rtnetlink.c:3979 [inline] rtnl_newlink+0x1666/0x1be0 net/core/rtnetlink.c:4094 rtnetlink_rcv_msg+0x7d5/0xbe0 net/core/rtnetlink.c:6980 netlink_rcv_skb+0x232/0x4b0 net/netlink/af_netlink.c:2550 page_owner free stack trace missing Memory state around the buggy address: ffff88805baae680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88805baae700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88805baae780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88805baae800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88805baae880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================