BUG: unable to handle page fault for address: 000000000004b640 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 5a354067 P4D 5a354067 PUD 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5926 Comm: syz.0.8 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 0e 3b 5a 0a 31 ff 89 ee e8 55 f0 e3 fc 85 ed 75 28 e8 dc f5 e3 fc bb ff ff ff ff 89 d8 5b 5d e9 ce 03 98 06 e8 c9 f5 e3 fc <8b> 1b e8 c2 f5 e3 fc 89 d8 5b 5d c3 cc cc cc cc e8 b4 f5 e3 fc 83 RSP: 0018:ffffc900052978d0 EFLAGS: 00010283 RAX: 0000000000028219 RBX: 000000000004b640 RCX: ffffc9000423a000 RDX: 0000000000080000 RSI: ffffffff85266f17 RDI: ffff88802c5e2540 RBP: ffff8880561d3038 R08: 0000000000000007 R09: 000000000003ffff R10: 000000000004b640 R11: 0000000000000000 R12: 1ffff92000a52f29 R13: ffff8880363bc0d0 R14: ffff8880561d3080 R15: ffffc90005297968 FS: 00007f90355ed6c0(0000) GS:ffff8880d5dd8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000004b640 CR3: 000000005a37b000 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_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:0x7f903479e019 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:00007f90355ed028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9034a25fa0 RCX: 00007f903479e019 RDX: 000000000000000d RSI: 00002000000001c0 RDI: 0000000000000005 RBP: 00007f903483500c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9034a26038 R14: 00007f9034a25fa0 R15: 00007fffa1fcf328 Modules linked in: CR2: 000000000004b640 ---[ 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 0e 3b 5a 0a 31 ff 89 ee e8 55 f0 e3 fc 85 ed 75 28 e8 dc f5 e3 fc bb ff ff ff ff 89 d8 5b 5d e9 ce 03 98 06 e8 c9 f5 e3 fc <8b> 1b e8 c2 f5 e3 fc 89 d8 5b 5d c3 cc cc cc cc e8 b4 f5 e3 fc 83 RSP: 0018:ffffc900052978d0 EFLAGS: 00010283 RAX: 0000000000028219 RBX: 000000000004b640 RCX: ffffc9000423a000 RDX: 0000000000080000 RSI: ffffffff85266f17 RDI: ffff88802c5e2540 RBP: ffff8880561d3038 R08: 0000000000000007 R09: 000000000003ffff R10: 000000000004b640 R11: 0000000000000000 R12: 1ffff92000a52f29 R13: ffff8880363bc0d0 R14: ffff8880561d3080 R15: ffffc90005297968 FS: 00007f90355ed6c0(0000) GS:ffff8880d5dd8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000004b640 CR3: 000000005a37b000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 2d 0e 3b 5a 0a sub $0xa5a3b0e,%eax 5: 31 ff xor %edi,%edi 7: 89 ee mov %ebp,%esi 9: e8 55 f0 e3 fc call 0xfce3f063 e: 85 ed test %ebp,%ebp 10: 75 28 jne 0x3a 12: e8 dc f5 e3 fc call 0xfce3f5f3 17: bb ff ff ff ff mov $0xffffffff,%ebx 1c: 89 d8 mov %ebx,%eax 1e: 5b pop %rbx 1f: 5d pop %rbp 20: e9 ce 03 98 06 jmp 0x69803f3 25: e8 c9 f5 e3 fc call 0xfce3f5f3 * 2a: 8b 1b mov (%rbx),%ebx <-- trapping instruction 2c: e8 c2 f5 e3 fc call 0xfce3f5f3 31: 89 d8 mov %ebx,%eax 33: 5b pop %rbx 34: 5d pop %rbp 35: c3 ret 36: cc int3 37: cc int3 38: cc int3 39: cc int3 3a: e8 b4 f5 e3 fc call 0xfce3f5f3 3f: 83 .byte 0x83