alloc_empty_file+0x6d/0x170 fs/file_table.c:150 alloc_file+0x5e/0x4d0 fs/file_table.c:192 alloc_file_pseudo+0x165/0x250 fs/file_table.c:231 generic_make_request: Trying to write to read-only block-device sda1 (partno 1) __shmem_file_setup.part.0+0x102/0x2b0 mm/shmem.c:3966 WARNING: CPU: 0 PID: 7 at block/blk-core.c:2182 bio_check_ro block/blk-core.c:2182 [inline] WARNING: CPU: 0 PID: 7 at block/blk-core.c:2182 blk_partition_remap block/blk-core.c:2233 [inline] WARNING: CPU: 0 PID: 7 at block/blk-core.c:2182 generic_make_request_checks+0x1f9b/0x22e0 block/blk-core.c:2284 __shmem_file_setup mm/shmem.c:3949 [inline] shmem_file_setup+0x61/0x90 mm/shmem.c:3996 Kernel panic - not syncing: panic_on_warn set ... __do_sys_memfd_create mm/memfd.c:325 [inline] __se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45deb9 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f2b1039ca28 EFLAGS: 00000246 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000020000340 RCX: 000000000045deb9 RDX: 0000000020000370 RSI: 0000000000000000 RDI: 00000000004c2927 RBP: 0000000000040000 R08: 0000000020000370 R09: 0000000000000000 R10: fe03f80fe03f80ff R11: 0000000000000246 R12: 0000000000000002 R13: 0000000020000180 R14: 0000000020000340 R15: 0000000020000140 CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 4.19.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-8:0) Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x61 kernel/panic.c:541 report_bug+0x262/0x2b0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:bio_check_ro block/blk-core.c:2182 [inline] RIP: 0010:blk_partition_remap block/blk-core.c:2233 [inline] RIP: 0010:generic_make_request_checks+0x1f9b/0x22e0 block/blk-core.c:2284 Code: 2c 03 00 00 45 8b be 9c 04 00 00 48 8d 74 24 68 48 89 ef e8 77 24 06 00 48 c7 c7 a0 ff b1 88 48 89 c6 44 89 fa e8 10 cb ce fd <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 0f b6 04 RSP: 0018:ffff8880b5a57200 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8880ade6c000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814fdba1 RDI: ffffed1016b4ae32 RBP: ffff8880aee34a80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880aee34ab0 R13: ffff8880aee34a88 R14: ffff8880a88a6a00 R15: 0000000000000001 generic_make_request+0x23f/0xdf0 block/blk-core.c:2411 submit_bio+0xb1/0x430 block/blk-core.c:2575 ext4_io_submit+0x181/0x210 fs/ext4/page-io.c:356 ext4_writepages+0x1130/0x37f0 fs/ext4/inode.c:2829 do_writepages+0xe5/0x290 mm/page-writeback.c:2344 __writeback_single_inode+0x113/0x1340 fs/fs-writeback.c:1382 writeback_sb_inodes+0x537/0xef0 fs/fs-writeback.c:1646 wb_writeback+0x28d/0xcc0 fs/fs-writeback.c:1819 wb_do_writeback fs/fs-writeback.c:1964 [inline] wb_workfn+0x2f0/0x12f0 fs/fs-writeback.c:2005 process_one_work+0x864/0x1570 kernel/workqueue.c:2155 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Kernel Offset: disabled Rebooting in 86400 seconds..