INFO: task kworker/u4:2:148 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: 148 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: ffff0000d9d200e0 (&type->s_umount_key#52){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000c18f60b0 (&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: ffff0000dd38a0e0 ( &type->s_umount_key#52){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000dd38e0b0 ( &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: ffff0000d5d540e0 (&type->s_umount_key#52){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000e78e00b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:3/354: #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: ffff0000d9efe0e0 (&type->s_umount_key#52){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000d9efc0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:4/615: #0: ffff0000c1e37938 ( (wq_completion)writeback){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff80001fb07c40 ( (work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000cf9d80e0 (&type->s_umount_key #52){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000cf9de0b0 (&tree->tree_lock){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 2 locks held by getty/3801: #0: ffff0000d4c81098 ( &tty->ldisc_sem ){++++}-{0:0} , at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001bf8b2e8 ( &ldata->atomic_read_lock ){+.+.}-{3:3} , at: n_tty_read+0x2ec/0xf90 drivers/tty/n_tty.c:2158 4 locks held by syz.0.16/4731: 4 locks held by kworker/u4:6/4735: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff80001ff57c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0}, at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000d04180e0 ( &type->s_umount_key#52 ){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000d06220b0 ( &tree->tree_lock ){+.+.}-{3:3} , at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 4 locks held by syz.1.17/4757: 4 locks held by syz.2.18/4774: 4 locks held by syz.3.19/4789: 4 locks held by kworker/u4:7/4790: #0: ffff0000c1e37938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff800020187c40 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000d79e80e0 ( &type->s_umount_key#52){.+.+}-{3:3} , at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000d6d440b0 ( &tree->tree_lock ){+.+.}-{3:3}, at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 4 locks held by kworker/u4:8/4815: #0: ffff0000c1e37938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff8000202d7c40 ( (work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0} , at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000d86940e0 ( &type->s_umount_key#52){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000f07da0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 4 locks held by syz.4.20/4817: 4 locks held by syz.5.21/4850: 4 locks held by syz.6.22/4877: 4 locks held by kworker/u4:11/4902: #0: ffff0000c1e37938 ( (wq_completion)writeback){+.+.}-{0:0} , at: process_one_work+0x67c/0x1178 kernel/workqueue.c:-1 #1: ffff800020587c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6c0/0x1178 kernel/workqueue.c:2285 #2: ffff0000cbb280e0 (&type->s_umount_key#52){.+.+}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:418 #3: ffff0000d6ad60b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x148/0x1c0 fs/hfsplus/bfind.c:28 5 locks held by syz.7.23/4904: 4 locks held by syz.8.24/4937: =============================================