general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 1 PID: 9287 Comm: syz.6.1320 Not tainted 5.15.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:klist_put lib/klist.c:212 [inline] RIP: 0010:klist_del lib/klist.c:230 [inline] RIP: 0010:klist_remove+0x144/0x2f0 lib/klist.c:249 Code: b6 05 4d 89 f4 49 c1 ec 03 43 80 3c 2c 00 74 08 4c 89 f7 e8 fe ad c0 fd 4d 8b 3e 49 83 e7 fe 49 8d 7f 58 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 e0 ad c0 fd 49 8b 47 58 48 89 44 24 08 4c RSP: 0018:ffffc9000d2a79e0 EFLAGS: 00010202 RAX: 000000000000000b RBX: ffff888020223b80 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058 RBP: ffffc9000d2a7ae0 R08: dffffc0000000000 R09: fffffbfff18e70c1 R10: fffffbfff18e70c1 R11: 1ffffffff18e70c0 R12: 1ffff1100c39a10c R13: dffffc0000000000 R14: ffff888061cd0860 R15: 0000000000000000 FS: 00007fee2a1586c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3477d2000 CR3: 00000000603ad000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_move+0x18f/0x6f0 drivers/base/core.c:4338 hci_conn_del_sysfs+0xab/0x160 net/bluetooth/hci_sysfs.c:73 hci_conn_cleanup+0x4d1/0x680 net/bluetooth/hci_conn.c:140 hci_conn_del+0x2ab/0x3e0 net/bluetooth/hci_conn.c:678 hci_conn_hash_flush+0x185/0x220 net/bluetooth/hci_conn.c:1623 hci_dev_do_close+0x991/0x1030 net/bluetooth/hci_core.c:1795 hci_dev_close+0xd7/0x180 net/bluetooth/hci_core.c:1877 sock_do_ioctl+0xd3/0x2f0 net/socket.c:1140 sock_ioctl+0x4ed/0x6e0 net/socket.c:1257 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fee2c2f0929 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:00007fee2a158038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fee2c517fa0 RCX: 00007fee2c2f0929 RDX: 0000000000000000 RSI: 00000000400448ca RDI: 0000000000000004 RBP: 00007fee2c372b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fee2c517fa0 R15: 00007ffc5d40e688 Modules linked in: ---[ end trace ff9dbfe50c9e8d49 ]--- RIP: 0010:klist_put lib/klist.c:212 [inline] RIP: 0010:klist_del lib/klist.c:230 [inline] RIP: 0010:klist_remove+0x144/0x2f0 lib/klist.c:249 Code: b6 05 4d 89 f4 49 c1 ec 03 43 80 3c 2c 00 74 08 4c 89 f7 e8 fe ad c0 fd 4d 8b 3e 49 83 e7 fe 49 8d 7f 58 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 e0 ad c0 fd 49 8b 47 58 48 89 44 24 08 4c RSP: 0018:ffffc9000d2a79e0 EFLAGS: 00010202 RAX: 000000000000000b RBX: ffff888020223b80 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058 RBP: ffffc9000d2a7ae0 R08: dffffc0000000000 R09: fffffbfff18e70c1 R10: fffffbfff18e70c1 R11: 1ffffffff18e70c0 R12: 1ffff1100c39a10c R13: dffffc0000000000 R14: ffff888061cd0860 R15: 0000000000000000 FS: 00007fee2a1586c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f61524f2d71 CR3: 00000000603ad000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: b6 05 mov $0x5,%dh 2: 4d 89 f4 mov %r14,%r12 5: 49 c1 ec 03 shr $0x3,%r12 9: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) e: 74 08 je 0x18 10: 4c 89 f7 mov %r14,%rdi 13: e8 fe ad c0 fd call 0xfdc0ae16 18: 4d 8b 3e mov (%r14),%r15 1b: 49 83 e7 fe and $0xfffffffffffffffe,%r15 1f: 49 8d 7f 58 lea 0x58(%r15),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 05 je 0x36 31: e8 e0 ad c0 fd call 0xfdc0ae16 36: 49 8b 47 58 mov 0x58(%r15),%rax 3a: 48 89 44 24 08 mov %rax,0x8(%rsp) 3f: 4c rex.WR