INFO: task syz.9.1496:12024 blocked for more than 143 seconds. Not tainted 6.16.0-rc6-next-20250714-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.1496 state:D stack:24648 pid:12024 tgid:12019 ppid:10209 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5314 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6697 __schedule_loop kernel/sched/core.c:6775 [inline] schedule+0x165/0x360 kernel/sched/core.c:6790 schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:100 [inline] __wait_for_common kernel/sched/completion.c:121 [inline] wait_for_common kernel/sched/completion.c:132 [inline] wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:153 f2fs_issue_checkpoint+0x376/0x570 fs/f2fs/checkpoint.c:-1 f2fs_do_sync_file+0x869/0x1860 fs/f2fs/file.c:346 generic_write_sync include/linux/fs.h:3038 [inline] f2fs_file_write_iter+0x74d/0x2410 fs/f2fs/file.c:5252 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x548/0xa90 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x193/0x220 fs/read_write.c:798 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f21def8e929 RSP: 002b:00007f21dfeb7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f21df1b5fa0 RCX: 00007f21def8e929 RDX: 000000000000fdef RSI: 0000200000000140 RDI: 0000000000000006 RBP: 00007f21df010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000e7c R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f21df1b5fa0 R15: 00007ffdca105af8 Showing all locks held in the system: 3 locks held by kworker/u8:0/12: #0: ffff88801b6fc148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff88801b6fc148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc90000117bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc90000117bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 #2: ffff8880336e00e0 (&type->s_umount_key#58){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563 1 lock held by khungtaskd/31: #0: ffffffff8e13eca0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13eca0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13eca0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 3 locks held by kworker/u8:5/1090: 6 locks held by kworker/u8:7/1147: 2 locks held by getty/5605: #0: ffff88814d0de0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 3 locks held by kworker/u8:13/7436: #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc90015537bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc90015537bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 #2: ffffffff8f525d48 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 3 locks held by kworker/0:7/10440: #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc90003d6fbc0 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc90003d6fbc0 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 #2: ffffffff8f525d48 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 1 lock held by syz.9.1496/12024: #0: ffff8880336e0428 (sb_writers#23){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3103 [inline] #0: ffff8880336e0428 (sb_writers#23){.+.+}-{0:0}, at: vfs_write+0x211/0xa90 fs/read_write.c:682 2 locks held by f2fs_ckpt-7:9/12042: 1 lock held by syz.6.1796/13223: #0: ffff88802e758be0 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:385 [inline] #0: ffff88802e758be0 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0x211/0x4d0 mm/util.c:577 1 lock held by syz.6.1796/13224: 1 lock held by syz.3.1799/13245: #0: ffffffff8f525d48 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:634 [inline] #0: ffffffff8f525d48 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0 drivers/net/tun.c:3435 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc6-next-20250714-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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:328 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:491 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 12042 Comm: f2fs_ckpt-7:9 Not tainted 6.16.0-rc6-next-20250714-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] RIP: 0010:raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2629 [inline] RIP: 0010:raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] RIP: 0010:atomic_long_set include/linux/atomic/atomic-instrumented.h:3224 [inline] RIP: 0010:__rwsem_set_reader_owned kernel/locking/rwsem.c:177 [inline] RIP: 0010:rwsem_set_reader_owned kernel/locking/rwsem.c:182 [inline] RIP: 0010:rwsem_read_trylock kernel/locking/rwsem.c:257 [inline] RIP: 0010:__down_read_common kernel/locking/rwsem.c:1262 [inline] RIP: 0010:__down_read kernel/locking/rwsem.c:1276 [inline] RIP: 0010:down_read+0x196/0x2e0 kernel/locking/rwsem.c:1541 Code: 00 74 08 48 89 df e8 99 84 ab f6 48 8b 03 83 e0 02 49 09 c6 49 83 ce 01 48 89 df be 08 00 00 00 e8 1f 87 ab f6 43 80 3c 3c 00 <74> 08 48 89 df e8 60 85 ab f6 4c 89 33 bf 01 00 00 00 e8 33 60 17 RSP: 0018:ffffc9000b4f74c8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff88807b70c0c8 RCX: ffffffff8b78f8f1 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88807b70c0c8 RBP: 000000000000000a R08: ffff88807b70c0cf R09: 1ffff1100f6e1819 R10: dffffc0000000000 R11: ffffed100f6e181a R12: 1ffff1100f6e1819 R13: dffffc0000000000 R14: ffff888025685a01 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888125bed000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faacd3bd000 CR3: 000000005d294000 CR4: 00000000003526f0 Call Trace: f2fs_down_read fs/f2fs/f2fs.h:2216 [inline] f2fs_get_node_info+0x13d/0xff0 fs/f2fs/node.c:564 read_node_folio+0x20a/0x3f0 fs/f2fs/node.c:1428 __get_node_folio+0x22a/0x1410 fs/f2fs/node.c:1509 f2fs_update_inode_page+0x82/0x190 fs/f2fs/inode.c:766 f2fs_sync_inode_meta fs/f2fs/checkpoint.c:1156 [inline] block_operations fs/f2fs/checkpoint.c:1263 [inline] f2fs_write_checkpoint+0xb6e/0x1df0 fs/f2fs/checkpoint.c:1638 __write_checkpoint_sync fs/f2fs/checkpoint.c:1756 [inline] __checkpoint_and_complete_reqs+0xd9/0x3b0 fs/f2fs/checkpoint.c:1775 issue_checkpoint_thread+0xd9/0x260 fs/f2fs/checkpoint.c:1806 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245