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: 6032 Comm: syz-executor151 Not tainted syzkaller #0 PREEMPT(full) 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 cc 20 0d RSP: 0018:ffffc900036678e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88802295d060 RCX: 0000000000000000 RDX: 000000000000000b RSI: ffffffff8bbcb395 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff224ac30 R10: ffffffff91256183 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff91256140 R15: dffffc0000000000 FS: 00007fd2994806c0(0000) GS:ffff8880d5ea2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd29947fff8 CR3: 000000003ab86000 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:4702 hci_conn_del_sysfs+0x86/0x1a0 net/bluetooth/hci_sysfs.c:75 hci_conn_cleanup net/bluetooth/hci_conn.c:170 [inline] hci_conn_del+0x506/0x1180 net/bluetooth/hci_conn.c:1318 hci_conn_hash_flush+0x186/0x280 net/bluetooth/hci_conn.c:2746 hci_dev_close_sync+0x5cf/0x13c0 net/bluetooth/hci_sync.c:5587 hci_dev_do_close+0x2e/0xb0 net/bluetooth/hci_core.c:502 hci_dev_close+0x1a1/0x200 net/bluetooth/hci_core.c:527 hci_sock_ioctl+0x1d7/0x7e0 net/bluetooth/hci_sock.c:1133 sock_do_ioctl+0x118/0x280 net/socket.c:1325 sock_ioctl+0x599/0x6b0 net/socket.c:1446 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd299cb6bcb Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007fd2994801a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007fd299cb6bcb RDX: 0000000000000000 RSI: 00000000400448ca RDI: 0000000000000006 RBP: 00007ffdfaade560 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffd0 R13: 0000000000000073 R14: 00007ffdfaade340 R15: 00007ffdfaade428 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 cc 20 0d RSP: 0018:ffffc900036678e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88802295d060 RCX: 0000000000000000 RDX: 000000000000000b RSI: ffffffff8bbcb395 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff224ac30 R10: ffffffff91256183 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff91256140 R15: dffffc0000000000 FS: 00007fd2994806c0(0000) GS:ffff8880d5da2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557c140fecf0 CR3: 000000003ab86000 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: cc int3 3e: 20 .byte 0x20 3f: 0d .byte 0xd