ioremap: invalid physical address 8000000000000000 ------------[ cut here ]------------ 1 WARNING: arch/x86/mm/ioremap.c:206 at __ioremap_caller+0x51e/0x620 arch/x86/mm/ioremap.c:206, CPU#0: syz.3.2186/11712 Modules linked in: CPU: 0 UID: 0 PID: 11712 Comm: syz.3.2186 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 RIP: 0010:__ioremap_caller+0x51e/0x620 arch/x86/mm/ioremap.c:206 Code: 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 ca 24 a2 0a cc e8 b4 3f 4f 00 48 8b 74 24 60 48 c7 c7 a0 0c 2a 8c e8 23 c0 ad ff 90 <0f> 0b 90 e9 49 fd ff ff 4c 8b 74 24 28 41 81 e6 ff 0f 00 00 4d 01 RSP: 0018:ffffc900038f7880 EFLAGS: 00010246 RAX: 0000000000000032 RBX: 1ffff9200071ef00 RCX: 2be11f929f9d3200 RDX: ffffc90006193000 RSI: 0000000000000254 RDI: 0000000000000255 RBP: ffffc900038f7990 R08: ffffffff9014c84b R09: 1ffffffff2029909 R10: dffffc0000000000 R11: fffffbfff202990a R12: 0000000000020000 R13: 000000000000002e R14: 8000000000000fff R15: dffffc0000000000 FS: 00007f02c40c16c0(0000) GS:ffff888123376000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6097260920 CR3: 0000000026a5e000 CR4: 00000000003526f0 Call Trace: phram_map drivers/mtd/devices/phram.c:92 [inline] register_device+0x12c/0x570 drivers/mtd/devices/phram.c:139 phram_setup+0x412/0x620 drivers/mtd/devices/phram.c:324 param_attr_store+0x214/0x310 kernel/params.c:591 module_attr_store+0x65/0x90 kernel/params.c:906 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:1036 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f02c319f559 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:00007f02c40c1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f02c3425fa0 RCX: 00007f02c319f559 RDX: 000000000000001e RSI: 0000200000000880 RDI: 0000000000000003 RBP: 00007f02c3236b50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f02c3426038 R14: 00007f02c3425fa0 R15: 00007ffeaee51e28