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#1: syz.1.36/6013 Modules linked in: CPU: 1 UID: 0 PID: 6013 Comm: syz.1.36 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/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 c3 cc cc cc cc cc e8 e4 14 4e 00 48 8b 74 24 60 48 c7 c7 80 0c 8a 8b e8 c3 a3 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:ffffc9000614f880 EFLAGS: 00010246 RAX: 0000000000000032 RBX: 1ffff92000c29f00 RCX: e74bcc5b07699f00 RDX: ffffc9000f50a000 RSI: 0000000000000294 RDI: 0000000000000295 RBP: ffffc9000614f990 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000c29ec1 R12: 0000000000020000 R13: 000000000000002e R14: 8000000000000fff R15: dffffc0000000000 FS: 00007f8d8b9256c0(0000) GS:ffff888124816000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb4a13a5eb8 CR3: 000000002b126000 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+0x3a5/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x61e/0xbb0 fs/read_write.c:687 ksys_write+0x156/0x270 fs/read_write.c:739 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:0x7f8d8d6ef559 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:00007f8d8b925028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8d8d976090 RCX: 00007f8d8d6ef559 RDX: 000000000000001e RSI: 0000200000000600 RDI: 0000000000000008 RBP: 00007f8d8d786b50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8d8d976128 R14: 00007f8d8d976090 R15: 00007ffe2fe9a338