INFO: task hung in f2fs_write_checkpoint

Status: auto-obsoleted due to no activity on 2026/11/23 08:47
Subsystems: f2fs
Labels: prio:high
[Documentation on labels]
First crash: 61d, last: 61d
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
65364a6a assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ INFO: task hung in f2fs_write_checkpoint 2026/09/26 05:14 2026/09/26 05:14 2026/09/26 07:25 a3c7249d

Sample crash report:
INFO: task f2fs_writeback-:16527 blocked for more than 143 seconds.
      Tainted: G             L       syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:f2fs_writeback- state:D stack:28064 pid:16527 tgid:16527 ppid:2      task_flags:0x200040 flags:0x00080000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5535 [inline]
 __schedule+0x1b47/0x5c60 kernel/sched/core.c:7305
 __schedule_loop kernel/sched/core.c:7382 [inline]
 schedule+0x164/0x2b0 kernel/sched/core.c:7397
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7454
 rwsem_down_write_slowpath+0x874/0x10d0 kernel/locking/rwsem.c:1215
 __down_write_common kernel/locking/rwsem.c:1347 [inline]
 __down_write kernel/locking/rwsem.c:1356 [inline]
 down_write+0x1b7/0x200 kernel/locking/rwsem.c:1632
 f2fs_down_write fs/f2fs/f2fs.h:2540 [inline]
 f2fs_down_write_trace+0x34/0x1f0 fs/f2fs/checkpoint.c:181
 f2fs_write_checkpoint+0x1fa/0x24d0 fs/f2fs/checkpoint.c:1936
 f2fs_issue_checkpoint+0x424/0x6f0 fs/f2fs/checkpoint.c:2171
 f2fs_balance_fs_bg+0x5ae/0xa00 fs/f2fs/segment.c:553
 f2fs_write_node_caches+0xeb/0x3d0 fs/f2fs/node.c:2273
 f2fs_cache_writeback_kthread+0x47a/0x7b0 fs/f2fs/cache.c:681
 kthread+0x38b/0x480 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/34: 1, last CPU#0:
 #0: ffffffff8ed5c260 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #0: ffffffff8ed5c260 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #0: ffffffff8ed5c260 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871
locks held by getty/5367: 2, on CPU#0:
 #0: ffff88803618e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000321e2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211
locks held by syz-executor/5599: 3, on CPU#0:
 #0: ffff888079b32308 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500 mm/mmap_lock.c:309
 #1: ffff88803537a558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs/super.h:159 [inline]
 #1: ffff88803537a558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1fd/0x12c0 fs/ext4/inode.c:6901
 #2: ffff8880353ae938 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1fb0/0x21f0 fs/jbd2/transaction.c:444
locks held by syz.8.3488/15368: 3, last CPU#0:
 #0: ffff888053c240e8 (&type->s_umount_key#56){+.+.}-{4:4}, at: __super_lock fs/super.c:60 [inline]
 #0: ffff888053c240e8 (&type->s_umount_key#56){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline]
 #0: ffff888053c240e8 (&type->s_umount_key#56){+.+.}-{4:4}, at: deactivate_super+0xac/0xe0 fs/super.c:613
 #1: ffff8880555f4320 (&sbi->cp_global_sem_key){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2540 [inline]
 #1: ffff8880555f4320 (&sbi->cp_global_sem_key){+.+.}-{4:4}, at: f2fs_down_write_trace+0x34/0x1f0 fs/f2fs/checkpoint.c:181
 #2: ffff88804a9b2938 (&nm_i->nat_tree_lock){++++}-{4:4}, at: f2fs_down_read fs/f2fs/f2fs.h:2524 [inline]
 #2: ffff88804a9b2938 (&nm_i->nat_tree_lock){++++}-{4:4}, at: f2fs_down_read_trace+0x31/0x1f0 fs/f2fs/checkpoint.c:156
