general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 0 PID: 527 Comm: syz-executor.5 Not tainted 6.0.0-rc4-syzkaller-00331-g4ed9c1e971b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:klist_next+0x49/0x320 lib/klist.c:377 Code: fd 4c 89 f0 48 c1 e8 03 48 89 44 24 18 42 80 3c 20 00 74 08 4c 89 f7 e8 a5 09 75 fd 49 8b 1e 48 8d 6b 58 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 88 09 75 fd 48 8b 45 00 48 89 04 RSP: 0018:ffffc900034578c8 EFLAGS: 00010202 RAX: 000000000000000b RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc900047da000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000058 R08: dffffc0000000000 R09: ffffc90003457980 R10: fffff5200068af32 R11: 1ffff9200068af30 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc90003457980 R15: ffffffff89516b30 FS: 00007fdd8eb8b700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa99ad9d0b0 CR3: 000000001ceba000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: next_device drivers/base/core.c:3756 [inline] device_find_child+0xc4/0x1d0 drivers/base/core.c:3899 hci_conn_del_sysfs+0x8d/0x180 net/bluetooth/hci_sysfs.c:71 hci_conn_cleanup+0x59a/0x750 net/bluetooth/hci_conn.c:147 hci_conn_del+0x2ae/0x3b0 net/bluetooth/hci_conn.c:1022 hci_conn_hash_flush+0x1bd/0x240 net/bluetooth/hci_conn.c:2367 hci_dev_close_sync+0x6e9/0xcb0 net/bluetooth/hci_sync.c:4476 hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] hci_rfkill_set_block+0x123/0x1c0 net/bluetooth/hci_core.c:947 rfkill_set_block+0x1e7/0x430 net/rfkill/core.c:345 rfkill_fop_write+0x5fb/0x7b0 net/rfkill/core.c:1286 vfs_write+0x2e5/0xbb0 fs/read_write.c:576 ksys_write+0x19b/0x2c0 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdd8da893c9 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:00007fdd8eb8b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fdd8db9bf80 RCX: 00007fdd8da893c9 RDX: 0000000000000008 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007fdd8dae433f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdd2ab637f R14: 00007fdd8eb8b300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:klist_next+0x49/0x320 lib/klist.c:377 Code: fd 4c 89 f0 48 c1 e8 03 48 89 44 24 18 42 80 3c 20 00 74 08 4c 89 f7 e8 a5 09 75 fd 49 8b 1e 48 8d 6b 58 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 88 09 75 fd 48 8b 45 00 48 89 04 RSP: 0018:ffffc900034578c8 EFLAGS: 00010202 RAX: 000000000000000b RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc900047da000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000058 R08: dffffc0000000000 R09: ffffc90003457980 R10: fffff5200068af32 R11: 1ffff9200068af30 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc90003457980 R15: ffffffff89516b30 FS: 00007fdd8eb8b700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd533caff8 CR3: 000000001ceba000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: fd std 1: 4c 89 f0 mov %r14,%rax 4: 48 c1 e8 03 shr $0x3,%rax 8: 48 89 44 24 18 mov %rax,0x18(%rsp) d: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 12: 74 08 je 0x1c 14: 4c 89 f7 mov %r14,%rdi 17: e8 a5 09 75 fd callq 0xfd7509c1 1c: 49 8b 1e mov (%r14),%rbx 1f: 48 8d 6b 58 lea 0x58(%rbx),%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 ef mov %rbp,%rdi 34: e8 88 09 75 fd callq 0xfd7509c1 39: 48 8b 45 00 mov 0x0(%rbp),%rax 3d: 48 rex.W 3e: 89 .byte 0x89 3f: 04 .byte 0x4