Bluetooth: hci1: Opcode 0x0c1a failed: -4 Bluetooth: hci1: Error when powering off device on rfkill (-4) Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 0 UID: 0 PID: 15036 Comm: syz.9.2340 Not tainted 6.17.0-rc1-syzkaller-00202-g7de0eebbb4c3 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:klist_put lib/klist.c:212 [inline] RIP: 0010:klist_del lib/klist.c:230 [inline] RIP: 0010:klist_remove+0x14a/0x340 lib/klist.c:249 Code: 4d 89 f5 49 c1 ed 03 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 49 9c b3 f6 4d 8b 26 49 83 e4 fe 49 8d 7c 24 58 48 89 f8 48 c1 e8 03 <42> 80 3c 38 00 74 05 e8 2a 9c b3 f6 49 8b 44 24 58 48 89 44 24 08 RSP: 0018:ffffc90003927820 EFLAGS: 00010202 RAX: 000000000000000b RBX: ffff88804ca08000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058 RBP: ffffc90003927908 R08: ffffffff8f89f903 R09: 1ffffffff1f13f20 R10: dffffc0000000000 R11: fffffbfff1f13f21 R12: 0000000000000000 R13: 1ffff11005f2410c R14: ffff88802f920860 R15: dffffc0000000000 FS: 00007fd76ff336c0(0000) GS:ffff888125c1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcfbcbfaf98 CR3: 0000000065b92000 CR4: 00000000003526f0 Call Trace: device_move+0x193/0x700 drivers/base/core.c:4615 hci_conn_del_sysfs+0xb8/0x170 net/bluetooth/hci_sysfs.c:75 hci_conn_cleanup net/bluetooth/hci_conn.c:175 [inline] hci_conn_del+0x949/0xcf0 net/bluetooth/hci_conn.c:1176 hci_conn_hash_flush+0x191/0x230 net/bluetooth/hci_conn.c:2565 hci_dev_close_sync+0xaef/0x1330 net/bluetooth/hci_sync.c:5294 hci_dev_do_close+0x2f/0x90 net/bluetooth/hci_core.c:501 hci_rfkill_set_block+0x21d/0x2e0 net/bluetooth/hci_core.c:929 rfkill_set_block+0x1d2/0x440 net/rfkill/core.c:346 rfkill_fop_write+0x44b/0x570 net/rfkill/core.c:1301 vfs_write+0x27e/0xb30 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd76f18ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd76ff33038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fd76f3b6090 RCX: 00007fd76f18ebe9 RDX: 0000000000000008 RSI: 0000200000000000 RDI: 0000000000000005 RBP: 00007fd76f211e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd76f3b6128 R14: 00007fd76f3b6090 R15: 00007ffcf9b07ea8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:klist_put lib/klist.c:212 [inline] RIP: 0010:klist_del lib/klist.c:230 [inline] RIP: 0010:klist_remove+0x14a/0x340 lib/klist.c:249 Code: 4d 89 f5 49 c1 ed 03 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 49 9c b3 f6 4d 8b 26 49 83 e4 fe 49 8d 7c 24 58 48 89 f8 48 c1 e8 03 <42> 80 3c 38 00 74 05 e8 2a 9c b3 f6 49 8b 44 24 58 48 89 44 24 08 RSP: 0018:ffffc90003927820 EFLAGS: 00010202 RAX: 000000000000000b RBX: ffff88804ca08000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058 RBP: ffffc90003927908 R08: ffffffff8f89f903 R09: 1ffffffff1f13f20 R10: dffffc0000000000 R11: fffffbfff1f13f21 R12: 0000000000000000 R13: 1ffff11005f2410c R14: ffff88802f920860 R15: dffffc0000000000 FS: 00007fd76ff336c0(0000) GS:ffff888125d1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c25fd71 CR3: 0000000065b92000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 4d 89 f5 mov %r14,%r13 3: 49 c1 ed 03 shr $0x3,%r13 7: 43 80 7c 3d 00 00 cmpb $0x0,0x0(%r13,%r15,1) d: 74 08 je 0x17 f: 4c 89 f7 mov %r14,%rdi 12: e8 49 9c b3 f6 call 0xf6b39c60 17: 4d 8b 26 mov (%r14),%r12 1a: 49 83 e4 fe and $0xfffffffffffffffe,%r12 1e: 49 8d 7c 24 58 lea 0x58(%r12),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 05 je 0x36 31: e8 2a 9c b3 f6 call 0xf6b39c60 36: 49 8b 44 24 58 mov 0x58(%r12),%rax 3b: 48 89 44 24 08 mov %rax,0x8(%rsp)