Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 0 UID: 0 PID: 5326 Comm: syz.0.0 Not tainted 6.13.0-rc6-syzkaller-00038-g09a0fa92e5b4 #0 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 lib/klist.c:212 [inline] RIP: 0010:klist_del lib/klist.c:230 [inline] RIP: 0010:klist_remove+0x1e8/0x480 lib/klist.c:249 Code: 3c 06 00 74 08 4c 89 ff e8 45 9d 47 f6 4d 8b 27 49 83 e4 fe 49 8d 7c 24 58 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 05 e8 1d 9d 47 f6 4d 8b 6c 24 58 4c 89 e7 e8 50 4e RSP: 0018:ffffc9000d4b7900 EFLAGS: 00010202 RAX: 000000000000000b RBX: ffffffff90005fe8 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058 RBP: ffffc9000d4b79f0 R08: ffffffff90005f83 R09: 1ffffffff2000bf0 R10: dffffc0000000000 R11: fffffbfff2000bf1 R12: 0000000000000000 R13: ffffffff90005fe0 R14: 1ffff11007d9688c R15: ffff88803ecb4460 FS: 00007fc119c146c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056093744f1b8 CR3: 0000000043d20000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_move+0x1b4/0x710 drivers/base/core.c:4636 hci_conn_del_sysfs+0xac/0x160 net/bluetooth/hci_sysfs.c:75 hci_conn_cleanup net/bluetooth/hci_conn.c:174 [inline] hci_conn_del+0x8c4/0xc40 net/bluetooth/hci_conn.c:1164 hci_conn_hash_flush+0x258/0x350 net/bluetooth/hci_conn.c:2699 hci_dev_close_sync+0xa42/0x11c0 net/bluetooth/hci_sync.c:5212 hci_dev_do_close net/bluetooth/hci_core.c:482 [inline] hci_dev_close+0x112/0x210 net/bluetooth/hci_core.c:507 sock_do_ioctl+0x158/0x460 net/socket.c:1209 sock_ioctl+0x626/0x8e0 net/socket.c:1328 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc118d85d29 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:00007fc119c14038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc118f75fa0 RCX: 00007fc118d85d29 RDX: 0000000000000000 RSI: 00000000400448ca RDI: 0000000000000007 RBP: 00007fc118e01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc118f75fa0 R15: 00007ffcd3250f28 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+0x1e8/0x480 lib/klist.c:249 Code: 3c 06 00 74 08 4c 89 ff e8 45 9d 47 f6 4d 8b 27 49 83 e4 fe 49 8d 7c 24 58 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 05 e8 1d 9d 47 f6 4d 8b 6c 24 58 4c 89 e7 e8 50 4e RSP: 0018:ffffc9000d4b7900 EFLAGS: 00010202 RAX: 000000000000000b RBX: ffffffff90005fe8 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058 RBP: ffffc9000d4b79f0 R08: ffffffff90005f83 R09: 1ffffffff2000bf0 R10: dffffc0000000000 R11: fffffbfff2000bf1 R12: 0000000000000000 R13: ffffffff90005fe0 R14: 1ffff11007d9688c R15: ffff88803ecb4460 FS: 00007fc119c146c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc119bf2fe0 CR3: 0000000043d20000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 3c 06 cmp $0x6,%al 2: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 6: 89 ff mov %edi,%edi 8: e8 45 9d 47 f6 call 0xf6479d52 d: 4d 8b 27 mov (%r15),%r12 10: 49 83 e4 fe and $0xfffffffffffffffe,%r12 14: 49 8d 7c 24 58 lea 0x58(%r12),%rdi 19: 48 89 f8 mov %rdi,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 05 je 0x35 30: e8 1d 9d 47 f6 call 0xf6479d52 35: 4d 8b 6c 24 58 mov 0x58(%r12),%r13 3a: 4c 89 e7 mov %r12,%rdi 3d: e8 .byte 0xe8 3e: 50 push %rax 3f: 4e rex.WRX