INFO: task kworker/u8:3:37 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:3 state:D stack:20840 pid:37 tgid:37 ppid:2 task_flags:0x4208060 flags:0x00080000 Workqueue: writeback wb_workfn (flush-7:8) Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0x165/0x360 kernel/sched/core.c:7026 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7083 rwsem_down_write_slowpath+0x872/0xfe0 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1591 f2fs_down_write fs/f2fs/f2fs.h:2294 [inline] f2fs_balance_fs+0x5ab/0x7f0 fs/f2fs/segment.c:464 f2fs_write_inode+0x3fb/0x5f0 fs/f2fs/inode.c:820 write_inode fs/fs-writeback.c:1564 [inline] __writeback_single_inode+0x6f1/0xff0 fs/fs-writeback.c:1784 writeback_sb_inodes+0x6c7/0x1010 fs/fs-writeback.c:2015 __writeback_inodes_wb+0x111/0x240 fs/fs-writeback.c:2086 wb_writeback+0x44f/0xaf0 fs/fs-writeback.c:2197 wb_check_old_data_flush fs/fs-writeback.c:2301 [inline] wb_do_writeback fs/fs-writeback.c:2354 [inline] wb_workfn+0xaef/0xef0 fs/fs-writeback.c:2382 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e33d320 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e33d320 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8e33d320 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 4 locks held by kworker/u8:3/37: #0: ffff8880202e9148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff8880202e9148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90000ad7ba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90000ad7ba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffff888011a3a0e0 (&type->s_umount_key#108){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:562 #3: ffff88804bbf5478 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2294 [inline] #3: ffff88804bbf5478 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_balance_fs+0x5ab/0x7f0 fs/f2fs/segment.c:464 5 locks held by kworker/u8:6/1332: #0: ffff88801bae6948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88801bae6948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90003f5fba0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90003f5fba0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffffffff8f732250 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x820 net/core/net_namespace.c:669 #3: ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0xdc/0x890 net/core/dev.c:12820 #4: ffffffff8e342db8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #4: ffffffff8e342db8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:957 2 locks held by getty/5622: #0: ffff88814d1e50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000362b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 3 locks held by kworker/u8:9/6198: #0: ffff88813fe69948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88813fe69948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc9000b5bfba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc9000b5bfba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 6 locks held by syz.8.1269/11609: 1 lock held by syz-executor/13371: #0: ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80 net/core/rtnetlink.c:4064 2 locks held by syz.2.1669/13544: #0: ffffffff8f7a4e90 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8f7a4ca8 (genl_mutex){+.+.}-{4:4}, at: genl_lock net/netlink/genetlink.c:35 [inline] #1: ffffffff8f7a4ca8 (genl_mutex){+.+.}-{4:4}, at: genl_op_lock net/netlink/genetlink.c:60 [inline] #1: ffffffff8f7a4ca8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790 net/netlink/genetlink.c:1209 3 locks held by syz.9.1668/13538: #0: ffffffff8f7a4e90 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8f7a4ca8 (genl_mutex){+.+.}-{4:4}, at: genl_lock net/netlink/genetlink.c:35 [inline] #1: ffffffff8f7a4ca8 (genl_mutex){+.+.}-{4:4}, at: genl_op_lock net/netlink/genetlink.c:60 [inline] #1: ffffffff8f7a4ca8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790 net/netlink/genetlink.c:1209 #2: ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: wg_set_device+0x15b/0x1fc0 drivers/net/wireguard/netlink.c:514 2 locks held by syz.9.1668/13547: #0: ffffffff8fc526b8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8fc526b8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8fc526b8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570 #1: ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80 net/core/rtnetlink.c:4064 1 lock held by syz.9.1668/13551: #0: ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff8f73f388 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x71c/0xb70 net/core/rtnetlink.c:6960 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline] watchdog+0xf60/0xfa0 kernel/hung_task.c:495 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 11609 Comm: syz.8.1269 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:__preempt_count_add kernel/rcu/tree.c:747 [inline] RIP: 0010:rcu_is_watching+0x6/0xb0 kernel/rcu/tree.c:750 Code: e8 bf 65 5f 03 eb cc 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 <41> 56 53 65 ff 05 70 49 1b 11 e8 3b c4 d8 09 89 c3 83 f8 08 73 65 RSP: 0018:ffffc90000a08ad0 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8197b8d1 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fc35770 RBP: 000000000000b8af R08: ffffffff8fc35777 R09: 1ffffffff1f86aee R10: dffffc0000000000 R11: fffffbfff1f86aef R12: ffff888032f97800 R13: 00000000002b8c00 R14: 0000000000000001 R15: ffff888032f978b0 FS: 00007fcb8c0166c0(0000) GS:ffff888125afc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555582af95c8 CR3: 0000000078a84000 CR4: 00000000003526f0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: trace_pelt_cfs_tp include/trace/events/sched.h:833 [inline] __update_load_avg_cfs_rq+0x6f6/0xbd0 kernel/sched/pelt.c:329 update_cfs_rq_load_avg kernel/sched/fair.c:4615 [inline] update_load_avg+0x572/0x1880 kernel/sched/fair.c:4728 entity_tick kernel/sched/fair.c:5572 [inline] task_tick_fair+0x86/0x760 kernel/sched/fair.c:13114 sched_tick+0x24b/0x950 kernel/sched/core.c:5600 update_process_times+0x270/0x2f0 kernel/time/timer.c:2478 tick_sched_handle kernel/time/tick-sched.c:276 [inline] tick_nohz_handler+0x39a/0x520 kernel/time/tick-sched.c:297 __run_hrtimer kernel/time/hrtimer.c:1777 [inline] __hrtimer_run_queues+0x4e0/0xc60 kernel/time/hrtimer.c:1841 hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1903 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1041 [inline] __sysvec_apic_timer_interrupt+0x10b/0x410 arch/x86/kernel/apic/apic.c:1058 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2034 [inline] RIP: 0010:vprintk_emit+0x49d/0x590 kernel/printk/printk.c:2422 Code: 0f 84 34 ff ff ff e8 62 9a 1f 00 fb eb 44 e8 5a 9a 1f 00 e8 45 e1 de 09 4d 85 f6 74 94 e8 4b 9a 1f 00 fb 48 c7 c7 40 13 33 8e <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 53 e8 2b 3b RSP: 0018:ffffc9000469e700 EFLAGS: 00000293 RAX: ffffffff81a0c0d5 RBX: ffffffff81a0bf2e RCX: ffff888027868000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8e331340 RBP: ffffc9000469e810 R08: ffffffff8fc35777 R09: 1ffffffff1f86aee R10: dffffc0000000000 R11: fffffbfff1f86aef R12: 0000000000000000 R13: 000000000000006d R14: 0000000000000200 R15: 1ffff920008d3ce4 _printk+0xcf/0x120 kernel/printk/printk.c:2448 bio_check_eod block/blk-core.c:565 [inline] submit_bio_noacct+0x118a/0x1b80 block/blk-core.c:801 f2fs_submit_page_read+0x116/0x190 fs/f2fs/data.c:1110 f2fs_get_read_data_folio+0x4a4/0x7d0 fs/f2fs/data.c:1268 gc_data_segment fs/f2fs/gc.c:1641 [inline] do_garbage_collect+0x42f6/0x65d0 fs/f2fs/gc.c:1826 f2fs_gc+0xc8d/0x25a0 fs/f2fs/gc.c:1931 f2fs_balance_fs+0x5f7/0x7f0 fs/f2fs/segment.c:466 f2fs_map_blocks+0x345f/0x4130 fs/f2fs/data.c:1792 f2fs_expand_inode_data+0x5af/0xa60 fs/f2fs/file.c:1923 f2fs_fallocate+0x4f5/0x990 fs/f2fs/file.c:2026 vfs_fallocate+0x669/0x7e0 fs/open.c:342 ioctl_preallocate fs/ioctl.c:289 [inline] file_ioctl+0x611/0x780 fs/ioctl.c:-1 do_vfs_ioctl+0xb33/0x1430 fs/ioctl.c:576 __do_sys_ioctl fs/ioctl.c:595 [inline] __se_sys_ioctl+0x82/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcb8b18eec9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcb8c016038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fcb8b3e6090 RCX: 00007fcb8b18eec9 RDX: 00002000000000c0 RSI: 0000000040305828 RDI: 0000000000000004 RBP: 00007fcb8b211f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcb8b3e6128 R14: 00007fcb8b3e6090 R15: 00007fff4061e918