BUG: unable to handle page fault for address: ffffc90006519640 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 1bc00067 P4D 1bc00067 PUD 1d293067 PMD 2811b067 PTE 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5936 Comm: syz.2.15 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+0x87/0xc0 lib/iomap.c:99 Code: 2d 6e c6 5c 0a 31 ff 89 ee e8 d5 9d e5 fc 85 ed 75 28 e8 5c a3 e5 fc bb ff ff ff ff 89 d8 5b 5d c3 cc cc cc cc e8 49 a3 e5 fc <8b> 1b e8 42 a3 e5 fc 89 d8 5b 5d e9 19 b5 97 06 e8 34 a3 e5 fc 83 RSP: 0000:ffffc9000603f8b8 EFLAGS: 00010283 RAX: 0000000000027b46 RBX: ffffc90006519640 RCX: ffffc900264d9000 RDX: 0000000000080000 RSI: ffffffff85240db7 RDI: ffff888027a12540 RBP: ffff888013c1ac38 R08: 0000000000000007 R09: 000000000003ffff R10: ffffc90006519640 R11: 0000000000000000 R12: 1ffff92000c07f26 R13: ffff888020fae0d0 R14: ffff888013c1ac80 R15: ffffc9000603f950 FS: 0000000000000000(0000) GS:ffff888096bdf000(0063) knlGS:00000000f540cb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffffc90006519640 CR3: 000000006caf7000 CR4: 0000000000352ef0 Call Trace: nhi_probe+0xdc/0x8f0 drivers/thunderbolt/nhi.c:1198 nhi_pci_probe+0x322/0x5a0 drivers/thunderbolt/pci.c:479 local_pci_probe+0xdd/0x1b0 drivers/pci/pci-driver.c:332 pci_call_probe+0x176/0x800 drivers/pci/pci-driver.c:394 __pci_device_probe drivers/pci/pci-driver.c:455 [inline] pci_device_probe+0x1cd/0x370 drivers/pci/pci-driver.c:489 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0x241/0xa60 drivers/base/dd.c:706 __driver_probe_device+0x20e/0x450 drivers/base/dd.c:868 device_driver_attach+0xd1/0x220 drivers/base/dd.c:1203 bind_store+0xf4/0x190 drivers/base/bus.c:267 drv_attr_store+0x74/0xb0 drivers/base/bus.c:125 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6ac/0x1050 fs/read_write.c:687 ksys_write+0x12a/0x250 fs/read_write.c:739 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf703efec Code: Unable to access opcode bytes at 0xf703efc2. RSP: 002b:00000000f540c50c EFLAGS: 00000292 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000080000180 RDX: 000000000000000d RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: CR2: ffffc90006519640 ---[ end trace 0000000000000000 ]--- RIP: 0010:readl arch/x86/include/asm/io.h:59 [inline] RIP: 0010:ioread32+0x87/0xc0 lib/iomap.c:99 Code: 2d 6e c6 5c 0a 31 ff 89 ee e8 d5 9d e5 fc 85 ed 75 28 e8 5c a3 e5 fc bb ff ff ff ff 89 d8 5b 5d c3 cc cc cc cc e8 49 a3 e5 fc <8b> 1b e8 42 a3 e5 fc 89 d8 5b 5d e9 19 b5 97 06 e8 34 a3 e5 fc 83 RSP: 0000:ffffc9000603f8b8 EFLAGS: 00010283 RAX: 0000000000027b46 RBX: ffffc90006519640 RCX: ffffc900264d9000 RDX: 0000000000080000 RSI: ffffffff85240db7 RDI: ffff888027a12540 RBP: ffff888013c1ac38 R08: 0000000000000007 R09: 000000000003ffff R10: ffffc90006519640 R11: 0000000000000000 R12: 1ffff92000c07f26 R13: ffff888020fae0d0 R14: ffff888013c1ac80 R15: ffffc9000603f950 FS: 0000000000000000(0000) GS:ffff888096bdf000(0063) knlGS:00000000f540cb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f703f000 CR3: 000000006caf7000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 2d 6e c6 5c 0a sub $0xa5cc66e,%eax 5: 31 ff xor %edi,%edi 7: 89 ee mov %ebp,%esi 9: e8 d5 9d e5 fc call 0xfce59de3 e: 85 ed test %ebp,%ebp 10: 75 28 jne 0x3a 12: e8 5c a3 e5 fc call 0xfce5a373 17: bb ff ff ff ff mov $0xffffffff,%ebx 1c: 89 d8 mov %ebx,%eax 1e: 5b pop %rbx 1f: 5d pop %rbp 20: c3 ret 21: cc int3 22: cc int3 23: cc int3 24: cc int3 25: e8 49 a3 e5 fc call 0xfce5a373 * 2a: 8b 1b mov (%rbx),%ebx <-- trapping instruction 2c: e8 42 a3 e5 fc call 0xfce5a373 31: 89 d8 mov %ebx,%eax 33: 5b pop %rbx 34: 5d pop %rbp 35: e9 19 b5 97 06 jmp 0x697b553 3a: e8 34 a3 e5 fc call 0xfce5a373 3f: 83 .byte 0x83