EXT4-fs error (device loop5): ext4_fill_super:4959: inode #2: comm syz-executor.5: iget: root inode unallocated EXT4-fs (loop5): get root inode failed EXT4-fs (loop5): mount failed INFO: task syz-executor.6:11529 blocked for more than 143 seconds. Not tainted 5.10.96 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.6 state:D stack:24984 pid:11529 ppid: 290 flags:0x10004004 Call Trace: context_switch kernel/sched/core.c:3791 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4540 schedule+0xcb/0x270 kernel/sched/core.c:4618 io_schedule+0xb6/0x130 kernel/sched/core.c:6291 bit_wait_io+0x12/0xa0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0x131/0x1c0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0xd5/0x110 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer fs/buffer.c:69 [inline] lock_buffer include/linux/buffer_head.h:366 [inline] __sync_dirty_buffer+0x360/0x3f0 fs/buffer.c:3142 __ext4_handle_dirty_metadata+0x290/0x730 fs/ext4/ext4_jbd2.c:366 ext4_convert_inline_data_nolock+0x671/0xdc0 fs/ext4/inline.c:1238 ext4_convert_inline_data+0x31a/0x490 fs/ext4/inline.c:1987 ext4_fallocate+0x1a4/0x3aa0 fs/ext4/extents.c:4696 vfs_fallocate+0x48f/0xcb0 fs/open.c:309 ioctl_preallocate+0x18e/0x200 fs/ioctl.c:494 file_ioctl fs/ioctl.c:534 [inline] do_vfs_ioctl+0xe55/0x10d0 fs/ioctl.c:732 __do_sys_ioctl fs/ioctl.c:751 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x108/0x210 fs/ioctl.c:739 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f060421db19 RSP: 002b:00007f0601793188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0604330f60 RCX: 00007f060421db19 RDX: 0000000020000140 RSI: 0000000040305828 RDI: 0000000000000004 RBP: 00007f0604277f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0151a3ff R14: 00007f0601793300 R15: 0000000000022000 INFO: task syz-executor.6:11598 blocked for more than 143 seconds. Not tainted 5.10.96 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.6 state:D stack:26624 pid:11598 ppid: 290 flags:0x10004004 Call Trace: context_switch kernel/sched/core.c:3791 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4540 schedule+0xcb/0x270 kernel/sched/core.c:4618 io_schedule+0xb6/0x130 kernel/sched/core.c:6291 bit_wait_io+0x12/0xa0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0x131/0x1c0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0xd5/0x110 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer fs/buffer.c:69 [inline] lock_buffer include/linux/buffer_head.h:366 [inline] write_dirty_buffer+0x165/0x180 fs/buffer.c:3121 fsync_buffers_list fs/buffer.c:730 [inline] sync_mapping_buffers+0x3ed/0xd00 fs/buffer.c:548 ext4_fsync_nojournal fs/ext4/fsync.c:86 [inline] ext4_sync_file+0x932/0xf30 fs/ext4/fsync.c:170 vfs_fsync_range+0x13d/0x230 fs/sync.c:200 generic_write_sync include/linux/fs.h:2741 [inline] ext4_buffered_write_iter+0x36a/0x4d0 fs/ext4/file.c:278 ext4_file_write_iter+0x4ee/0x1890 fs/ext4/file.c:681 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x743/0xa20 fs/read_write.c:605 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f060421db19 RSP: 002b:00007f0601772188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0604331020 RCX: 00007f060421db19 RDX: 0000000000000010 RSI: 0000000020000540 RDI: 0000000000000003 RBP: 00007f0604277f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0151a3ff R14: 00007f0601772300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/22: #0: ffffffff84df6a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6379 1 lock held by in:imklog/178: 2 locks held by rs:main Q:Reg/179: 2 locks held by syz-executor.6/11529: #0: ffff88804d9e4438 (sb_writers#3){.+.+}-{0:0}, at: ioctl_preallocate+0x18e/0x200 fs/ioctl.c:494 #1: ffff88800b1e5960 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:142 [inline] #1: ffff88800b1e5960 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x21e/0x490 fs/ext4/inline.c:1985 2 locks held by syz-executor.6/11598: #0: ffff88800dff54f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:934 #1: ffff88804d9e4438 (sb_writers#3){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:658 =============================================