syzbot


INFO: task hung in f2fs_stop_gc_thread

Status: upstream: reported C repro on 2025/11/07 22:55
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+271ecd34c43208563db0@syzkaller.appspotmail.com
First crash: 143d, last: 9d00h
Bug presence (2)
Date Name Commit Repro Result
2025/11/08 linux-5.15.y (ToT) cc5ec8769306 C [report] INFO: task hung in f2fs_stop_gc_thread
2025/11/08 upstream (ToT) e811c33b1f13 C Didn't crash
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in f2fs_stop_gc_thread 1 C error 3 54d 107d 0/3 upstream: reported C repro on 2025/12/13 07:44
upstream INFO: task hung in f2fs_stop_gc_thread f2fs 1 24 500d 614d 0/29 auto-obsoleted due to no activity on 2025/01/22 18:30
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/02/15 11:36 54m retest repro linux-5.15.y report log
2026/02/15 11:36 48m retest repro linux-5.15.y report log
2026/02/01 07:03 12m retest repro linux-5.15.y report log
2026/02/01 07:03 47m retest repro linux-5.15.y report log
2026/02/01 07:03 49m retest repro linux-5.15.y report log
2026/02/01 07:03 25m retest repro linux-5.15.y report log
2026/02/01 07:03 19m retest repro linux-5.15.y report log
2026/01/17 13:29 13m retest repro linux-5.15.y report log
2025/12/07 03:51 18m retest repro linux-5.15.y report log
2025/12/07 03:51 12m retest repro linux-5.15.y report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2026/03/24 22:48 1m fix candidate upstream error job log
2026/02/20 18:17 2m fix candidate upstream error job log
2026/01/20 15:25 12h00m fix candidate upstream error job log

Sample crash report:
INFO: task syz.0.50:4532 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.50        state:D stack:27824 pid: 4532 ppid:  4313 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11ef/0x43c0 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0xbd/0x2d0 kernel/time/timer.c:2093
 do_wait_for_common+0x2a2/0x450 kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x48/0x60 kernel/sched/completion.c:138
 kthread_stop+0x16e/0x540 kernel/kthread.c:666
 f2fs_stop_gc_thread+0x61/0xa0 fs/f2fs/gc.c:186
 f2fs_ioc_shutdown fs/f2fs/file.c:2309 [inline]
 __f2fs_ioctl+0x6737/0xc5d0 fs/f2fs/file.c:4222
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 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:0x7fb60ddb2799
RSP: 002b:00007fb60d3f3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fb60e02c090 RCX: 00007fb60ddb2799
RDX: 0000200000000080 RSI: 000000008004587d RDI: 0000000000000005
RBP: 00007fb60de48c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb60e02c128 R14: 00007fb60e02c090 R15: 00007fffa2e4a9e8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8c31eaa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3946:
 #0: ffff88802c59a098 (&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+0x5df/0x1a70 drivers/tty/n_tty.c:2158
1 lock held by syz.0.50/4532:
 #0: ffff88807771c460 (sb_writers#13){++++}-{0:0}, at: mnt_want_write_file+0x5c/0x200 fs/namespace.c:430
1 lock held by syz.1.122/4989:
 #0: ffff888026208460 (sb_writers#13){++++}-{0:0}, at: mnt_want_write_file+0x5c/0x200 fs/namespace.c:430
1 lock held by udevd/4993:
3 locks held by syz.2.192/5426:
 #0: ffff88814088e448 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: freeze_bdev+0x2d/0x210 block/bdev.c:241
 #1: ffff88807c330460 (sb_writers#13){++++}-{0:0}, at: sb_wait_write fs/super.c:1626 [inline]
 #1: ffff88807c330460 (sb_writers#13){++++}-{0:0}, at: freeze_super+0x12d/0x420 fs/super.c:1717
 #2: ffffffff8c323528 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
 #2: ffffffff8c323528 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2d1/0x750 kernel/rcu/tree_exp.h:845

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

NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3a2/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
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 144 Comm: kworker/u4:1 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline]
RIP: 0010:lock_acquire+0x14b/0x400 kernel/locking/lockdep.c:5619
Code: 0f 85 08 02 00 00 41 83 3e 00 0f 85 16 01 00 00 43 c6 44 3d 08 00 48 c7 84 24 a0 00 00 00 00 00 00 00 9c 8f 84 24 a0 00 00 00 <4c> 8b b4 24 a0 00 00 00 43 c6 44 3d 08 f8 fa 48 c7 c7 80 35 2b 8a
RSP: 0018:ffffc9000174f820 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: d90adaaf1537c000
RDX: 0000000000000000 RSI: ffffffff8a79f960 RDI: ffffffff8a79f920
RBP: ffffc9000174f940 R08: ffffffff8d89e36f R09: 1ffffffff1b13c6d
R10: dffffc0000000000 R11: fffffbfff1b13c6e R12: ffffffff8c31eaa0
R13: 1ffff920002e9f10 R14: ffff88801beba8ac R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f49354b5a08 CR3: 000000007508f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:313
 rcu_read_lock include/linux/rcupdate.h:740 [inline]
 ieee80211_update_sta_info net/mac80211/ibss.c:1003 [inline]
 ieee80211_rx_bss_info net/mac80211/ibss.c:1121 [inline]
 ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline]
 ieee80211_ibss_rx_queued_mgmt+0xd38/0x2ab0 net/mac80211/ibss.c:1643
 ieee80211_iface_process_skb net/mac80211/iface.c:1459 [inline]
 ieee80211_iface_work+0x70e/0xc60 net/mac80211/iface.c:1513
 cfg80211_wiphy_work+0x221/0x260 net/wireless/core.c:433
 process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
 worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/22 03:18 linux-5.15.y 91d48252ad4b 5b92003d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2025/11/09 02:26 linux-5.15.y cc5ec8769306 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2025/11/08 23:14 linux-5.15.y cc5ec8769306 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2025/11/08 20:21 linux-5.15.y cc5ec8769306 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2025/11/08 17:52 linux-5.15.y cc5ec8769306 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2025/11/08 15:04 linux-5.15.y cc5ec8769306 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2025/11/08 08:09 linux-5.15.y cc5ec8769306 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2025/11/08 05:25 linux-5.15.y cc5ec8769306 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2025/11/08 02:36 linux-5.15.y cc5ec8769306 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2026/03/21 23:54 linux-5.15.y 91d48252ad4b 5b92003d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2026/01/03 03:37 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
2025/11/07 22:54 linux-5.15.y cc5ec8769306 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in f2fs_stop_gc_thread
* Struck through repros no longer work on HEAD.