Bluetooth: hci0: 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: 0 UID: 0 PID: 18940 Comm: syz.5.4482 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/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 79 54 e3 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 5a 54 e3 f6 49 8b 44 24 58 48 89 44 24 08 RSP: 0018:ffffc90011d370c0 EFLAGS: 00010212 RAX: 000000000000000b RBX: ffff888068a20000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058 RBP: ffffc90011d371c0 R08: ffffffff8f84c003 R09: 1ffffffff1f09800 R10: dffffc0000000000 R11: fffffbfff1f09801 R12: 0000000000000000 R13: 1ffff1100740fa0c R14: ffff88803a07d060 R15: dffffc0000000000 FS: 00007f281cbe26c0(0000) GS:ffff888125d0f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3957b8 CR3: 0000000057a27000 CR4: 0000000000350ef0 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:173 [inline] hci_conn_del+0xc33/0x11b0 net/bluetooth/hci_conn.c:1210 hci_abort_conn_sync+0x658/0xe30 net/bluetooth/hci_sync.c:5698 hci_disconnect_all_sync+0x1b5/0x350 net/bluetooth/hci_sync.c:5721 hci_suspend_sync+0x3fc/0xc60 net/bluetooth/hci_sync.c:6197 hci_suspend_dev+0x28d/0x4d0 net/bluetooth/hci_core.c:2849 hci_suspend_notifier+0xf2/0x290 net/bluetooth/hci_core.c:2420 notifier_call_chain+0x1b6/0x3e0 kernel/notifier.c:85 notifier_call_chain_robust kernel/notifier.c:120 [inline] blocking_notifier_call_chain_robust+0x85/0x100 kernel/notifier.c:345 pm_notifier_call_chain_robust+0x2c/0x60 kernel/power/main.c:103 snapshot_open+0x19c/0x280 kernel/power/user.c:77 misc_open+0x2d5/0x350 drivers/char/misc.c:163 chrdev_open+0x4cc/0x5e0 fs/char_dev.c:414 do_dentry_open+0x953/0x13f0 fs/open.c:965 vfs_open+0x3b/0x340 fs/open.c:1097 do_open fs/namei.c:3975 [inline] path_openat+0x2ee5/0x3830 fs/namei.c:4134 do_filp_open+0x1fa/0x410 fs/namei.c:4161 do_sys_openat2+0x121/0x1c0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1463 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f281bd8eec9 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:00007f281cbe2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f281bfe5fa0 RCX: 00007f281bd8eec9 RDX: 0000000000047e00 RSI: 0000200000000680 RDI: ffffffffffffff9c RBP: 00007f281be11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000019 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f281bfe6038 R14: 00007f281bfe5fa0 R15: 00007fff64a9fca8 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 79 54 e3 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 5a 54 e3 f6 49 8b 44 24 58 48 89 44 24 08 RSP: 0018:ffffc90011d370c0 EFLAGS: 00010212 RAX: 000000000000000b RBX: ffff888068a20000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058 RBP: ffffc90011d371c0 R08: ffffffff8f84c003 R09: 1ffffffff1f09800 R10: dffffc0000000000 R11: fffffbfff1f09801 R12: 0000000000000000 R13: 1ffff1100740fa0c R14: ffff88803a07d060 R15: dffffc0000000000 FS: 00007f281cbe26c0(0000) GS:ffff888125d0f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3957b8 CR3: 0000000057a27000 CR4: 0000000000350ef0 ---------------- 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 79 54 e3 f6 call 0xf6e35490 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 5a 54 e3 f6 call 0xf6e35490 36: 49 8b 44 24 58 mov 0x58(%r12),%rax 3b: 48 89 44 24 08 mov %rax,0x8(%rsp)