Process accounting resumed ------------[ cut here ]------------ Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 1 PID: 283 at block/blk-core.c:704 bio_check_ro block/blk-core.c:704 [inline] WARNING: CPU: 1 PID: 283 at block/blk-core.c:704 submit_bio_checks+0x1577/0x18d0 block/blk-core.c:832 Modules linked in: CPU: 1 PID: 283 Comm: syz-executor.0 Not tainted 5.10.79 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:bio_check_ro block/blk-core.c:704 [inline] RIP: 0010:submit_bio_checks+0x1577/0x18d0 block/blk-core.c:832 Code: 03 00 00 45 8b a4 24 a4 05 00 00 48 89 ef 48 8d 74 24 50 e8 bb 32 fe ff 48 c7 c7 c0 57 3a 84 48 89 c6 44 89 e2 e8 02 d4 ea 01 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 80 3c 02 RSP: 0018:ffff88803ca1faa0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff11007943f5a RCX: 0000000000000000 RDX: ffff888016a00000 RSI: ffffffff812938f3 RDI: ffffed1007943f46 RBP: ffff88800e007b00 R08: 0000000000000001 R09: ffff88806cf2fb4f R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88800d098000 R14: ffff88800e007b10 R15: ffff88800e007b08 FS: 0000555556e29400(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff744adbe8 CR3: 000000003ca9e000 CR4: 0000000000350ee0 Call Trace: submit_bio_noacct+0x7a/0xce0 block/blk-core.c:1044 submit_bio+0xf3/0x4e0 block/blk-core.c:1129 submit_bh_wbc.constprop.0+0x580/0x770 fs/buffer.c:3054 submit_bh fs/buffer.c:3060 [inline] __sync_dirty_buffer+0x16a/0x3f0 fs/buffer.c:3155 fat_set_state+0x22b/0x310 fs/fat/inode.c:708 fat_put_super+0x3b/0xc0 fs/fat/inode.c:734 generic_shutdown_super+0x142/0x370 fs/super.c:464 kill_block_super+0x9d/0xf0 fs/super.c:1446 deactivate_locked_super+0x99/0x160 fs/super.c:335 deactivate_super+0xad/0xd0 fs/super.c:366 cleanup_mnt+0x396/0x500 fs/namespace.c:1118 task_work_run+0xe2/0x1a0 kernel/task_work.c:151 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:164 [inline] exit_to_user_mode_prepare+0x155/0x160 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x230 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f276c3c9f87 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff744ae328 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000103 RCX: 00007f276c3c9f87 RDX: 00007fff744ae3fa RSI: 000000000000000a RDI: 00007fff744ae3f0 RBP: 00007fff744ae3f0 R08: 00000000ffffffff R09: 00007fff744ae1c0 R10: 0000555556e2ac7b R11: 0000000000000246 R12: 00007f276c422105 R13: 00007fff744af4b0 R14: 0000555556e2ac20 R15: 00007fff744af4f0 irq event stamp: 650563 hardirqs last enabled at (650573): [] console_unlock+0x929/0xb30 kernel/printk/printk.c:2559 hardirqs last disabled at (650582): [] console_unlock+0x835/0xb30 kernel/printk/printk.c:2474 softirqs last enabled at (650058): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (649901): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 103704b311ff84d8 ]---