locks held by f2fs_writeback-/16527: 3, on CPU#0:
 #0: ffff888053c24460 (sb_writers#14){.+.+}-{0:0}, at: kthread+0x38b/0x480 kernel/kthread.c:436
 #1: ffff8880555f54e0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2540 [inline]
 #1: ffff8880555f54e0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write_trace+0x34/0x1f0 fs/f2fs/checkpoint.c:181
 #2: ffff8880555f4320 (&sbi->cp_global_sem_key){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2540 [inline]
 #2: ffff8880555f4320 (&sbi->cp_global_sem_key){+.+.}-{4:4}, at: f2fs_down_write_trace+0x34/0x1f0 fs/f2fs/checkpoint.c:181
locks held by kworker/u8:13/17798: 6, on CPU#0:
 #0: ffff888020e8e148 ((wq_completion)writeback){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #0: ffff888020e8e148 ((wq_completion)writeback){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #0: ffff888020e8e148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline]
 #0: ffff888020e8e148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578
 #1: ffffc9000515fc40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #1: ffffc9000515fc40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #1: ffffc9000515fc40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline]
 #1: ffffc9000515fc40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578
 #2: ffff88803537a0e8 (&type->s_umount_key#35){++++}-{4:4}, at: super_trylock_shared+0x23/0xf0 fs/super.c:670
 #3: ffff888035378c98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x1f1/0x4e0 fs/ext4/inode.c:3031
 #4: ffff8880353ae938 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1fb0/0x21f0 fs/jbd2/transaction.c:444
 #5: ffff888076948b28 (&ei->i_data_sem#2){++++}-{4:4}, at: ext4_map_blocks+0x77d/0x12c0 fs/ext4/inode.c:822
locks held by syz.7.4612/18882: 3, on CPU#0:
 #0: ffff88807d147588 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500 mm/mmap_lock.c:309
 #1: ffff88803537a558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs/super.h:159 [inline]
 #1: ffff88803537a558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1fd/0x12c0 fs/ext4/inode.c:6901
 #2: ffff8880353ae938 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1fb0/0x21f0 fs/jbd2/transaction.c:444
locks held by syz.9.4616/18891: 3, on CPU#0:
 #0: ffff8880771bf6c8 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500 mm/mmap_lock.c:309
 #1: ffff88803537a558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs/super.h:159 [inline]
 #1: ffff88803537a558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1fd/0x12c0 fs/ext4/inode.c:6901
 #2: ffff8880353ae938 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1fb0/0x21f0 fs/jbd2/transaction.c:444
locks held by syz.0.4618/18894: 3, on CPU#0:
 #0: ffff88807ce0ae48 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500 mm/mmap_lock.c:309
 #1: ffff88803537a558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs/super.h:159 [inline]
 #1: ffff88803537a558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1fd/0x12c0 fs/ext4/inode.c:6901
 #2: ffff8880353ae938 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1fb0/0x21f0 fs/jbd2/transaction.c:444
locks held by syz.1.4619/18897: 3, on CPU#0:
 #0: ffff888059b7c6c8 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500 mm/mmap_lock.c:309
 #1: ffff88803537a558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs/super.h:159 [inline]
 #1: ffff88803537a558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1fd/0x12c0 fs/ext4/inode.c:6901
 #2: ffff8880353ae938 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1fb0/0x21f0 fs/jbd2/transaction.c:444

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 Comm: khungtaskd Tainted: G             L       syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:123
 nmi_trigger_cpumask_backtrace+0x17d/0x390 lib/nmi_backtrace.c:66
 trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline]
 __sys_info lib/sys_info.c:157 [inline]
 sys_info+0x135/0x170 lib/sys_info.c:165
 check_hung_uninterruptible_tasks kernel/hung_task.c:377 [inline]
 watchdog+0x1058/0x10d0 kernel/hung_task.c:598
 kthread+0x38b/0x480 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/24 08:47 linux-next 3d7783543c26 3c3cdf19 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in f2fs_write_checkpoint
* Struck through repros no longer work on HEAD.