syzbot


INFO: task hung in xfs_log_force

Status: auto-obsoleted due to no activity on 2025/09/24 19:52
Subsystems: xfs
[Documentation on labels]
First crash: 219d, last: 108d

Sample crash report:
INFO: task syz-executor:6530 blocked for more than 146 seconds.
      Not tainted 6.16.0-rc2-syzkaller-g9aa9b43d689e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:0     pid:6530  tgid:6530  ppid:6511   task_flags:0x400140 flags:0x00000018
Call trace:
 __switch_to+0x414/0x834 arch/arm64/kernel/process.c:737 (T)
 context_switch kernel/sched/core.c:5396 [inline]
 __schedule+0x1414/0x2a28 kernel/sched/core.c:6785
 __schedule_loop kernel/sched/core.c:6863 [inline]
 schedule+0xb4/0x230 kernel/sched/core.c:6878
 xlog_wait+0x114/0x1a4 fs/xfs/xfs_log_priv.h:588
 xlog_wait_on_iclog+0x2f8/0x56c fs/xfs/xfs_log.c:841
 xfs_log_force+0x478/0x94c fs/xfs/xfs_log.c:2947
 xfs_fs_sync_fs+0x120/0x400 fs/xfs/xfs_super.c:828
 sync_filesystem+0x1a0/0x218 fs/sync.c:66
 generic_shutdown_super+0x70/0x2b8 fs/super.c:622
 kill_block_super+0x44/0x90 fs/super.c:1753
 xfs_kill_sb+0x20/0x58 fs/xfs/xfs_super.c:2318
 deactivate_locked_super+0xc4/0x12c fs/super.c:474
 deactivate_super+0xe0/0x100 fs/super.c:507
 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1417
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1424
 task_work_run+0x1dc/0x260 kernel/task_work.c:227
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 do_notify_resume+0x16c/0x1ec arch/arm64/kernel/entry-common.c:151
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline]
 el0_svc+0xb4/0x17c arch/arm64/kernel/entry-common.c:768
 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600

Showing all locks held in the system:
1 lock held by kthreadd/2:
2 locks held by kworker/0:1/11:
3 locks held by kworker/u8:0/12:
3 locks held by kworker/u8:1/13:
2 locks held by kworker/1:0/24:
2 locks held by kworker/1:1/26:
1 lock held by khungtaskd/32:
 #0: ffff80008f819e40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330
3 locks held by kworker/u8:2/41:
3 locks held by kworker/u8:3/42:
3 locks held by kworker/u8:4/244:
3 locks held by kworker/u8:5/347:
3 locks held by kworker/u8:6/597:
3 locks held by kworker/u8:7/788:
2 locks held by kworker/1:2/2314:
3 locks held by kworker/R-ipv6_/4162:
 #0: ffff0000d2203948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/26 19:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9aa9b43d689e 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in xfs_log_force
2025/06/03 13:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d7fa1af5b33e a30356b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in xfs_log_force
2025/05/08 06:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e0f4c8dd9d2d dbf35fa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in xfs_log_force
2025/04/26 07:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c72692105976 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in xfs_log_force
2025/04/11 19:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2fe2b96c3818 12ba9c21 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in xfs_log_force
2025/03/26 14:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in xfs_log_force
2025/03/07 21:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 77c95b8c7a16 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in xfs_log_force
* Struck through repros no longer work on HEAD.