INFO: task kworker/u8:5:155 blocked for more than 143 seconds. Not tainted 6.16.0-rc1-syzkaller-g39dfc971e42d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_ "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:5 state:D stack:0 pid:155 tgid:155 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: writeback wb_workfn (flush-7:3) Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:737 (T) context_switch kernel/sched/core.c:5396 [inline] __schedule+0x1414/0x2a28 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6878 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6935 rwsem_down_write_slowpath+0xa80/0x10f0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0xb4/0xc0 kernel/locking/rwsem.c:1578 f2fs_down_write fs/f2fs/f2fs.h:2229 [inline] f2fs_balance_fs+0x474/0x670 fs/f2fs/segment.c:463 f2fs_write_inode+0x3a8/0x684 fs/f2fs/inode.c:819 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x5ac/0x13e8 fs/fs-writeback.c:1745 writeback_sb_inodes+0x558/0xe38 fs/fs-writeback.c:1976 __writeback_inodes_wb+0xec/0x228 fs/fs-writeback.c:2047 wb_writeback+0x3e0/0xd70 fs/fs-writeback.c:2158 wb_check_old_data_flush fs/fs-writeback.c:2262 [inline] wb_do_writeback fs/fs-writeback.c:2315 [inline] wb_workfn+0xa08/0xdc0 fs/fs-writeback.c:2343 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3402 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 Showing all locks held in the system: 1 lock held by khungtaskd/32: #0: ffff80008f819e40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:4/60: #0: ffff0000d2691148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff800099b37bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff800092872028 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by kworker/u8:5/155: #0: ffff0000c2361148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009ba27bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000c88780e0 (&type->s_umount_key#52){++++}-{4:4}, at: super_trylock_shared+0x24/0xdc fs/super.c:563 #3: ffff0000cda39410 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2229 [inline] #3: ffff0000cda39410 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_balance_fs+0x474/0x670 fs/f2fs/segment.c:463 2 locks held by kworker/u8:6/185: 1 lock held by dhcpcd/6189: #0: ffff800092872028 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff800092872028 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffff800092872028 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x710/0x15dc net/core/rtnetlink.c:4054 2 locks held by getty/6283: #0: ffff0000d2a710a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b9be2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 3 locks held by kworker/1:3/6523: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009f897bc0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000c6531240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x1cc/0x25b8 drivers/net/netdevsim/fib.c:1490 3 locks held by kworker/1:5/6587: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009f857bc0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000f029e240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x1cc/0x25b8 drivers/net/netdevsim/fib.c:1490 3 locks held by kworker/u8:12/7125: #0: ffff0000c30d9948 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009ee57bc0 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff800092872028 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 6 locks held by kworker/u8:13/7280: 4 locks held by syz.3.184/7335: 1 lock held by syz-executor/9059: #0: ffff800092872028 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 7 locks held by syz-executor/9065: #0: ffff0000d6fa6428 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3092 [inline] #0: ffff0000d6fa6428 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x244/0x97c fs/read_write.c:682 #1: ffff0000f40bd888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x488 fs/kernfs/file.c:325 #2: ffff0000cbd811e8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1d0/0x488 fs/kernfs/file.c:326 #3: ffff8000918c9d68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:216 #4: ffff0000c26390e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #4: ffff0000c26390e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff0000c26390e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0x9c/0x658 drivers/base/dd.c:1292 #5: ffff0000d38f7250 (&devlink->lock_key#19){+.+.}-{4:4}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff800092872028 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by syz-executor/9094: #0: ffff800092872028 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by syz-executor/9155: #0: ffff0000d6fa6428 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3092 [inline] #0: ffff0000d6fa6428 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x244/0x97c fs/read_write.c:682 #1: ffff0000d443a888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x488 fs/kernfs/file.c:325 #2: ffff0000cbd811e8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1d0/0x488 fs/kernfs/file.c:326 #3: ffff8000918c9d68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:216 1 lock held by udevd/9352: 1 lock held by syz.6.361/9395: =============================================