ioremap: invalid physical address 8000000000000000 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4590 at arch/x86/mm/ioremap.c:201 __ioremap_caller+0x4f8/0x620 arch/x86/mm/ioremap.c:199 Modules linked in: CPU: 0 PID: 4590 Comm: syz.2.45 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:__ioremap_caller+0x4f8/0x620 arch/x86/mm/ioremap.c:201 Code: 85 ff 00 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 19 b9 48 00 48 8b 74 24 60 48 c7 c7 60 ae 89 8a e8 f8 28 ef 08 <0f> 0b eb 8d 4c 8b 74 24 28 41 81 e6 ff 0f 00 00 4d 01 ee 48 8b 7c RSP: 0018:ffffc90004eb78e0 EFLAGS: 00010246 RAX: 0000000000000032 RBX: 1ffff920009d6f00 RCX: 2ecca7ef36981300 RDX: ffffc90005f89000 RSI: 0000000000004844 RDI: 0000000000004845 RBP: ffffc90004eb79f0 R08: ffffc90004eb75e7 R09: 1ffff920009d6ebc R10: dffffc0000000000 R11: fffff520009d6ebd R12: 000000000000002e R13: 8000000000000000 R14: 0000000000020000 R15: dffffc0000000000 FS: 00007f51a6df66c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f19cfdcaa10 CR3: 000000002be56000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: phram_map drivers/mtd/devices/phram.c:91 [inline] register_device+0x129/0x570 drivers/mtd/devices/phram.c:138 phram_setup+0x78a/0xa30 drivers/mtd/devices/phram.c:323 param_attr_store+0x20a/0x300 kernel/params.c:585 module_attr_store+0x5b/0x80 kernel/params.c:905 kernfs_fop_write_iter+0x3a0/0x520 fs/kernfs/file.c:352 call_write_iter include/linux/fs.h:2271 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x482/0x9a0 fs/read_write.c:584 ksys_write+0x14d/0x260 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f51a8b9e559 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:00007f51a6df6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f51a8e25fa0 RCX: 00007f51a8b9e559 RDX: 000000000000001e RSI: 0000200000000b00 RDI: 0000000000000003 RBP: 00007f51a8c35ab8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f51a8e26038 R14: 00007f51a8e25fa0 R15: 00007ffdad722918