BUG: unable to handle page fault for address: ffffc90003b39640 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 1bc00067 P4D 1bc00067 PUD 1d293067 PMD 22695067 PTE 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 6033 Comm: syz-executor199 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 ee e9 59 0a 31 ff 89 ee e8 d5 b6 e3 fc 85 ed 75 28 e8 5c bc e3 fc bb ff ff ff ff 89 d8 5b 5d c3 cc cc cc cc e8 49 bc e3 fc <8b> 1b e8 42 bc e3 fc 89 d8 5b 5d e9 19 4d 97 06 e8 34 bc e3 fc 83 RSP: 0018:ffffc90003ab76f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffc90003b39640 RCX: ffffffff8526b6cb RDX: ffff88802bc42540 RSI: ffffffff8526b737 RDI: ffff88802bc42540 RBP: ffff88802efa9838 R08: 0000000000000007 R09: 000000000003ffff R10: ffffc90003b39640 R11: 0000000000000000 R12: 1ffff92000756eed R13: ffff8880231120d0 R14: ffff88802efa9880 R15: ffffc90003ab7788 FS: 0000555567013400(0000) GS:ffff8880d5fec000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90003b39640 CR3: 00000000364fc000 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 driver_probe_device+0x4a/0x140 drivers/base/dd.c:898 __driver_attach+0x21f/0x5b0 drivers/base/dd.c:1292 bus_for_each_dev+0x13e/0x1d0 drivers/base/bus.c:383 pci_add_dynid+0x2b5/0x370 drivers/pci/pci-driver.c:77 new_id_store+0x2a9/0x5b0 drivers/pci/pci-driver.c:249 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_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f77de6a8eb7 Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffc5b704f00 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000555567013400 RCX: 00007f77de6a8eb7 RDX: 0000000000000009 RSI: 00007ffc5b704fa0 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc5b704fa0 R13: 0000000000008086 R14: 000000000000100e R15: 0000555567015903 Modules linked in: CR2: ffffc90003b39640 ---[ 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 ee e9 59 0a 31 ff 89 ee e8 d5 b6 e3 fc 85 ed 75 28 e8 5c bc e3 fc bb ff ff ff ff 89 d8 5b 5d c3 cc cc cc cc e8 49 bc e3 fc <8b> 1b e8 42 bc e3 fc 89 d8 5b 5d e9 19 4d 97 06 e8 34 bc e3 fc 83 RSP: 0018:ffffc90003ab76f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffc90003b39640 RCX: ffffffff8526b6cb RDX: ffff88802bc42540 RSI: ffffffff8526b737 RDI: ffff88802bc42540 RBP: ffff88802efa9838 R08: 0000000000000007 R09: 000000000003ffff R10: ffffc90003b39640 R11: 0000000000000000 R12: 1ffff92000756eed R13: ffff8880231120d0 R14: ffff88802efa9880 R15: ffffc90003ab7788 FS: 0000555567013400(0000) GS:ffff8880d5fec000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90003b39640 CR3: 00000000364fc000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 2d ee e9 59 0a sub $0xa59e9ee,%eax 5: 31 ff xor %edi,%edi 7: 89 ee mov %ebp,%esi 9: e8 d5 b6 e3 fc call 0xfce3b6e3 e: 85 ed test %ebp,%ebp 10: 75 28 jne 0x3a 12: e8 5c bc e3 fc call 0xfce3bc73 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 bc e3 fc call 0xfce3bc73 * 2a: 8b 1b mov (%rbx),%ebx <-- trapping instruction 2c: e8 42 bc e3 fc call 0xfce3bc73 31: 89 d8 mov %ebx,%eax 33: 5b pop %rbx 34: 5d pop %rbp 35: e9 19 4d 97 06 jmp 0x6974d53 3a: e8 34 bc e3 fc call 0xfce3bc73 3f: 83 .byte 0x83