INFO: task kworker/u4:1:136 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:1 state:D stack: 0 pid: 136 ppid: 2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:0) Call trace: __switch_to+0x2f4/0x540 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe20/0x1c6c kernel/sched/core.c:6395 schedule+0x11c/0x1c8 kernel/sched/core.c:6478 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6537 __mutex_lock_common+0xae0/0x1ea4 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xac/0x11c kernel/locking/mutex.c:743 hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 hfsplus_cat_write_inode+0x1c8/0x764 fs/hfsplus/inode.c:613 hfsplus_write_inode+0x14c/0x4c8 fs/hfsplus/super.c:179 write_inode fs/fs-writeback.c:1505 [inline] __writeback_single_inode+0x560/0x11f0 fs/fs-writeback.c:1715 writeback_sb_inodes+0x868/0x13e4 fs/fs-writeback.c:1940 __writeback_inodes_wb+0x104/0x370 fs/fs-writeback.c:2011 wb_writeback+0x408/0xe84 fs/fs-writeback.c:2116 wb_check_background_flush fs/fs-writeback.c:2182 [inline] wb_do_writeback fs/fs-writeback.c:2270 [inline] wb_workfn+0xaf8/0xe3c fs/fs-writeback.c:2298 process_one_work+0x7a4/0x1178 kernel/workqueue.c:2310 worker_thread+0x8fc/0x103c kernel/workqueue.c:2457 kthread+0x37c/0x460 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:856 Showing all locks held in the system: 4 locks held by kworker/u4:0/9: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff80001b507c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000d75380e0 ( &type->s_umount_key #52 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000da2e40b0 ( &tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 1 lock held by khungtaskd/27: #0: ffff800014571460 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:312 4 locks held by kworker/u4:1/136: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff80001bfa7c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000d54d20e0 ( &type->s_umount_key #52 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000d544a0b0 ( &tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:2/148: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff80001cfc7c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000cfa300e0 ( &type->s_umount_key #52 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000ce8140b0 ( &tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:3/345: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff80001f747c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000ef4d00e0 ( &type->s_umount_key #52 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000ed4580b0 ( &tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:5/1620: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff800023f47c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000c10300e0 ( &type->s_umount_key #52 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000d64de0b0 ( &tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 2 locks held by getty/3801: #0: ffff0000d33f5098 ( &tty->ldisc_sem ){++++}-{0:0} , at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001bfab2e8 ( &ldata->atomic_read_lock ){+.+.}-{3:3} , at: n_tty_read+0x2ec/0xf90 drivers/tty/n_tty.c:2158 6 locks held by syz.0.16/4717: 6 locks held by syz.1.17/4742: 6 locks held by syz.2.18/4761: 4 locks held by kworker/u4:6/4772: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff8000203f7c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000d8c5e0e0 ( &type->s_umount_key #52 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000d09ca0b0 ( &tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:7/4774: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff800020417c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000d59860e0 ( &type->s_umount_key #52 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000e723a0b0 ( &tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 9 locks held by syz.3.19/4779: 6 locks held by syz.4.20/4809: 4 locks held by kworker/u4:8/4817: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff8000204f7c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000d054e0e0 ( &type->s_umount_key #52 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000ed4de0b0 ( &tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 6 locks held by syz.5.21/4838: 6 locks held by syz.6.22/4865: 6 locks held by syz.7.23/4891: 4 locks held by kworker/u4:12/4909: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff8000206d7c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000d83560e0 ( &type->s_umount_key #52 ){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000d9b2a0b0 ( &tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 9 locks held by syz.8.24/4925: =============================================