BUG: unable to handle page fault for address: ffffc90000ebf640 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 1b000067 P4D 1b000067 PUD 1c2b9067 PMD 305b9067 PTE 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5331 Comm: syz.0.0 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:readl arch/x86/include/asm/io.h:59 [inline] RIP: 0010:ioread32+0x1c/0x80 lib/iomap.c:99 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 53 48 89 fb e8 e2 b5 e7 fc 48 81 fb 00 00 04 00 72 09 e8 d4 b5 e7 fc <8b> 03 eb 55 48 81 fb 01 00 01 00 72 0a e8 c2 b5 e7 fc 89 da ed eb RSP: 0018:ffffc9000e45f850 EFLAGS: 00010293 RAX: ffffffff84df6cec RBX: ffffc90000ebf640 RCX: ffff8880344d4a80 RDX: 0000000000000000 RSI: ffffffff8e231ffb RDI: ffffc90000ebf640 RBP: 1ffff11001ce5110 R08: ffffffff9057c237 R09: 1ffffffff20af846 R10: dffffc0000000000 R11: fffffbfff20af847 R12: ffff88800e728888 R13: ffff88801d2cc0d0 R14: ffff88800e728838 R15: 1ffff11001ce5111 FS: 00007f6a9a9b06c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90000ebf640 CR3: 000000001faec000 CR4: 0000000000352ef0 Call Trace: nhi_probe+0xcc/0x880 drivers/thunderbolt/nhi.c:1198 nhi_pci_probe+0x46b/0x580 drivers/thunderbolt/pci.c:479 local_pci_probe drivers/pci/pci-driver.c:332 [inline] pci_call_probe drivers/pci/pci-driver.c:394 [inline] __pci_device_probe drivers/pci/pci-driver.c:455 [inline] pci_device_probe+0x431/0xc90 drivers/pci/pci-driver.c:489 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x254/0xae0 drivers/base/dd.c:706 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868 device_driver_attach+0xe0/0x1d0 drivers/base/dd.c:1203 bind_store+0x1d0/0x220 drivers/base/bus.c:267 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6a99b9e019 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6a9a9affe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6a99e25fa0 RCX: 00007f6a99b9e019 RDX: 000000000000000d RSI: 00002000000001c0 RDI: 0000000000000006 RBP: 00007f6a99c3500c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6a99e26038 R14: 00007f6a99e25fa0 R15: 00007ffe4f4d7738 Modules linked in: CR2: ffffc90000ebf640 ---[ end trace 0000000000000000 ]--- RIP: 0010:readl arch/x86/include/asm/io.h:59 [inline] RIP: 0010:ioread32+0x1c/0x80 lib/iomap.c:99 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 53 48 89 fb e8 e2 b5 e7 fc 48 81 fb 00 00 04 00 72 09 e8 d4 b5 e7 fc <8b> 03 eb 55 48 81 fb 01 00 01 00 72 0a e8 c2 b5 e7 fc 89 da ed eb RSP: 0018:ffffc9000e45f850 EFLAGS: 00010293 RAX: ffffffff84df6cec RBX: ffffc90000ebf640 RCX: ffff8880344d4a80 RDX: 0000000000000000 RSI: ffffffff8e231ffb RDI: ffffc90000ebf640 RBP: 1ffff11001ce5110 R08: ffffffff9057c237 R09: 1ffffffff20af846 R10: dffffc0000000000 R11: fffffbfff20af847 R12: ffff88800e728888 R13: ffff88801d2cc0d0 R14: ffff88800e728838 R15: 1ffff11001ce5111 FS: 00007f6a9a9b06c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90000ebf640 CR3: 000000001faec000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 90 nop 7: 90 nop 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: f3 0f 1e fa endbr64 12: 55 push %rbp 13: 53 push %rbx 14: 48 89 fb mov %rdi,%rbx 17: e8 e2 b5 e7 fc call 0xfce7b5fe 1c: 48 81 fb 00 00 04 00 cmp $0x40000,%rbx 23: 72 09 jb 0x2e 25: e8 d4 b5 e7 fc call 0xfce7b5fe * 2a: 8b 03 mov (%rbx),%eax <-- trapping instruction 2c: eb 55 jmp 0x83 2e: 48 81 fb 01 00 01 00 cmp $0x10001,%rbx 35: 72 0a jb 0x41 37: e8 c2 b5 e7 fc call 0xfce7b5fe 3c: 89 da mov %ebx,%edx 3e: ed in (%dx),%eax 3f: eb .byte 0xeb