INFO: task syz.3.310:5675 blocked for more than 144 seconds. Not tainted 5.15.189-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.310 state:D stack:25536 pid: 5675 ppid: 4195 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 rwsem_down_write_slowpath+0xc46/0x11f0 kernel/locking/rwsem.c:1165 f2fs_balance_fs+0x47d/0x660 fs/f2fs/segment.c:528 f2fs_setattr+0xd9e/0x1140 fs/f2fs/file.c:1013 notify_change+0xbcd/0xee0 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 do_sys_ftruncate+0x31b/0x3d0 fs/open.c:193 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f7e1937a9a9 RSP: 002b:00007f7e171e2038 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f7e195a1fa0 RCX: 00007f7e1937a9a9 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000009 RBP: 00007f7e193fcd69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7e195a1fa0 R15: 00007ffecae11918 Showing all locks held in the system: 3 locks held by kworker/0:0/7: 5 locks held by kworker/u4:0/9: 3 locks held by kworker/1:1/23: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90000ddfd00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 1 lock held by khungtaskd/27: #0: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 4 locks held by kworker/u4:2/154: #0: ffff888143990138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002077d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff88807936c0e0 (&type->s_umount_key#71){++++}-{3:3}, at: trylock_super+0x1c/0xf0 fs/super.c:418 #3: ffff88807af4d1b0 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x47d/0x660 fs/f2fs/segment.c:528 1 lock held by dhcpcd/3854: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x258/0x1a70 net/ipv4/devinet.c:1077 2 locks held by getty/3955: #0: ffff88802c4c5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025ce2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 3 locks held by kworker/1:7/4250: #0: ffff88802aea6538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900032efd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xc4/0x1520 net/ipv6/addrconf.c:4111 3 locks held by kworker/u4:8/4406: #0: ffff888016879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000356fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 3 locks held by kworker/u4:10/4408: 3 locks held by kworker/0:8/4512: #0: ffff88802aea6538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900033ffd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xc4/0x1520 net/ipv6/addrconf.c:4111 3 locks held by kworker/0:10/5010: 3 locks held by syz.3.310/5675: #0: ffff88807936c460 (sb_writers#21){.+.+}-{0:0}, at: do_sys_ftruncate+0x284/0x3d0 fs/open.c:190 #1: ffff888062ec8ad0 (&sb->s_type->i_mutex_key#25){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff888062ec8ad0 (&sb->s_type->i_mutex_key#25){+.+.}-{3:3}, at: do_truncate+0x183/0x220 fs/open.c:63 #2: ffff88807af4d1b0 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x47d/0x660 fs/f2fs/segment.c:528 6 locks held by syz.3.310/5680: 3 locks held by kworker/0:17/5775: 3 locks held by kworker/0:19/5777: 1 lock held by syz-executor/6328: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: netdev_wait_allrefs net/core/dev.c:10574 [inline] #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0x56f/0xa40 net/core/dev.c:10681 1 lock held by syz-executor/6543: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x974/0xe60 net/core/rtnetlink.c:5647 1 lock held by syz-executor/6583: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x974/0xe60 net/core/rtnetlink.c:5647 1 lock held by syz-executor/6733: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x974/0xe60 net/core/rtnetlink.c:5647 2 locks held by syz.0.467/6825: #0: ffffffff8d292b10 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802 #1: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x28/0x540 net/wireless/nl80211.c:14969 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4408 Comm: kworker/u4:10 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:psi_flags_change kernel/sched/psi.c:787 [inline] RIP: 0010:psi_task_change+0x8f/0x340 kernel/sched/psi.c:811 Code: 00 00 4c 8d ad f8 12 00 00 4c 89 eb 48 c1 eb 03 48 b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 0f 85 23 02 00 00 45 8b 45 00 <44> 89 c0 f7 d0 44 89 c1 23 4c 24 08 44 8b 34 24 44 21 f0 09 c8 74 RSP: 0018:ffffc900039ffaf8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 1ffff1100418125f RCX: dffffc0000000000 RDX: 0000000000000004 RSI: 00000000000010ca RDI: ffff888020c08000 RBP: ffff888020c08000 R08: 0000000000000000 R09: ffffffff8eecc058 R10: ffffffff8eecc050 R11: ffffffff8eecc043 R12: ffff888020c08048 R13: ffff888020c092f8 R14: dffffc0000000000 R15: 1ffff11004181009 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557d9255c8 CR3: 0000000029abc000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: psi_enqueue kernel/sched/stats.h:102 [inline] enqueue_task+0x26d/0x2b0 kernel/sched/core.c:1973 activate_task kernel/sched/core.c:2005 [inline] ttwu_do_activate+0x1b5/0x380 kernel/sched/core.c:3614 ttwu_queue kernel/sched/core.c:3823 [inline] try_to_wake_up+0x618/0x1050 kernel/sched/core.c:4146 wake_up_worker kernel/workqueue.c:859 [inline] process_one_work+0x69c/0x1000 kernel/workqueue.c:2273 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287