program:
r0 = syz_open_dev$vim2m(&(0x7f0000000000), 0x7, 0x2)
ioctl$vim2m_VIDIOC_ENUM_FRAMESIZES(r0, 0xc02c564a, &(0x7f0000000080)={0x9, 0x3831354f, 0x1, @stepwise={0xda, 0x100, 0x8000, 0x80000000, 0x0, 0x9}})
mmap$IORING_OFF_SQ_RING(0x110c230000, 0x8000002, 0x2000007, 0x401d031, 0xffffffffffffffff, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0x0)
socket$netlink(0x10, 0x3, 0x0)
socket$packet(0x11, 0x2, 0x300)
socket$packet(0x11, 0x2, 0x300)
bpf$PROG_LOAD(0x5, &(0x7f0000000880)={0xc, 0x2, &(0x7f0000000940)=ANY=[@ANYBLOB="850000002200000095"], &(0x7f0000000980)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, @fallback, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x80)
r1 = socket$rxrpc(0x21, 0x2, 0x2)
mkdirat(0xffffffffffffff9c, &(0x7f00000009c0)='./proc\x00', 0x1ff)
r2 = openat(0xffffffffffffff9c, &(0x7f0000000a80)='./proc/sys/kernel/printk\x00', 0x1, 0x0)
write(r2, &(0x7f0000000ac0)='0 0', 0x3)
close(r2)
r3 = openat(0xffffffffffffff9c, &(0x7f0000000b00)='./proc/sys/kernel/panic_on_warn\x00', 0x1, 0x0)
close(r3)
mkdirat(0xffffffffffffff9c, &(0x7f0000000b80)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000000bc0)='./sys\x00', &(0x7f0000000c00)='sysfs\x00', 0x0, 0x0)
openat(0xffffffffffffff9c, &(0x7f0000000c40)='./sys/module/kernel/parameters/panic_on_warn\x00', 0x1, 0x0)
r4 = openat(0xffffffffffffff9c, &(0x7f0000000c80)='./sys/module/phram/parameters/phram\x00', 0x1, 0x0)
write(r4, &(0x7f0000000cc0)='test,0x8000000000000000,0x1000\x00', 0x1e)
close(r4)
r5 = socket$rxrpc(0x21, 0x2, 0x2)
bind$rxrpc(r5, 0x0, 0x0)
bind$rxrpc(r1, 0x0, 0x0)
socket$tipc(0x1e, 0x2, 0x0)
r6 = socket$nl_route(0x10, 0x3, 0x0)
sendmsg$nl_route(r6, &(0x7f0000000d40)={0x0, 0x0, &(0x7f0000000d80)={0x0, 0x40c}}, 0x0)
[ 93.799610][ T48] Bluetooth: hci0: command tx timeout
[ 93.811018][ T9] cfg80211: failed to load regulatory.db
[ 93.937720][ T5344] ioremap: invalid physical address 8000000000000000
[ 93.937814][ T5344] ------------[ cut here ]------------
[ 93.937819][ T5344] 1
[ 93.937822][ T5344] WARNING: arch/x86/mm/ioremap.c:206 at __ioremap_caller+0x51e/0x620, CPU#0: syz.0.0/5344
[ 93.948774][ T5344] Modules linked in:
[ 93.950694][ T5344] CPU: 0 UID: 0 PID: 5344 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 93.954627][ T5344] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 93.959106][ T5344] RIP: 0010:__ioremap_caller+0x51e/0x620
[ 93.961553][ T5344] Code: 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 8a 26 90 0a cc e8 c4 4e 4f 00 48 8b 74 24 60 48 c7 c7 20 0c 2a 8c e8 e3 ef 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
[ 93.969843][ T5344] RSP: 0018:ffffc9000e4af880 EFLAGS: 00010246
[ 93.972497][ T5344] RAX: 0000000000000032 RBX: 1ffff92001c95f00 RCX: 6d4d85ff4fb20100
[ 93.976386][ T5344] RDX: ffffc9000ef42000 RSI: 000000000000029f RDI: 00000000000002a0
[ 93.980318][ T5344] RBP: ffffc9000e4af990 R08: ffffc9000e4af607 R09: 1ffff92001c95ec0
[ 93.983896][ T5344] R10: dffffc0000000000 R11: fffff52001c95ec1 R12: 0000000000020000
[ 93.987568][ T5344] R13: 000000000000002e R14: 8000000000000fff R15: dffffc0000000000
[ 93.991168][ T5344] FS: 00007f2612bf56c0(0000) GS:ffff88808aa01000(0000) knlGS:0000000000000000
[ 93.995732][ T5344] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 93.998716][ T5344] CR2: 00007f2616a21890 CR3: 0000000013682000 CR4: 0000000000352ef0
[ 94.002021][ T5344] Call Trace:
[ 94.003492][ T5344]
[ 94.004804][ T5344] ? register_device+0x12c/0x570
[ 94.007068][ T5344] ? __pfx___ioremap_caller+0x10/0x10
[ 94.009463][ T5344] ? __kasan_kmalloc+0x93/0xb0
[ 94.011522][ T5344] ? __kmalloc_cache_noprof+0x31c/0x600
[ 94.013907][ T5344] ? __kmalloc_cache_noprof+0x148/0x600
[ 94.016418][ T5344] ? register_device+0xc6/0x570
[ 94.018526][ T5344] ? register_device+0xc6/0x570
[ 94.020659][ T5344] register_device+0x12c/0x570
[ 94.022696][ T5344] phram_setup+0x412/0x620
[ 94.024663][ T5344] ? __pfx_phram_setup+0x10/0x10
[ 94.027026][ T5344] ? __pfx___mutex_lock+0x10/0x10
[ 94.029391][ T5344] ? sysfs_file_kobj+0x1a/0x230
[ 94.031656][ T5344] param_attr_store+0x214/0x310
[ 94.033810][ T5344] ? __pfx_param_attr_store+0x10/0x10
[ 94.037393][ T5344] ? __pfx_sysfs_kf_write+0x10/0x10
[ 94.039758][ T5344] module_attr_store+0x65/0x90
[ 94.042025][ T5344] kernfs_fop_write_iter+0x3a4/0x540
[ 94.044606][ T5344] vfs_write+0x612/0xba0
[ 94.046712][ T5344] ? __pfx_vfs_write+0x10/0x10
[ 94.048778][ T5344] ? __fget_files+0x3a2/0x420
[ 94.050851][ T5344] ? __fget_files+0x2a/0x420
[ 94.052842][ T5344] ? fdget+0x1ac/0x250
[ 94.054775][ T5344] ksys_write+0x150/0x270
[ 94.056974][ T5344] ? __pfx_ksys_write+0x10/0x10
[ 94.059263][ T5344] do_syscall_64+0x166/0x520
[ 94.061344][ T5344] ? trace_irq_disable+0x3b/0x140
[ 94.063815][ T5344] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 94.066661][ T5344] ? clear_bhb_loop+0x70/0xc0
[ 94.068779][ T5344] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 94.071222][ T5344] RIP: 0033:0x7f261679f559
[ 94.073294][ T5344] 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
[ 94.081544][ T5344] RSP: 002b:00007f2612bf4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 94.085459][ T5344] RAX: ffffffffffffffda RBX: 00007f2616a25fa0 RCX: 00007f261679f559
[ 94.088977][ T5344] RDX: 000000000000001e RSI: 0000200000000cc0 RDI: 000000000000000a
[ 94.092415][ T5344] RBP: 00007f2616836b50 R08: 0000000000000000 R09: 0000000000000000
[ 94.095869][ T5344] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 94.099340][ T5344] R13: 00007f2616a26038 R14: 00007f2616a25fa0 R15: 00007ffe8bc2b5e8
[ 94.102696][ T5344]
[ 94.104016][ T5344] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 94.107193][ T5344] CPU: 0 UID: 0 PID: 5344 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 94.111065][ T5344] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 94.115496][ T5344] Call Trace:
[ 94.116965][ T5344]
[ 94.118301][ T5344] vpanic+0x26f/0x710
[ 94.120072][ T5344] panic+0xc5/0xd0
[ 94.121777][ T5344] ? __pfx_panic+0x10/0x10
[ 94.123797][ T5344] __warn+0x315/0x4c0
[ 94.125576][ T5344] ? __ioremap_caller+0x51e/0x620
[ 94.127700][ T5344] ? __ioremap_caller+0x51e/0x620
[ 94.130016][ T5344] __report_bug+0x276/0x570
[ 94.132036][ T5344] ? __ioremap_caller+0x51e/0x620
[ 94.134293][ T5344] ? __pfx___report_bug+0x10/0x10
[ 94.136593][ T5344] ? irq_work_queue+0xbf/0x150
[ 94.138736][ T5344] ? vprintk_emit+0x55c/0x5f0
[ 94.140844][ T5344] ? __kmalloc_cache_noprof+0x31c/0x600
[ 94.143279][ T5344] ? register_device+0xc6/0x570
[ 94.145465][ T5344] ? __pfx_vprintk_emit+0x10/0x10
[ 94.147635][ T5344] ? ksys_write+0x150/0x270
[ 94.149655][ T5344] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 94.152434][ T5344] ? __ioremap_caller+0x51e/0x620
[ 94.154743][ T5344] report_bug+0x16b/0x220
[ 94.156640][ T5344] ? __ioremap_caller+0x51e/0x620
[ 94.158840][ T5344] ? __ioremap_caller+0x520/0x620
[ 94.161025][ T5344] handle_bug+0x9c/0x200
[ 94.163010][ T5344] exc_invalid_op+0x1a/0x50
[ 94.164993][ T5344] asm_exc_invalid_op+0x1a/0x20
[ 94.167220][ T5344] RIP: 0010:__ioremap_caller+0x51e/0x620
[ 94.169759][ T5344] Code: 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 8a 26 90 0a cc e8 c4 4e 4f 00 48 8b 74 24 60 48 c7 c7 20 0c 2a 8c e8 e3 ef 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
[ 94.177835][ T5344] RSP: 0018:ffffc9000e4af880 EFLAGS: 00010246
[ 94.180637][ T5344] RAX: 0000000000000032 RBX: 1ffff92001c95f00 RCX: 6d4d85ff4fb20100
[ 94.184188][ T5344] RDX: ffffc9000ef42000 RSI: 000000000000029f RDI: 00000000000002a0
[ 94.187728][ T5344] RBP: ffffc9000e4af990 R08: ffffc9000e4af607 R09: 1ffff92001c95ec0
[ 94.191309][ T5344] R10: dffffc0000000000 R11: fffff52001c95ec1 R12: 0000000000020000
[ 94.194928][ T5344] R13: 000000000000002e R14: 8000000000000fff R15: dffffc0000000000
[ 94.198259][ T5344] ? register_device+0x12c/0x570
[ 94.200449][ T5344] ? __pfx___ioremap_caller+0x10/0x10
[ 94.202779][ T5344] ? __kasan_kmalloc+0x93/0xb0
[ 94.204878][ T5344] ? __kmalloc_cache_noprof+0x31c/0x600
[ 94.207304][ T5344] ? __kmalloc_cache_noprof+0x148/0x600
[ 94.209754][ T5344] ? register_device+0xc6/0x570
[ 94.211899][ T5344] ? register_device+0xc6/0x570
[ 94.214064][ T5344] register_device+0x12c/0x570
[ 94.216298][ T5344] phram_setup+0x412/0x620
[ 94.218285][ T5344] ? __pfx_phram_setup+0x10/0x10
[ 94.220502][ T5344] ? __pfx___mutex_lock+0x10/0x10
[ 94.222763][ T5344] ? sysfs_file_kobj+0x1a/0x230
[ 94.224951][ T5344] param_attr_store+0x214/0x310
[ 94.227225][ T5344] ? __pfx_param_attr_store+0x10/0x10
[ 94.229601][ T5344] ? __pfx_sysfs_kf_write+0x10/0x10
[ 94.231863][ T5344] module_attr_store+0x65/0x90
[ 94.233961][ T5344] kernfs_fop_write_iter+0x3a4/0x540
[ 94.236447][ T5344] vfs_write+0x612/0xba0
[ 94.238531][ T5344] ? __pfx_vfs_write+0x10/0x10
[ 94.240568][ T5344] ? __fget_files+0x3a2/0x420
[ 94.242703][ T5344] ? __fget_files+0x2a/0x420
[ 94.244761][ T5344] ? fdget+0x1ac/0x250
[ 94.246611][ T5344] ksys_write+0x150/0x270
[ 94.248502][ T5344] ? __pfx_ksys_write+0x10/0x10
[ 94.250651][ T5344] do_syscall_64+0x166/0x520
[ 94.252662][ T5344] ? trace_irq_disable+0x3b/0x140
[ 94.254973][ T5344] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 94.257865][ T5344] ? clear_bhb_loop+0x70/0xc0
[ 94.260491][ T5344] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 94.263136][ T5344] RIP: 0033:0x7f261679f559
[ 94.265148][ T5344] 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
[ 94.273556][ T5344] RSP: 002b:00007f2612bf4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 94.277172][ T5344] RAX: ffffffffffffffda RBX: 00007f2616a25fa0 RCX: 00007f261679f559
[ 94.280537][ T5344] RDX: 000000000000001e RSI: 0000200000000cc0 RDI: 000000000000000a
[ 94.283904][ T5344] RBP: 00007f2616836b50 R08: 0000000000000000 R09: 0000000000000000
[ 94.287333][ T5344] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 94.290773][ T5344] R13: 00007f2616a26038 R14: 00007f2616a25fa0 R15: 00007ffe8bc2b5e8
[ 94.294202][ T5344]
[ 94.295971][ T5344] Kernel Offset: disabled
[ 94.297887][ T5344] Rebooting in 86400 seconds..