INFO: task kworker/u4:2:39 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:2 state:D stack:0 pid:39 ppid:2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:1) Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6696 __mutex_lock_common+0xad4/0x1f38 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 hfsplus_cat_write_inode+0x1a0/0x6a0 fs/hfsplus/inode.c:590 hfsplus_write_inode+0x154/0x4c8 fs/hfsplus/super.c:160 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x5e0/0x157c fs/fs-writeback.c:1677 writeback_sb_inodes+0x824/0x1404 fs/fs-writeback.c:1903 __writeback_inodes_wb+0x110/0x394 fs/fs-writeback.c:1974 wb_writeback+0x414/0xfb0 fs/fs-writeback.c:2079 wb_check_background_flush fs/fs-writeback.c:2145 [inline] wb_do_writeback fs/fs-writeback.c:2233 [inline] wb_workfn+0xac0/0xd98 fs/fs-writeback.c:2260 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 INFO: task kworker/u4:5:4398 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:5 state:D stack:0 pid:4398 ppid:2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:0) Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6696 __mutex_lock_common+0xad4/0x1f38 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 hfsplus_cat_write_inode+0x1a0/0x6a0 fs/hfsplus/inode.c:590 hfsplus_write_inode+0x154/0x4c8 fs/hfsplus/super.c:160 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x5e0/0x157c fs/fs-writeback.c:1677 writeback_sb_inodes+0x824/0x1404 fs/fs-writeback.c:1903 __writeback_inodes_wb+0x110/0x394 fs/fs-writeback.c:1974 wb_writeback+0x414/0xfb0 fs/fs-writeback.c:2079 wb_check_background_flush fs/fs-writeback.c:2145 [inline] wb_do_writeback fs/fs-writeback.c:2233 [inline] wb_workfn+0xac0/0xd98 fs/fs-writeback.c:2260 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc 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: ffff0000c0c48938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001c847c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000dd9f20e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000cd5f00b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:1/11: #0: ffff0000c0c48938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001c867c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000ce03a0e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000d84680b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 1 lock held by rcu_tasks_kthre/12: #0: ffff800015277770 (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: ffff800015277f90 ( 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: ffff800015276e00 ( rcu_read_lock){....}-{1:2} , at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 4 locks held by kworker/u4:2/39: #0: ffff0000c0c48938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001cd67c20 ( (work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0} , at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000c39340e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000dabf60b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:3/106: #0: ffff0000c0c48938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000203e7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000d957c0e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000d59300b0 (&tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:4/152: #0: ffff0000c0c48938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000203f7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000d8fee0e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000ead1a0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 1 lock held by syslogd/3911: #0: ffff00019f6f4198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1645 [inline] (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2b8/0x1b18 kernel/sched/core.c:6477 2 locks held by getty/4069: #0: ffff0000d663f098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80002067b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 4 locks held by kworker/u4:5/4398: #0: ffff0000c0c48938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000211d7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000df4d80e0 ( &type->s_umount_key#51 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000daf1c0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:7/5185: #0: ffff0000c0c48938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021487c20 ( (work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000c3dee0e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000c40040b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 4 locks held by syz.0.16/5192: 4 locks held by syz.1.17/5216: 4 locks held by syz.2.18/5237: 4 locks held by syz.3.19/5263: 4 locks held by kworker/u4:8/5286: #0: ffff0000c0c48938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000219e7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000ef56a0e0 ( &type->s_umount_key#51 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000d5daa0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 4 locks held by syz.4.20/5298: 4 locks held by kworker/u4:9/5299: #0: ffff0000c0c48938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021a27c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000f06d20e0 (&type->s_umount_key#51){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000d88080b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 4 locks held by syz.5.21/5330: 4 locks held by syz.6.22/5362: 4 locks held by kworker/u4:11/5364: #0: ffff0000c0c48938 ((wq_completion)writeback){+.+.}-{0:0} , at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021b57c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000f44f60e0 ( &type->s_umount_key#51 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:415 #3: ffff0000f44f20b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc fs/hfsplus/bfind.c:28 4 locks held by syz.7.23/5403: 3 locks held by kworker/u4:13/5434: 4 locks held by syz.8.24/5436: 4 locks held by syz.9.25/5468: =============================================