------------[ cut here ]------------ Trying to write to read-only block-device loop5 (partno 0) WARNING: CPU: 0 PID: 7159 at block/blk-core.c:705 bio_check_ro block/blk-core.c:705 [inline] WARNING: CPU: 0 PID: 7159 at block/blk-core.c:705 submit_bio_checks+0x1577/0x18d0 block/blk-core.c:833 Modules linked in: CPU: 0 PID: 7159 Comm: syz-executor.5 Not tainted 5.10.56 #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:705 [inline] RIP: 0010:submit_bio_checks+0x1577/0x18d0 block/blk-core.c:833 Code: 03 00 00 45 8b a4 24 64 05 00 00 48 89 ef 48 8d 74 24 50 e8 6b 36 fe ff 48 c7 c7 a0 51 3a 84 48 89 c6 44 89 e2 e8 18 ca d3 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:ffff8880466676e8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff11008cccee3 RCX: 0000000000000000 RDX: ffff888045893280 RSI: ffffffff812930d3 RDI: ffffed1008cccecf RBP: ffff8880581aa200 R08: 0000000000000001 R09: ffff88806ce2facf R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88800d903c50 R14: ffff8880581aa210 R15: ffff8880581aa208 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9dea1549a1 CR3: 0000000036d48000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: submit_bio_noacct+0x7a/0xce0 block/blk-core.c:1045 submit_bio+0xf3/0x4e0 block/blk-core.c:1130 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 exit_task_work include/linux/task_work.h:30 [inline] do_exit+0xc1b/0x2770 kernel/exit.c:811 do_group_exit+0x125/0x310 kernel/exit.c:908 get_signal+0x469/0x2200 kernel/signal.c:2758 arch_do_signal+0x88/0x1b70 arch/x86/kernel/signal.c:805 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0xf7/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:0x466609 Code: Unable to access opcode bytes at RIP 0x4665df. RSP: 002b:00007fd8941e5218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000056bf88 RCX: 0000000000466609 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000056bf88 RBP: 000000000056bf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf8c R13: 00007ffc1312b53f R14: 00007fd8941e5300 R15: 0000000000022000 irq event stamp: 2495 hardirqs last enabled at (2503): [] console_unlock+0x929/0xb30 kernel/printk/printk.c:2552 hardirqs last disabled at (2512): [] console_unlock+0x835/0xb30 kernel/printk/printk.c:2467 softirqs last enabled at (1822): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (1735): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 51badbed591f255e ]--- EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs warning (device loop3): ext4_group_extend:1807: will only finish group (16384 blocks, 16256 new) EXT4-fs error (device loop3): ext4_group_add_blocks:5618: comm syz-executor.3: bit already cleared for block 14640 EXT4-fs error (device loop3): ext4_group_add_blocks:5618: comm syz-executor.3: bit already cleared for block 14641 EXT4-fs error (device loop3): ext4_group_add_blocks:5618: comm syz-executor.3: bit already cleared for block 14642 EXT4-fs error (device loop3): ext4_group_add_blocks:5618: comm syz-executor.3: bit already cleared for block 14643 EXT4-fs error (device loop3): ext4_group_add_blocks:5618: comm syz-executor.3: bit already cleared for block 14644 EXT4-fs error (device loop3): ext4_group_add_blocks:5618: comm syz-executor.3: bit already cleared for block 14645 EXT4-fs error (device loop3): ext4_group_add_blocks:5618: comm syz-executor.3: bit already cleared for block 14646 EXT4-fs error (device loop3): ext4_group_add_blocks:5618: comm syz-executor.3: bit already cleared for block 14647 EXT4-fs error (device loop3): ext4_group_add_blocks:5618: comm syz-executor.3: bit already cleared for block 14648 EXT4-fs error (device loop3): ext4_group_add_blocks:5618: comm syz-executor.3: bit already cleared for block 14649 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=13151 comm=syz-executor.2