sshd (6068) used greatest stack depth: 15744 bytes left ------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 0 PID: 6111 at block/blk-core.c:2170 bio_check_ro block/blk-core.c:2167 [inline] WARNING: CPU: 0 PID: 6111 at block/blk-core.c:2170 generic_make_request_checks+0xef9/0x26c0 block/blk-core.c:2272 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 6111 Comm: syz-executor745 Not tainted 4.20.0-rc4+ #129 kobject: 'loop0' (0000000072baee0a): fill_kobj_path: path = '/devices/virtual/block/loop0' Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x244/0x39d lib/dump_stack.c:113 panic+0x2ad/0x55c kernel/panic.c:188 __warn.cold.8+0x20/0x45 kernel/panic.c:540 report_bug+0x254/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969 RIP: 0010:bio_check_ro block/blk-core.c:2167 [inline] RIP: 0010:generic_make_request_checks+0xef9/0x26c0 block/blk-core.c:2272 Code: 8b ad e4 04 00 00 4c 8d b5 78 ff ff ff 48 89 df 4c 89 f6 e8 99 93 07 00 48 c7 c7 20 2b 5f 88 48 89 c6 44 89 ea e8 57 d0 cf fd <0f> 0b e9 c1 f4 ff ff e8 fb 6f 06 fe e8 a6 47 f0 fd e8 f1 6f 06 fe RSP: 0018:ffff8881b1c96010 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8881b1e8fc80 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8165eaf5 RDI: 0000000000000005 RBP: ffff8881b1c96310 R08: ffff8881be3c4700 R09: ffffed103b5c3ef8 R10: ffffed103b5c3ef8 R11: ffff8881dae1f7c7 R12: ffff8881b1e8fc88 R13: 0000000000000000 R14: ffff8881b1c96288 R15: ffff8881d1650000 generic_make_request+0x2c7/0x18a0 block/blk-core.c:2395 submit_bio+0xba/0x460 block/blk-core.c:2560 submit_bh_wbc+0x5de/0x790 fs/buffer.c:3087 __block_write_full_page+0x93b/0x14a0 fs/buffer.c:1765 block_write_full_page+0x221/0x270 fs/buffer.c:2955 blkdev_writepage+0x24/0x30 fs/block_dev.c:567 __writepage+0x69/0xe0 mm/page-writeback.c:2289 write_cache_pages+0xc91/0x1e20 mm/page-writeback.c:2230 generic_writepages+0xda/0x150 mm/page-writeback.c:2313 blkdev_writepages+0x1d/0x30 fs/block_dev.c:1957 do_writepages+0x9a/0x1a0 mm/page-writeback.c:2328 __filemap_fdatawrite_range+0x364/0x4a0 mm/filemap.c:411 __filemap_fdatawrite mm/filemap.c:419 [inline] filemap_fdatawrite mm/filemap.c:424 [inline] filemap_write_and_wait+0x44/0xc0 mm/filemap.c:594 __sync_blockdev fs/block_dev.c:449 [inline] sync_blockdev fs/block_dev.c:458 [inline] __blkdev_put+0x202/0x830 fs/block_dev.c:1789 blkdev_put+0x98/0x540 fs/block_dev.c:1858 blkdev_close+0x8b/0xb0 fs/block_dev.c:1865 __fput+0x385/0xa30 fs/file_table.c:278 ____fput+0x15/0x20 fs/file_table.c:309 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x1ad6/0x26d0 kernel/exit.c:867 do_group_exit+0x177/0x440 kernel/exit.c:970 get_signal+0x8b0/0x1980 kernel/signal.c:2517 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x2e5/0x380 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x44a4f9 Code: Bad RIP value. RSP: 002b:00007f5ed7865cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00000000006dbc88 RCX: 000000000044a4f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc88 RBP: 00000000006dbc80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc8c R13: 00007ffe561241cf R14: 00007f5ed78669c0 R15: 00000000006dbd6c Kernel Offset: disabled Rebooting in 86400 seconds..