Bluetooth: hci1: Opcode 0x0c1a failed: -4 Bluetooth: hci1: Error when powering off device on rfkill (-4) Bluetooth: hci2: Opcode 0x0c1a failed: -4 Bluetooth: hci2: Error when powering off device on rfkill (-4) Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 0 UID: 0 PID: 7076 Comm: syz.4.355 Not tainted 6.14.0-syzkaller-11270-g08733088b566 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:klist_put+0x4d/0x1b0 lib/klist.c:212 Code: c1 ea 03 80 3c 02 00 0f 85 5f 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 83 e4 fe 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 2e 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 bc f4 0c RSP: 0018:ffffc90001bef8f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880244fec60 RCX: ffffc9003217f000 RDX: 000000000000000b RSI: ffffffff8b647ce5 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff20d1c04 R10: ffffffff9068e023 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: 1ffff9200037df26 R15: ffffffff9068dfe0 FS: 00007fd63ed346c0(0000) GS:ffff8880d69cf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3f7b4b5e8 CR3: 0000000036db0000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000ffff000c DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: klist_del lib/klist.c:230 [inline] klist_remove+0x13f/0x2e0 lib/klist.c:249 device_move+0x12d/0x10d0 drivers/base/core.c:4592 hci_conn_del_sysfs+0x81/0x180 net/bluetooth/hci_sysfs.c:75 hci_conn_cleanup net/bluetooth/hci_conn.c:175 [inline] hci_conn_del+0x55f/0xdc0 net/bluetooth/hci_conn.c:1167 hci_conn_hash_flush+0x186/0x260 net/bluetooth/hci_conn.c:2702 hci_dev_close_sync+0x602/0x11d0 net/bluetooth/hci_sync.c:5225 hci_dev_do_close+0x2e/0x90 net/bluetooth/hci_core.c:483 hci_rfkill_set_block+0x225/0x360 net/bluetooth/hci_core.c:911 rfkill_set_block+0x1fb/0x550 net/rfkill/core.c:346 rfkill_fop_write+0x2c0/0x580 net/rfkill/core.c:1301 vfs_write+0x25c/0x1180 fs/read_write.c:682 ksys_write+0x205/0x240 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd63df8d169 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:00007fd63ed34038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fd63e1a5fa0 RCX: 00007fd63df8d169 RDX: 0000000000000008 RSI: 0000200000000080 RDI: 0000000000000003 RBP: 00007fd63e00e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd63e1a5fa0 R15: 00007ffca4382848 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:klist_put+0x4d/0x1b0 lib/klist.c:212 Code: c1 ea 03 80 3c 02 00 0f 85 5f 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 83 e4 fe 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 2e 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 bc f4 0c RSP: 0018:ffffc90001bef8f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880244fec60 RCX: ffffc9003217f000 RDX: 000000000000000b RSI: ffffffff8b647ce5 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff20d1c04 R10: ffffffff9068e023 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: 1ffff9200037df26 R15: ffffffff9068dfe0 FS: 00007fd63ed346c0(0000) GS:ffff8880d69cf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3f7b4b5e8 CR3: 0000000036db0000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000ffff000c DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 0f 85 5f 01 00 00 jne 0x16c d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 4c 8b 23 mov (%rbx),%r12 1a: 49 83 e4 fe and $0xfffffffffffffffe,%r12 1e: 49 8d 7c 24 58 lea 0x58(%r12),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 2e 01 00 00 jne 0x162 34: 4c 89 e7 mov %r12,%rdi 37: 4d 8b 74 24 58 mov 0x58(%r12),%r14 3c: e8 .byte 0xe8 3d: bc .byte 0xbc 3e: f4 hlt 3f: 0c .byte 0xc