------------[ cut here ]------------ WARNING: CPU: 1 PID: 6632 at arch/x86/mm/ioremap.c:200 __ioremap_caller+0x4f8/0x620 arch/x86/mm/ioremap.c:198 Modules linked in: CPU: 1 PID: 6632 Comm: syz.3.568 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:__ioremap_caller+0x4f8/0x620 arch/x86/mm/ioremap.c:200 Code: 85 ff 00 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b9 73 43 00 48 8b 74 24 60 48 c7 c7 20 bc 28 8a e8 c8 18 89 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:ffffc90003f17900 EFLAGS: 00010246 RAX: 0000000000000032 RBX: 1ffff920007e2f00 RCX: 0a22a0359ecf7400 RDX: ffffc9000e94b000 RSI: 0000000000001e83 RDI: 0000000000001e84 RBP: ffffc90003f17a10 R08: ffff8880b8f33d7f R09: 1ffff110171e67af R10: dffffc0000000000 R11: ffffed10171e67b0 R12: 000000000000002e R13: 8000000000000000 R14: 0000000000020000 R15: dffffc0000000000 FS: 00007f326bd086c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a8b5d6158 CR3: 000000005f914000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_device drivers/mtd/devices/phram.c:102 [inline] phram_setup+0x87c/0xdf0 drivers/mtd/devices/phram.c:281 param_attr_store+0x20a/0x300 kernel/params.c:594 module_attr_store+0x5b/0x80 kernel/params.c:916 kernfs_fop_write_iter+0x3a8/0x500 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:2179 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x748/0xd70 fs/read_write.c:594 ksys_write+0x153/0x260 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f326dab1559 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:00007f326bd08028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f326dd37fa0 RCX: 00007f326dab1559 RDX: 000000000000001e RSI: 0000200000000880 RDI: 0000000000000003 RBP: 00007f326db48b50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f326dd38038 R14: 00007f326dd37fa0 R15: 00007ffff1defdb8