Bluetooth: hci0: Opcode 0x0406 failed: -4 Bluetooth: hci0: Opcode 0x0406 failed: -4 Bluetooth: hci3: Opcode 0x0c1a failed: -4 Bluetooth: hci3: 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: 2 UID: 0 PID: 12877 Comm: syz.6.2021 Not tainted syzkaller #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 cc 3e 0d RSP: 0018:ffffc90005a87310 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888025b75460 RCX: ffffc90030843000 RDX: 000000000000000b RSI: ffffffff8b891035 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff211c684 R10: ffffffff908e3423 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: 1ffff92000b50e6a R15: ffffffff908e33e0 FS: 00007fdeb9d916c0(0000) GS:ffff8880d68bc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000017038 CR3: 000000005b62d000 CR4: 0000000000352ef0 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:4615 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+0x5b3/0xe70 net/bluetooth/hci_conn.c:1187 hci_abort_conn_sync+0x76a/0xb20 net/bluetooth/hci_sync.c:5689 hci_disconnect_all_sync.constprop.0+0x104/0x3c0 net/bluetooth/hci_sync.c:5712 hci_suspend_sync+0x821/0xb20 net/bluetooth/hci_sync.c:6188 hci_suspend_dev+0x308/0x500 net/bluetooth/hci_core.c:2849 hci_suspend_notifier+0x28d/0x2f0 net/bluetooth/hci_core.c:2420 notifier_call_chain+0xb9/0x410 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:103 snapshot_open+0x189/0x2b0 kernel/power/user.c:77 misc_open+0x35a/0x420 drivers/char/misc.c:161 chrdev_open+0x231/0x6a0 fs/char_dev.c:414 do_dentry_open+0x982/0x1530 fs/open.c:965 vfs_open+0x82/0x3f0 fs/open.c:1095 do_open fs/namei.c:3887 [inline] path_openat+0x1de4/0x2cb0 fs/namei.c:4046 do_filp_open+0x20b/0x470 fs/namei.c:4073 do_sys_openat2+0x11b/0x1d0 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_openat fs/open.c:1466 [inline] __se_sys_openat fs/open.c:1461 [inline] __x64_sys_openat+0x174/0x210 fs/open.c:1461 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdebbf8ebe9 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:00007fdeb9d91038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fdebc1b6270 RCX: 00007fdebbf8ebe9 RDX: 0000000000040000 RSI: 0000200000000680 RDI: ffffffffffffff9c RBP: 00007fdebc011e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000019 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdebc1b6308 R14: 00007fdebc1b6270 R15: 00007ffff380e958 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 cc 3e 0d RSP: 0018:ffffc90005a87310 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888025b75460 RCX: ffffc90030843000 RDX: 000000000000000b RSI: ffffffff8b891035 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff211c684 R10: ffffffff908e3423 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: 1ffff92000b50e6a R15: ffffffff908e33e0 FS: 00007fdeb9d916c0(0000) GS:ffff8880d68bc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000017038 CR3: 000000005b62d000 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 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: cc int3 3e: 3e ds 3f: 0d .byte 0xd