INFO: task kworker/u4:5:1004 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:23912 pid:1004 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6832 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747 hfsplus_find_init+0x154/0x1d0 fs/hfsplus/bfind.c:28 hfsplus_cat_write_inode+0x1e7/0x7b0 fs/hfsplus/inode.c:593 write_inode fs/fs-writeback.c:1483 [inline] __writeback_single_inode+0x705/0xee0 fs/fs-writeback.c:1700 writeback_sb_inodes+0x77c/0xef0 fs/fs-writeback.c:1926 __writeback_inodes_wb+0x111/0x240 fs/fs-writeback.c:1997 wb_writeback+0x464/0xba0 fs/fs-writeback.c:2107 wb_check_background_flush fs/fs-writeback.c:2177 [inline] wb_do_writeback fs/fs-writeback.c:2265 [inline] wb_workfn+0xb32/0xe20 fs/fs-writeback.c:2292 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 INFO: task syz.0.56:6041 blocked for more than 145 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.56 state:D stack:27920 pid:6041 ppid:5772 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6832 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747 hfsplus_find_init+0x154/0x1d0 fs/hfsplus/bfind.c:28 __hfsplus_getxattr+0x2a7/0x7f0 fs/hfsplus/xattr.c:520 hfsplus_getxattr+0x10d/0x160 fs/hfsplus/xattr.c:594 __vfs_getxattr+0x3e8/0x420 fs/xattr.c:424 cap_inode_need_killpriv+0x45/0x60 security/commoncap.c:301 security_inode_need_killpriv+0x62/0x90 security/security.c:2368 dentry_needs_remove_privs+0x89/0xf0 fs/inode.c:2088 do_truncate+0xff/0x220 fs/open.c:58 vfs_truncate+0x266/0x300 fs/open.c:112 do_sys_truncate+0xe0/0x1a0 fs/open.c:135 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8fba58f749 RSP: 002b:00007f8fb87f6038 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f8fba7e6090 RCX: 00007f8fba58f749 RDX: 0000000000000000 RSI: 000000400000f030 RDI: 0000200000000080 RBP: 00007f8fba613f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8fba7e6128 R14: 00007f8fba7e6090 R15: 00007ffc2e36a348 Showing all locks held in the system: 3 locks held by kworker/0:0/8: #0: ffff888017872538 ( (wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] (wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900000d7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900000d7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff8880b8e3c018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 1 lock held by khungtaskd/29: #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 4 locks held by kworker/u4:2/42: #0: ffff888017873938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017873938 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90000b2fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90000b2fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffffffff8dfa8610 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x136/0xb90 net/core/net_namespace.c:606 #3: ffff88805a6d93e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x116/0x310 drivers/net/wireguard/device.c:250 4 locks held by kworker/u4:5/1004: #0: ffff88801a27f938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801a27f938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc9000459fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc9000459fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff888023e6a0e0 (&type->s_umount_key#66){++++}-{3:3}, at: super_trylock_shared+0x20/0xf0 fs/super.c:607 #3: ffff888022ace0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x154/0x1d0 fs/hfsplus/bfind.c:28 2 locks held by getty/5531: #0: ffff88823bd340a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000328b2f0 ( &ldata->atomic_read_lock){+.+.}-{3:3} , at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 3 locks held by syz-executor/5771: #0: ffff88802f0c0e70 ( &hdev->req_lock ){+.+.}-{3:3} , at: hci_dev_do_close net/bluetooth/hci_core.c:521 [inline] , at: hci_unregister_dev+0x212/0x510 net/bluetooth/hci_core.c:2709 #1: ffff88802f0c00b8 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x4c9/0xfb0 net/bluetooth/hci_sync.c:5273 #2: ffffffff8e1225c8 ( hci_cb_list_lock ){+.+.}-{3:3} , at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2011 [inline] , at: hci_conn_hash_flush+0xa1/0x220 net/bluetooth/hci_conn.c:2540 3 locks held by syz-executor/5775: #0: ffff88802fe90e70 ( &hdev->req_lock ){+.+.}-{3:3}