syzbot


INFO: task hung in f2fs_file_write_iter (7)

Status: auto-obsoleted due to no activity on 2026/04/22 02:55
Subsystems: f2fs
[Documentation on labels]
First crash: 105d, last: 93d
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
909ef9e0-7c1d-49a1-9223-8bf1d4f5c30c repro INFO: task hung in f2fs_file_write_iter (7) 2026/03/10 02:16 2026/03/10 02:16 2026/03/10 02:38 6972f30219093b03bcc1a54487e12a7097245c01
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in f2fs_file_write_iter (3) f2fs 1 4 726d 790d 0/29 auto-obsoleted due to no activity on 2024/07/28 01:00
upstream INFO: task hung in f2fs_file_write_iter (4) f2fs 1 2 586d 590d 0/29 auto-obsoleted due to no activity on 2024/12/14 14:52
upstream INFO: task hung in f2fs_file_write_iter (6) f2fs 1 1 205d 205d 0/29 auto-obsoleted due to no activity on 2025/12/30 22:07
linux-4.19 INFO: task hung in f2fs_file_write_iter f2fs 1 5 1148d 1252d 0/1 upstream: reported on 2022/11/20 07:00
upstream INFO: task hung in f2fs_file_write_iter f2fs 1 5 1051d 1148d 0/29 auto-obsoleted due to no activity on 2023/09/06 20:28
upstream INFO: task hung in f2fs_file_write_iter (2) f2fs 1 1 890d 890d 0/29 auto-obsoleted due to no activity on 2024/02/14 19:21
upstream INFO: task hung in f2fs_file_write_iter (5) f2fs 1 3 298d 368d 0/29 auto-obsoleted due to no activity on 2025/09/28 14:58

Sample crash report:
INFO: task syz.3.386:8312 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.386       state:D stack:25472 pid:8312  tgid:8311  ppid:5812   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5260 [inline]
 __schedule+0x147b/0x4f50 kernel/sched/core.c:6867
 __schedule_loop kernel/sched/core.c:6949 [inline]
 rt_mutex_schedule+0x76/0xf0 kernel/sched/core.c:7245
 rt_mutex_slowlock_block kernel/locking/rtmutex.c:1647 [inline]
 __rt_mutex_slowlock kernel/locking/rtmutex.c:1721 [inline]
 __rt_mutex_slowlock_locked+0x1f8f/0x25c0 kernel/locking/rtmutex.c:1760
 rt_mutex_slowlock+0xbd/0x170 kernel/locking/rtmutex.c:1800
 __rt_mutex_lock kernel/locking/rtmutex.c:1815 [inline]
 rwbase_write_lock+0x14d/0x730 kernel/locking/rwbase_rt.c:244
 inode_lock include/linux/fs.h:1027 [inline]
 f2fs_file_write_iter+0x25a/0x2480 fs/f2fs/file.c:5211
 new_sync_write fs/read_write.c:593 [inline]
 vfs_write+0x629/0xba0 fs/read_write.c:686
 ksys_write+0x156/0x270 fs/read_write.c:738
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff16bf3acb9
RSP: 002b:00007ff16a196028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff16c1b5fa0 RCX: 00007ff16bf3acb9
RDX: 0000000000000050 RSI: 00002000000000c0 RDI: 0000000000000005
RBP: 00007ff16bfa8bf7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff16c1b6038 R14: 00007ff16c1b5fa0 R15: 00007ffe7688e0e8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/38:
 #0: ffffffff8d9c7780 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 #0: ffffffff8d9c7780 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
 #0: ffffffff8d9c7780 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
4 locks held by kworker/u8:13/3517:
 #0: ffff888140464138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3232 [inline]
 #0: ffff888140464138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9d4/0x17a0 kernel/workqueue.c:3340
 #1: ffffc9000dd57bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3233 [inline]
 #1: ffffc9000dd57bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa0f/0x17a0 kernel/workqueue.c:3340
 #2: ffff8880660c40d0 (&type->s_umount_key#76){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563
 #3: ffff888061bfda80 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2313 [inline]
 #3: ffff888061bfda80 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_balance_fs+0x5d8/0x800 fs/f2fs/segment.c:464
2 locks held by dhcpcd/5461:
 #0: ffff88803c838928 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: netlink_dump+0xe4/0xe80 net/netlink/af_netlink.c:2267
 #1: ffffffff8ed37ef8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
 #1: ffffffff8ed37ef8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x92/0x200 net/core/rtnetlink.c:6826
2 locks held by getty/5559:
 #0: ffff8880357950a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc90003e8b2e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x462/0x13c0 drivers/tty/n_tty.c:2211
3 locks held by kworker/0:8/5962:
 #0: ffff88813fe15138 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3232 [inline]
 #0: ffff88813fe15138 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9d4/0x17a0 kernel/workqueue.c:3340
 #1: ffffc9000538fbc0 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3233 [inline]
 #1: ffffc9000538fbc0 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0xa0f/0x17a0 kernel/workqueue.c:3340
 #2: ffffffff8ed37ef8 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104
3 locks held by kworker/u8:15/5965:
4 locks held by kworker/u8:18/6213:
 #0: ffff88801aa94938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3232 [inline]
 #0: ffff88801aa94938 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9d4/0x17a0 kernel/workqueue.c:3340
 #1: ffffc900065f7bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3233 [inline]
 #1: ffffc900065f7bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa0f/0x17a0 kernel/workqueue.c:3340
 #2: ffffffff8ed29560 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xfe/0x7b0 net/core/net_namespace.c:670
 #3: ffffffff8ed37ef8 (rtnl_mutex){+.+.}-{4:4}, at: ops_exit_rtnl_list net/core/net_namespace.c:173 [inline]
 #3: ffffffff8ed37ef8 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x2a4/0x940 net/core/net_namespace.c:248
