INFO: task kworker/u4:3:713 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:3 state:D stack:0 pid:713 ppid:2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:0) Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdd0/0x1b0c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6697 __mutex_lock_common+0xafc/0x1f60 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 jfs_write_inode+0x128/0x1f8 fs/jfs/inode.c:138 write_inode fs/fs-writeback.c:1470 [inline] __writeback_single_inode+0x5e0/0x1554 fs/fs-writeback.c:1687 writeback_sb_inodes+0x858/0x143c fs/fs-writeback.c:1913 __writeback_inodes_wb+0x110/0x394 fs/fs-writeback.c:1984 wb_writeback+0x428/0xfcc fs/fs-writeback.c:2089 wb_check_background_flush fs/fs-writeback.c:2155 [inline] wb_do_writeback fs/fs-writeback.c:2243 [inline] wb_workfn+0xb38/0xe18 fs/fs-writeback.c:2270 process_one_work+0x7f8/0x13a4 kernel/workqueue.c:2292 worker_thread+0x8c4/0xfec kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Showing all locks held in the system: 4 locks held by kworker/u4:0/9: #0: ffff0000c2c2c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff80001c9c7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000dc9ac0e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000f1003008 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 4 locks held by kworker/u4:1/11: #0: ffff0000c2c2c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff80001c9e7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000eb1ce0e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000f10070c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 1 lock held by rcu_tasks_kthre/12: #0: ffff8000153f7c30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff8000153f8450 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff8000153f72c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 4 locks held by kworker/u4:3/713: #0: ffff0000c2c2c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021db7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000d35ec0e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000eaef3008 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 4 locks held by kworker/u4:4/715: #0: ffff0000c2c2c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021e57c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000f46260e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000eaef70c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 4 locks held by kworker/u4:5/1602: #0: ffff0000c2c2c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff8000256c7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000cf7400e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000eadab948 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 2 locks held by getty/4078: #0: ffff0000d71c4098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000209cb2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xfa0 drivers/tty/n_tty.c:2198 4 locks held by syz.0.17/4497: 4 locks held by kworker/u4:6/4498: #0: ffff0000c2c2c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021247c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000f98200e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000eae64288 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 4 locks held by syz.1.18/4513: 4 locks held by syz.2.19/4527: 4 locks held by kworker/u4:7/4528: #0: ffff0000c2c2c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021677c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000dc5140e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000eae601c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 4 locks held by syz.3.20/4548: 4 locks held by syz.4.21/4572: 4 locks held by syz.5.22/4599: 4 locks held by kworker/u4:10/4604: #0: ffff0000c2c2c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff8000218c7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000ebcf40e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000f10381c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 4 locks held by kworker/u4:11/4614: #0: ffff0000c2c2c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021907c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000f69100e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000f107b948 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 4 locks held by syz.6.23/4625: 4 locks held by syz.7.24/4657: 4 locks held by syz.8.25/4682: =============================================