EXT4-fs error (device loop7): __ext4_fill_super:5273: inode #2: comm syz-executor.7: iget: root inode unallocated
EXT4-fs (loop7): get root inode failed
EXT4-fs (loop7): mount failed
------------[ cut here ]------------
Trying to write to read-only block-device loop0 (partno 0)
WARNING: CPU: 0 PID: 5122 at block/blk-core.c:590 bio_check_ro block/blk-core.c:590 [inline]
WARNING: CPU: 0 PID: 5122 at block/blk-core.c:590 submit_bio_checks+0x10de/0x14a0 block/blk-core.c:703
Modules linked in:
CPU: 0 PID: 5122 Comm: syz-executor.0 Not tainted 5.16.0-rc6-next-20211224 #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:590 [inline]
RIP: 0010:submit_bio_checks+0x10de/0x14a0 block/blk-core.c:703
Code: 00 00 45 0f b6 a4 24 48 05 00 00 48 89 ef 48 8d 74 24 58 e8 e4 48 fe ff 48 c7 c7 00 d7 7b 84 48 89 c6 44 89 e2 e8 6e c5 02 02 <0f> 0b e9 91 f7 ff ff e8 c6 cb 4e ff e8 a1 01 11 02 31 ff 41 89 c5
RSP: 0018:ffff88801d217628 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 1ffff11003a42ecc RCX: 0000000000000000
RDX: ffff888041983580 RSI: ffffffff812b2828 RDI: ffffed1003a42eb7
RBP: ffff88800c6f0600 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff812ac22c R11: 0000000000000000 R12: 0000000000000000
R13: ffff88800b350000 R14: ffff88800c6f0610 R15: ffff88800b498000
FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbdcba12da0 CR3: 000000000cb3a000 CR4: 0000000000350ef0
Call Trace:
blk_mq_get_new_requests block/blk-mq.c:2728 [inline]
blk_mq_submit_bio+0x852/0x1f10 block/blk-mq.c:2819
__submit_bio+0x1df/0x250 block/blk-core.c:802
__submit_bio_noacct_mq block/blk-core.c:877 [inline]
submit_bio_noacct block/blk-core.c:903 [inline]
submit_bio_noacct+0x6c5/0x8a0 block/blk-core.c:892
submit_bh_wbc.constprop.0+0x4da/0x670 fs/buffer.c:3092
submit_bh fs/buffer.c:3098 [inline]
__sync_dirty_buffer+0x168/0x3f0 fs/buffer.c:3193
fat_set_state+0x22b/0x310 fs/fat/inode.c:709
fat_put_super+0x3b/0xc0 fs/fat/inode.c:735
generic_shutdown_super+0x14a/0x400 fs/super.c:465
kill_block_super+0x9d/0xf0 fs/super.c:1397
deactivate_locked_super+0x99/0x160 fs/super.c:335
deactivate_super+0xad/0xd0 fs/super.c:366
cleanup_mnt+0x39a/0x510 fs/namespace.c:1159
task_work_run+0xe2/0x1a0 kernel/task_work.c:164
exit_task_work include/linux/task_work.h:32 [inline]
do_exit+0xb0d/0x2840 kernel/exit.c:793
do_group_exit+0x128/0x330 kernel/exit.c:932
get_signal+0x494/0x26e0 kernel/signal.c:2868
arch_do_signal_or_restart+0x2b0/0x1720 arch/x86/kernel/signal.c:868
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x143/0x1c0 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:300
do_syscall_64+0x48/0x90 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3933dbeb19
Code: Unable to access opcode bytes at RIP 0x7f3933dbeaef.
RSP: 002b:00007f39312f2218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f3933ed20e8 RCX: 00007f3933dbeb19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f3933ed20e8
RBP: 00007f3933ed20e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3933ed20ec
R13: 00007fff68dfa31f R14: 00007f39312f2300 R15: 0000000000022000
irq event stamp: 3939
hardirqs last enabled at (3949): [] __up_console_sem+0x78/0x80 kernel/printk/printk.c:256
hardirqs last disabled at (3958): [] __up_console_sem+0x5d/0x80 kernel/printk/printk.c:254
softirqs last enabled at (3240): [] invoke_softirq kernel/softirq.c:432 [inline]
softirqs last enabled at (3240): [] __irq_exit_rcu+0x113/0x170 kernel/softirq.c:637
softirqs last disabled at (3155): [] invoke_softirq kernel/softirq.c:432 [inline]
softirqs last disabled at (3155): [] __irq_exit_rcu+0x113/0x170 kernel/softirq.c:637
---[ end trace 0000000000000000 ]---