INFO: task kworker/1:4:4356 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:24704 pid:4356 ppid:2 flags:0x00004000 Workqueue: events_long flush_old_commits Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6696 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x555/0xaf0 kernel/locking/mutex.c:747 reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 reiserfs_sync_fs fs/reiserfs/super.c:76 [inline] flush_old_commits+0x1de/0x2f0 fs/reiserfs/super.c:111 process_one_work+0x898/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c92bab0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c92c2d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 4 locks held by kworker/0:1/14: #0: ffff888017471138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90000137d00 ( (work_completion)(&(&sbi->old_work)->work) ){+.+.}-{0:0} , at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffff88805b4500e0 (&type->s_umount_key#52){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff88805f54f090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 1 lock held by khungtaskd/27: #0: ffffffff8c92b120 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8c92b120 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8c92b120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513 6 locks held by kworker/u4:2/38: #0: ffff888017616938 ((wq_completion)netns ){+.+.}-{0:0} , at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90000af7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8db2e6d0 (pernet_ops_rwsem ){++++}-{3:3} , at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:594 #3: ffffffff8db3b3a8 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x18/0x1c0 drivers/net/wireguard/device.c:421 #4: ffff88805f7a13e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_netns_pre_exit+0xac/0x1c0 drivers/net/wireguard/device.c:426 #5: ffffffff8c930df8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #5: ffffffff8c930df8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x830 kernel/rcu/tree_exp.h:962 4 locks held by udevd/3636: #0: ffff88802d50c790 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xad/0xd50 fs/seq_file.c:182 #1: ffff88807a763488 ( &of->mutex ){+.+.}-{3:3} , at: kernfs_seq_start+0x58/0x410 fs/kernfs/file.c:172 #2: ffff88804f83d918 (kn->active#5){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff88804f83d918 (kn->active#5){.+.+}-{0:0}, at: kernfs_seq_start+0xae/0x410 fs/kernfs/file.c:173 #3: ffff888078f850e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline] #3: ffff888078f850e8 (&dev->mutex){....}-{3:3}, at: uevent_show+0x16c/0x320 drivers/base/core.c:2669 2 locks held by getty/4028: #0: ffff88814d166098 ( &tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198 4 locks held by kworker/1:4/4356: #0: ffff888017471138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003df7d00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffff88805ab020e0 ( &type->s_umount_key#52){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff8880792fd090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 4 locks held by kworker/1:5/4358: #0: ffff888017471138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003f57d00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffff888026cf20e0 (&type->s_umount_key#52){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff8880604df090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 2 locks held by kworker/1:8/4362: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003f97d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 3 locks held by syz-executor/4392: #0: ffff8880784225e8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ae/0x360 fs/file.c:1038 #1: ffff888058981d60 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: iterate_dir+0x10d/0x560 fs/readdir.c:55 #2: ffff8880604df090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 3 locks held by syz-executor/4406: #0: ffff88802f4045e8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ae/0x360 fs/file.c:1038 #1: ffff888058982aa0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: iterate_dir+0x10d/0x560 fs/readdir.c:55 #2: ffff88805ac87090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 4 locks held by kworker/0:5/4452: #0: ffff888017471138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc900035c7d00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffff88802579a0e0 (&type->s_umount_key#52){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff8880756ad090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 4 locks held by kworker/1:11/4468: #0: ffff888017471138 ( (wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003627d00 ( (work_completion)(&(&sbi->old_work)->work) ){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffff88807980c0e0 (&type->s_umount_key#52){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff888028849090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 4 locks held by kworker/1:12/4469: #0: ffff888017471138 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003637d00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffff88805aec60e0 (&type->s_umount_key#52){++++}-{3:3}, at: flush_old_commits+0xc8/0x2f0 fs/reiserfs/super.c:97 #3: ffff88805ac87090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 3 locks held by syz.3.20/4513: 5 locks held by kworker/u4:7/4516: 3 locks held by syz.0.17/4596: 3 locks held by syz.4.21/4612: 3 locks held by syz-executor/4639: #0: ffff88802b918868 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ae/0x360 fs/file.c:1038 #1: ffff8880588737e0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: iterate_dir+0x10d/0x560 fs/readdir.c:55 #2: ffff888028849090 ( &sbi->lock ){+.+.}-{3:3} , at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 3 locks held by kworker/u4:8/4684: #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc900034c7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8db3b3a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 3 locks held by syz-executor/4759: #0: ffff888078870fe8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ae/0x360 fs/file.c:1038 #1: ffff888058983140 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: iterate_dir+0x10d/0x560 fs/readdir.c:55 #2: ffff8880756ad090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 3 locks held by syz.7.30/4886: 3 locks held by syz.8.31/4898: 3 locks held by syz.2.42/4958: 7 locks held by syz-executor/4960: #0: ffff888048290460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x256/0x960 fs/read_write.c:580 #1: ffff88802fd0f488 (&of->mutex ){+.+.}-{3:3} , at: kernfs_fop_write_iter+0x1e3/0x520 fs/kernfs/file.c:343 #2: ffff8881447b1918 ( kn->active #60){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #60){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x236/0x520 fs/kernfs/file.c:344 #3: ffffffff8d44d168 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x129/0x670 drivers/net/netdevsim/bus.c:160 #4: ffff888078f850e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline] (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:990 #5: ffff888078f842f8 (&devlink->lock_key#17){+.+.}-{3:3}, at: nsim_drv_probe+0xc0/0xaf0 drivers/net/netdevsim/dev.c:1542 #6: ffffffff8db3b3a8 ( rtnl_mutex ){+.+.}-{3:3} , at: register_nexthop_notifier+0x7d/0x210 net/ipv4/nexthop.c:3619 4 locks held by syz-executor/4973: #0: