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: 19759 Comm: syz-executor.2 Not tainted 6.0.0-rc6-syzkaller-00045-gdc164f4fb00a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2022 RIP: 0010:klist_next+0x49/0x510 lib/klist.c:377 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 2e 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 2b 48 8d 7d 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 33 04 00 00 4c 8d 6b 08 4c 8b 7d 58 48 b8 00 00 RSP: 0018:ffffc900151bf9a8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc900151bfa20 RCX: ffffc9000e892000 RDX: 000000000000000b RSI: ffffffff84214a16 RDI: 0000000000000058 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8860c4c0 R14: 1ffff92002a37f40 R15: dffffc0000000000 FS: 00007fe15d843700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8bc4e9f390 CR3: 000000007980a000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: next_device drivers/base/core.c:3756 [inline] device_find_child+0xba/0x190 drivers/base/core.c:3899 hci_conn_del_sysfs+0xc7/0x180 net/bluetooth/hci_sysfs.c:71 hci_conn_cleanup+0x315/0x7b0 net/bluetooth/hci_conn.c:147 hci_conn_del+0x29b/0x790 net/bluetooth/hci_conn.c:1022 hci_conn_hash_flush+0x197/0x260 net/bluetooth/hci_conn.c:2367 hci_dev_close_sync+0x55d/0x1130 net/bluetooth/hci_sync.c:4476 hci_dev_do_close+0x2d/0x70 net/bluetooth/hci_core.c:554 hci_rfkill_set_block+0x15d/0x1c0 net/bluetooth/hci_core.c:947 rfkill_set_block+0x1f9/0x540 net/rfkill/core.c:345 rfkill_fop_write+0x2c3/0x570 net/rfkill/core.c:1286 vfs_write+0x2d7/0xdd0 fs/read_write.c:576 ksys_write+0x1e8/0x250 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe15c68a669 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe15d843168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fe15c7abf80 RCX: 00007fe15c68a669 RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007fe15c6e5560 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe15ccdfb1f R14: 00007fe15d843300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:klist_next+0x49/0x510 lib/klist.c:377 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 2e 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 2b 48 8d 7d 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 33 04 00 00 4c 8d 6b 08 4c 8b 7d 58 48 b8 00 00 RSP: 0018:ffffc900151bf9a8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc900151bfa20 RCX: ffffc9000e892000 RDX: 000000000000000b RSI: ffffffff84214a16 RDI: 0000000000000058 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8860c4c0 R14: 1ffff92002a37f40 R15: dffffc0000000000 FS: 00007fe15d843700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00f74a600 CR3: 000000007980a000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 2e 04 00 00 jne 0x43c e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 15: fc ff df 18: 48 8b 2b mov (%rbx),%rbp 1b: 48 8d 7d 58 lea 0x58(%rbp),%rdi 1f: 48 89 fa mov %rdi,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx * 26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2a: 0f 85 33 04 00 00 jne 0x463 30: 4c 8d 6b 08 lea 0x8(%rbx),%r13 34: 4c 8b 7d 58 mov 0x58(%rbp),%r15 38: 48 rex.W 39: b8 .byte 0xb8