program:
mkdirat(0xffffffffffffff9c, &(0x7f0000000580)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f00000005c0)='./sys\x00', &(0x7f0000000600)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000000680)='./sys/module/phram/parameters/phram\x00', 0x1, 0x0)
write(r0, &(0x7f00000006c0)='test,0x8000000000000000,0x1000\x00', 0x1e)
[ 103.942049][ T4664] Bluetooth: hci0: command tx timeout
[ 104.008239][ T5346] ioremap: invalid physical address 8000000000000000
[ 104.008375][ T5346] ------------[ cut here ]------------
[ 104.008382][ T5346] 1
[ 104.008388][ T5346] WARNING: arch/x86/mm/ioremap.c:206 at __ioremap_caller+0x51e/0x620, CPU#0: syz.0.0/5346
[ 104.018936][ T5346] Modules linked in:
[ 104.020611][ T5346] CPU: 0 UID: 0 PID: 5346 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 104.024390][ T5346] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 104.029303][ T5346] RIP: 0010:__ioremap_caller+0x51e/0x620
[ 104.031843][ T5346] Code: 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 ca 38 94 0a cc e8 b4 56 4f 00 48 8b 74 24 60 48 c7 c7 a0 0c 2a 8c e8 b3 dd 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
[ 104.039977][ T5346] RSP: 0018:ffffc9000ddc7880 EFLAGS: 00010246
[ 104.042897][ T5346] RAX: 0000000000000032 RBX: 1ffff92001bb8f00 RCX: 135082c286a3cd00
[ 104.046582][ T5346] RDX: ffffc9000ef52000 RSI: 0000000000000319 RDI: 000000000000031a
[ 104.050363][ T5346] RBP: ffffc9000ddc7990 R08: ffffc9000ddc7607 R09: 1ffff92001bb8ec0
[ 104.053976][ T5346] R10: dffffc0000000000 R11: fffff52001bb8ec1 R12: 0000000000020000
[ 104.057655][ T5346] R13: 000000000000002e R14: 8000000000000fff R15: dffffc0000000000
[ 104.061426][ T5346] FS: 00007fb40174b6c0(0000) GS:ffff88808a9ee000(0000) knlGS:0000000000000000
[ 104.065417][ T5346] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 104.068499][ T5346] CR2: 00007fb400a1c4a0 CR3: 0000000045f94000 CR4: 0000000000352ef0
[ 104.071995][ T5346] Call Trace:
[ 104.073560][ T5346]
[ 104.074953][ T5346] ? register_device+0x12c/0x570
[ 104.077379][ T5346] ? __pfx___ioremap_caller+0x10/0x10
[ 104.079964][ T5346] ? __kasan_kmalloc+0x93/0xb0
[ 104.082114][ T5346] ? __kmalloc_cache_noprof+0x31c/0x600
[ 104.084419][ T5346] ? __kmalloc_cache_noprof+0x148/0x600
[ 104.086974][ T5346] ? register_device+0xc6/0x570
[ 104.089277][ T5346] ? register_device+0xc6/0x570
[ 104.091496][ T5346] register_device+0x12c/0x570
[ 104.094106][ T5346] phram_setup+0x412/0x620
[ 104.096544][ T5346] ? __pfx_phram_setup+0x10/0x10
[ 104.098945][ T5346] ? __pfx___mutex_lock+0x10/0x10
[ 104.101455][ T5346] ? sysfs_file_kobj+0x1a/0x230
[ 104.103591][ T5346] param_attr_store+0x214/0x310
[ 104.105734][ T5346] ? __pfx_param_attr_store+0x10/0x10
[ 104.108253][ T5346] ? __pfx_sysfs_kf_write+0x10/0x10
[ 104.110620][ T5346] module_attr_store+0x65/0x90
[ 104.112755][ T5346] kernfs_fop_write_iter+0x3a4/0x540
[ 104.115172][ T5346] vfs_write+0x612/0xba0
[ 104.117233][ T5346] ? __pfx_vfs_write+0x10/0x10
[ 104.119699][ T5346] ? __fget_files+0x3a2/0x420
[ 104.121951][ T5346] ? __fget_files+0x2a/0x420
[ 104.124024][ T5346] ? fdget+0x1ac/0x250
[ 104.125972][ T5346] ksys_write+0x150/0x270
[ 104.128128][ T5346] ? __pfx_ksys_write+0x10/0x10
[ 104.130338][ T5346] do_syscall_64+0x171/0x540
[ 104.132384][ T5346] ? trace_irq_disable+0x3b/0x140
[ 104.134503][ T5346] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 104.137071][ T5346] ? clear_bhb_loop+0x70/0xc0
[ 104.139115][ T5346] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 104.141698][ T5346] RIP: 0033:0x7fb4007a9559
[ 104.143725][ T5346] 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
[ 104.152429][ T5346] RSP: 002b:00007fb40174afe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 104.156061][ T5346] RAX: ffffffffffffffda RBX: 00007fb400a25fa0 RCX: 00007fb4007a9559
[ 104.159613][ T5346] RDX: 000000000000001e RSI: 00002000000006c0 RDI: 0000000000000003
[ 104.162891][ T5346] RBP: 00007fb400838136 R08: 0000000000000000 R09: 0000000000000000
[ 104.166320][ T5346] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 104.169903][ T5346] R13: 00007fb400a26038 R14: 00007fb400a25fa0 R15: 00007ffeb716ea98
[ 104.173486][ T5346]
[ 104.175125][ T5346] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 104.178455][ T5346] CPU: 0 UID: 0 PID: 5346 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 104.182342][ T5346] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 104.186799][ T5346] Call Trace:
[ 104.188340][ T5346]
[ 104.189702][ T5346] vpanic+0x26f/0x710
[ 104.191597][ T5346] panic+0xc5/0xd0
[ 104.193201][ T5346] ? __pfx_panic+0x10/0x10
[ 104.195207][ T5346] __warn+0x315/0x4c0
[ 104.196994][ T5346] ? __ioremap_caller+0x51e/0x620
[ 104.199307][ T5346] ? __ioremap_caller+0x51e/0x620
[ 104.201774][ T5346] __report_bug+0x276/0x570
[ 104.203770][ T5346] ? __ioremap_caller+0x51e/0x620
[ 104.205864][ T5346] ? __pfx___report_bug+0x10/0x10
[ 104.207936][ T5346] ? irq_work_queue+0xbf/0x150
[ 104.209910][ T5346] ? vprintk_emit+0x55c/0x5f0
[ 104.212156][ T5346] ? __kmalloc_cache_noprof+0x31c/0x600
[ 104.214442][ T5346] ? register_device+0xc6/0x570
[ 104.216495][ T5346] ? __pfx_vprintk_emit+0x10/0x10
[ 104.218902][ T5346] ? ksys_write+0x150/0x270
[ 104.221059][ T5346] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 104.223751][ T5346] ? __ioremap_caller+0x51e/0x620
[ 104.225975][ T5346] report_bug+0x16b/0x220
[ 104.227921][ T5346] ? __ioremap_caller+0x51e/0x620
[ 104.230204][ T5346] ? __ioremap_caller+0x520/0x620
[ 104.232544][ T5346] handle_bug+0x9c/0x200
[ 104.234373][ T5346] exc_invalid_op+0x1a/0x50
[ 104.236411][ T5346] asm_exc_invalid_op+0x1a/0x20
[ 104.238576][ T5346] RIP: 0010:__ioremap_caller+0x51e/0x620
[ 104.241204][ T5346] Code: 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 ca 38 94 0a cc e8 b4 56 4f 00 48 8b 74 24 60 48 c7 c7 a0 0c 2a 8c e8 b3 dd 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
[ 104.249684][ T5346] RSP: 0018:ffffc9000ddc7880 EFLAGS: 00010246
[ 104.252453][ T5346] RAX: 0000000000000032 RBX: 1ffff92001bb8f00 RCX: 135082c286a3cd00
[ 104.256032][ T5346] RDX: ffffc9000ef52000 RSI: 0000000000000319 RDI: 000000000000031a
[ 104.259380][ T5346] RBP: ffffc9000ddc7990 R08: ffffc9000ddc7607 R09: 1ffff92001bb8ec0
[ 104.262890][ T5346] R10: dffffc0000000000 R11: fffff52001bb8ec1 R12: 0000000000020000
[ 104.266339][ T5346] R13: 000000000000002e R14: 8000000000000fff R15: dffffc0000000000
[ 104.269915][ T5346] ? register_device+0x12c/0x570
[ 104.272054][ T5346] ? __pfx___ioremap_caller+0x10/0x10
[ 104.274418][ T5346] ? __kasan_kmalloc+0x93/0xb0
[ 104.276751][ T5346] ? __kmalloc_cache_noprof+0x31c/0x600
[ 104.279291][ T5346] ? __kmalloc_cache_noprof+0x148/0x600
[ 104.281748][ T5346] ? register_device+0xc6/0x570
[ 104.283820][ T5346] ? register_device+0xc6/0x570
[ 104.285908][ T5346] register_device+0x12c/0x570
[ 104.287936][ T5346] phram_setup+0x412/0x620
[ 104.289936][ T5346] ? __pfx_phram_setup+0x10/0x10
[ 104.292409][ T5346] ? __pfx___mutex_lock+0x10/0x10
[ 104.294755][ T5346] ? sysfs_file_kobj+0x1a/0x230
[ 104.296997][ T5346] param_attr_store+0x214/0x310
[ 104.299167][ T5346] ? __pfx_param_attr_store+0x10/0x10
[ 104.301663][ T5346] ? __pfx_sysfs_kf_write+0x10/0x10
[ 104.303956][ T5346] module_attr_store+0x65/0x90
[ 104.306086][ T5346] kernfs_fop_write_iter+0x3a4/0x540
[ 104.308529][ T5346] vfs_write+0x612/0xba0
[ 104.310426][ T5346] ? __pfx_vfs_write+0x10/0x10
[ 104.312611][ T5346] ? __fget_files+0x3a2/0x420
[ 104.317069][ T5346] ? __fget_files+0x2a/0x420
[ 104.319585][ T5346] ? fdget+0x1ac/0x250
[ 104.321612][ T5346] ksys_write+0x150/0x270
[ 104.323739][ T5346] ? __pfx_ksys_write+0x10/0x10
[ 104.325943][ T5346] do_syscall_64+0x171/0x540
[ 104.328218][ T5346] ? trace_irq_disable+0x3b/0x140
[ 104.330605][ T5346] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 104.333360][ T5346] ? clear_bhb_loop+0x70/0xc0
[ 104.335455][ T5346] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 104.338255][ T5346] RIP: 0033:0x7fb4007a9559
[ 104.340481][ T5346] 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
[ 104.348770][ T5346] RSP: 002b:00007fb40174afe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 104.352478][ T5346] RAX: ffffffffffffffda RBX: 00007fb400a25fa0 RCX: 00007fb4007a9559
[ 104.355929][ T5346] RDX: 000000000000001e RSI: 00002000000006c0 RDI: 0000000000000003
[ 104.359558][ T5346] RBP: 00007fb400838136 R08: 0000000000000000 R09: 0000000000000000
[ 104.363299][ T5346] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 104.366722][ T5346] R13: 00007fb400a26038 R14: 00007fb400a25fa0 R15: 00007ffeb716ea98
[ 104.370894][ T5346]
[ 104.373324][ T5346] Kernel Offset: disabled
[ 104.375458][ T5346] Rebooting in 86400 seconds..