Bluetooth: hci3: Opcode 0x0406 failed: -4 Bluetooth: hci3: Opcode 0x0406 failed: -4 Bluetooth: hci2: Opcode 0x0c1a failed: -4 Bluetooth: hci2: Opcode 0x0406 failed: -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: 3 UID: 0 PID: 9593 Comm: syz.2.1039 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:klist_put+0x4d/0x1d0 lib/klist.c:212 Code: c1 ea 03 80 3c 02 00 0f 85 74 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 43 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 ac f8 0c RSP: 0018:ffffc900037ff290 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88803555e060 RCX: ffffc900076b2000 RDX: 000000000000000b RSI: ffffffff8b768295 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff2177c0c R10: ffffffff90bbe063 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff90bbe020 R15: dffffc0000000000 FS: 00007f8744c426c0(0000) GS:ffff8880d668b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056095bfe4ce8 CR3: 000000005b7ae000 CR4: 0000000000352ef0 Call Trace: klist_del lib/klist.c:230 [inline] klist_remove+0x14c/0x2e0 lib/klist.c:249 device_move+0x12d/0x1140 drivers/base/core.c:4615 hci_conn_del_sysfs+0x86/0x1a0 net/bluetooth/hci_sysfs.c:75 hci_conn_cleanup net/bluetooth/hci_conn.c:173 [inline] hci_conn_del+0x506/0x1180 net/bluetooth/hci_conn.c:1240 hci_abort_conn_sync+0x7d9/0xb20 net/bluetooth/hci_sync.c:5753 hci_disconnect_all_sync.constprop.0.isra.0+0x155/0x430 net/bluetooth/hci_sync.c:5776 hci_suspend_sync+0x8b7/0xa70 net/bluetooth/hci_sync.c:6252 hci_suspend_dev+0x31d/0x540 net/bluetooth/hci_core.c:2850 hci_suspend_notifier+0x21e/0x330 net/bluetooth/hci_core.c:2421 notifier_call_chain+0x99/0x3b0 kernel/notifier.c:85 notifier_call_chain_robust kernel/notifier.c:120 [inline] blocking_notifier_call_chain_robust kernel/notifier.c:345 [inline] blocking_notifier_call_chain_robust+0xc8/0x160 kernel/notifier.c:333 pm_notifier_call_chain_robust+0x27/0x60 kernel/power/main.c:172 snapshot_open+0x189/0x2a0 kernel/power/user.c:77 misc_open+0x26d/0x450 drivers/char/misc.c:163 chrdev_open+0x234/0x6a0 fs/char_dev.c:411 do_dentry_open+0x6d8/0x1660 fs/open.c:949 vfs_open+0x82/0x3f0 fs/open.c:1081 do_open fs/namei.c:4671 [inline] path_openat+0x208c/0x31a0 fs/namei.c:4830 do_file_open+0x20e/0x430 fs/namei.c:4859 do_sys_openat2+0x10d/0x1e0 fs/open.c:1366 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1383 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8743d9bf79 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:00007f8744c42028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8744015fa0 RCX: 00007f8743d9bf79 RDX: 0000000000082400 RSI: 0000200000000400 RDI: ffffffffffffff9c RBP: 00007f8743e327e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8744016038 R14: 00007f8744015fa0 R15: 00007ffdf6675878 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:klist_put+0x4d/0x1d0 lib/klist.c:212 Code: c1 ea 03 80 3c 02 00 0f 85 74 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 43 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 ac f8 0c RSP: 0018:ffffc900037ff290 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88803555e060 RCX: ffffc900076b2000 RDX: 000000000000000b RSI: ffffffff8b768295 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff2177c0c R10: ffffffff90bbe063 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff90bbe020 R15: dffffc0000000000 FS: 00007f8744c426c0(0000) GS:ffff8880d658b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056193ceca300 CR3: 000000005b7ae000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 0f 85 74 01 00 00 jne 0x181 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 43 01 00 00 jne 0x177 34: 4c 89 e7 mov %r12,%rdi 37: 4d 8b 74 24 58 mov 0x58(%r12),%r14 3c: e8 .byte 0xe8 3d: ac lods %ds:(%rsi),%al 3e: f8 clc 3f: 0c .byte 0xc