2 locks held by kworker/u8:21/8081:
3 locks held by syz.3.386/8312:
 #0: ffff88802fe9b928 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x252/0x320 fs/file.c:1255
 #1: ffff8880660c4480 (sb_writers#25){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2681 [inline]
 #1: ffff8880660c4480 (sb_writers#25){.+.+}-{0:0}, at: vfs_write+0x22d/0xba0 fs/read_write.c:682
 #2: ffff88805e601488 (&sb->s_type->i_mutex_key#31){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline]
 #2: ffff88805e601488 (&sb->s_type->i_mutex_key#31){+.+.}-{4:4}, at: f2fs_file_write_iter+0x25a/0x2480 fs/f2fs/file.c:5211
7 locks held by syz.3.386/8320:
1 lock held by udevd/8710:
 #0: ffff888148ce61e8 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1042 [inline]
 #0: ffff888148ce61e8 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: blkdev_read_iter+0x2ff/0x440 block/fops.c:855
2 locks held by syz-executor/9819:
 #0: ffffffff8f297ac8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 #0: ffffffff8f297ac8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
 #0: ffffffff8f297ac8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570
 #1: ffffffff8ed37ef8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
 #1: ffffffff8ed37ef8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline]
 #1: ffffffff8ed37ef8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8a1/0x1be0 net/core/rtnetlink.c:4071
2 locks held by syz.0.554/9840:
2 locks held by syz.7.556/9854:

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/13/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:161 [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:346 [inline]
 watchdog+0xf90/0xfe0 kernel/hung_task.c:515
 kthread+0x726/0x8b0 kernel/kthread.c:463
 ret_from_fork+0x51b/0xa40 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 9840 Comm: syz.0.554 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/13/2026
RIP: 0010:lock_release+0x2d7/0x3a0 kernel/locking/lockdep.c:5893
Code: 80 64 10 00 00 00 00 eb b5 e8 35 d9 51 09 f7 c3 00 02 00 00 74 b9 65 48 8b 05 15 3a 64 10 48 3b 44 24 28 75 44 fb 48 83 c4 30 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 8d 3d 62 af 8c
RSP: 0018:ffffc9000cf773c0 EFLAGS: 00000286
RAX: 24aeadd79f922100 RBX: 0000000000000202 RCX: 0000000000000046
RDX: 0000000000000001 RSI: ffffffff8d3963dd RDI: ffffffff8b65e700
RBP: ffff88802ec0e678 R08: ffffc9000cf778d0 R09: 0000000000000000
R10: ffffc9000cf77518 R11: fffff520019eeea5 R12: 0000000000000001
R13: 0000000000000001 R14: ffffffff8d9c7780 R15: ffff88802ec0dac0
FS:  00007f2c9ee866c0(0000) GS:ffff8881267fc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5037bc4000 CR3: 00000000349f6000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 rcu_lock_release include/linux/rcupdate.h:341 [inline]
 rcu_read_unlock include/linux/rcupdate.h:897 [inline]
 class_rcu_destructor include/linux/rcupdate.h:1195 [inline]
 unwind_next_frame+0x1aaa/0x23c0 arch/x86/kernel/unwind_orc.c:695
 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:57 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415
 kasan_kmalloc include/linux/kasan.h:263 [inline]
 __do_kmalloc_node mm/slub.c:5657 [inline]
 __kvmalloc_node_noprof+0x3d2/0x8f0 mm/slub.c:7140
 f2fs_kvmalloc fs/f2fs/f2fs.h:3624 [inline]
 f2fs_kvzalloc fs/f2fs/f2fs.h:3630 [inline]
 init_free_nid_cache fs/f2fs/node.c:3355 [inline]
 f2fs_build_node_manager+0x1159/0x2de0 fs/f2fs/node.c:3388
 f2fs_fill_super+0x4363/0x6e30 fs/f2fs/super.c:5101
 get_tree_bdev_flags+0x431/0x4f0 fs/super.c:1691
 vfs_get_tree+0x92/0x2a0 fs/super.c:1751
 fc_mount fs/namespace.c:1199 [inline]
 do_new_mount_fc fs/namespace.c:3636 [inline]
 do_new_mount+0x329/0xa50 fs/namespace.c:3712
 do_mount fs/namespace.c:4035 [inline]
 __do_sys_mount fs/namespace.c:4224 [inline]
 __se_sys_mount+0x31d/0x420 fs/namespace.c:4201
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2ca0c2bf4a
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2c9ee85e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f2c9ee85ee0 RCX: 00007f2ca0c2bf4a
RDX: 0000200000000000 RSI: 0000200000000040 RDI: 00007f2c9ee85ea0
RBP: 0000200000000000 R08: 00007f2c9ee85ee0 R09: 0000000000000008
R10: 0000000000000008 R11: 0000000000000246 R12: 0000200000000040
R13: 00007f2c9ee85ea0 R14: 0000000000005511 R15: 0000200000005b40
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/22 02:52 upstream cf38b2340c0e 8fc37797 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in f2fs_file_write_iter
2026/01/09 15:44 upstream 623fb9912f6a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in f2fs_file_write_iter
* Struck through repros no longer work on HEAD.