audit: type=1326 audit(1640816380.985:223): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=11714 comm="syz-executor.2" exe="/syz-executor.2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x7f8d41358b19 code=0x7ffc0000 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue INFO: task syz-executor.2:11754 blocked for more than 143 seconds. Not tainted 5.10.79 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:25008 pid:11754 ppid: 285 flags:0x10004004 Call Trace: context_switch kernel/sched/core.c:3787 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4536 schedule+0xcb/0x270 kernel/sched/core.c:4614 io_schedule+0xb6/0x130 kernel/sched/core.c:6287 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:364 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+0x19a/0x3bd0 fs/ext4/extents.c:4665 vfs_fallocate+0x48f/0xcb0 fs/open.c:309 ksys_fallocate fs/open.c:332 [inline] __do_sys_fallocate fs/open.c:340 [inline] __se_sys_fallocate fs/open.c:338 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:338 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f8d41358b19 RSP: 002b:00007f8d3e8ce188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f8d4146bf60 RCX: 00007f8d41358b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f8d413b2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd462e1bcf R14: 00007f8d3e8ce300 R15: 0000000000022000 INFO: task syz-executor.2:11766 blocked for more than 143 seconds. Not tainted 5.10.79 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26688 pid:11766 ppid: 285 flags:0x10004004 Call Trace: context_switch kernel/sched/core.c:3787 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4536 schedule+0xcb/0x270 kernel/sched/core.c:4614 io_schedule+0xb6/0x130 kernel/sched/core.c:6287 bit_wait_io+0x12/0xa0 kernel/sched/wait_bit.c:209 __wait_on_bit+0x59/0x1b0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0xd5/0x110 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] __wait_on_buffer fs/buffer.c:122 [inline] wait_on_buffer include/linux/buffer_head.h:354 [inline] clean_bdev_aliases+0x53c/0x6e0 fs/buffer.c:1643 clean_bdev_bh_alias include/linux/buffer_head.h:179 [inline] __block_write_begin_int+0xa8f/0x1a50 fs/buffer.c:2019 ext4_write_begin+0x64e/0x10e0 fs/ext4/inode.c:1209 ext4_da_write_begin+0x623/0xde0 fs/ext4/inode.c:2969 generic_perform_write+0x1fe/0x4d0 mm/filemap.c:3333 ext4_buffered_write_iter+0x244/0x4d0 fs/ext4/file.c:270 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:0x7f8d41358b19 RSP: 002b:00007f8d3e8ad188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8d4146c020 RCX: 00007f8d41358b19 RDX: 0000000000000007 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f8d413b2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd462e1bcf R14: 00007f8d3e8ad300 R15: 0000000000022000 INFO: task syz-executor.2:11767 blocked for more than 143 seconds. Not tainted 5.10.79 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27344 pid:11767 ppid: 285 flags:0x10000004 Call Trace: context_switch kernel/sched/core.c:3787 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4536 schedule+0xcb/0x270 kernel/sched/core.c:4614 rwsem_down_write_slowpath+0x5bc/0xbf0 kernel/locking/rwsem.c:1235 __down_write kernel/locking/rwsem.c:1401 [inline] down_write+0x13c/0x150 kernel/locking/rwsem.c:1558 inode_lock include/linux/fs.h:774 [inline] do_truncate+0x125/0x1f0 fs/open.c:62 handle_truncate fs/namei.c:2905 [inline] do_open fs/namei.c:3247 [inline] path_openat+0x1d4d/0x26c0 fs/namei.c:3360 do_filp_open+0x17e/0x3c0 fs/namei.c:3387 do_sys_openat2+0x16d/0x420 fs/open.c:1180 do_sys_open fs/open.c:1196 [inline] __do_sys_creat fs/open.c:1270 [inline] __se_sys_creat fs/open.c:1264 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1264 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f8d41358b19 RSP: 002b:00007f8d3e88c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f8d4146c0e0 RCX: 00007f8d41358b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f8d413b2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd462e1bcf R14: 00007f8d3e88c300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/22: #0: ffffffff84df6760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6379 2 locks held by in:imklog/180: 3 locks held by kworker/u4:4/316: #0: ffff888008e28138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888008e28138 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888008e28138 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888008e28138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888008e28138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888008e28138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x8ac/0x1590 kernel/workqueue.c:2241 #1: ffff8880439d7da8 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8df/0x1590 kernel/workqueue.c:2245 #2: ffff888007fde0e0 (&type->s_umount_key#30){.+.+}-{3:3}, at: trylock_super+0x1d/0x100 fs/super.c:418 2 locks held by kworker/u4:3/9583: #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x8ac/0x1590 kernel/workqueue.c:2241 #1: ffff88800f39fda8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8df/0x1590 kernel/workqueue.c:2245 2 locks held by syz-executor.2/11754: #0: ffff88804661e438 (sb_writers#3){.+.+}-{0:0}, at: ksys_fallocate fs/open.c:332 [inline] #0: ffff88804661e438 (sb_writers#3){.+.+}-{0:0}, at: __do_sys_fallocate fs/open.c:340 [inline] #0: ffff88804661e438 (sb_writers#3){.+.+}-{0:0}, at: __se_sys_fallocate fs/open.c:338 [inline] #0: ffff88804661e438 (sb_writers#3){.+.+}-{0:0}, at: __x64_sys_fallocate+0xcf/0x140 fs/open.c:338 #1: ffff88801d761e50 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:142 [inline] #1: ffff88801d761e50 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x21e/0x490 fs/ext4/inline.c:1985 3 locks held by syz-executor.2/11766: #0: ffff88804bc1fc70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:930 #1: ffff88804661e438 (sb_writers#3){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:658 #2: ffff88801d762210 (&sb->s_type->i_mutex_key#14){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #2: ffff88801d762210 (&sb->s_type->i_mutex_key#14){++++}-{3:3}, at: ext4_buffered_write_iter+0xb6/0x4d0 fs/ext4/file.c:264 2 locks held by syz-executor.2/11767: #0: ffff88804661e438 (sb_writers#3){.+.+}-{0:0}, at: do_open fs/namei.c:3236 [inline] #0: ffff88804661e438 (sb_writers#3){.+.+}-{0:0}, at: path_openat+0x1a3d/0x26c0 fs/namei.c:3360 #1: ffff88801d762210 (&sb->s_type->i_mutex_key#14){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff88801d762210 (&sb->s_type->i_mutex_key#14){++++}-{3:3}, at: do_truncate+0x125/0x1f0 fs/open.c:62 =============================================