INFO: task hung in xlog_force_lsn (2)

Status: upstream: reported C repro on 2025/10/10 20:49
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+c27dee924f3271489c82@syzkaller.appspotmail.com
First crash: 368d, last: 63d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
▶ ▼ ✨ AI Patch Versions (1)
Version Stage Reported Report Link Job
1 moderation 2026/06/30 16:29 Discussion 1e521189-2f04-4be9-a2a0-4fc34391ce35
▶ ▼ ✨ AI Jobs (11)
ID Workflow Result Correct Bug Created Started Finished Revision
8f20065f assessment-security 💥 INFO: task hung in xlog_force_lsn (2) 2026/10/05 02:27 2026/10/05 02:27 2026/10/05 02:29 57bbd979
e7298e12 assessment-security 💥 INFO: task hung in xlog_force_lsn (2) 2026/09/04 02:36 2026/09/04 02:36 2026/09/04 02:38 d2e5fb95
718c456f assessment-security 💥 INFO: task hung in xlog_force_lsn (2) 2026/08/05 00:01 2026/08/05 00:01 2026/08/05 00:01 d4abbeac
48e60f0e assessment-security 💥 INFO: task hung in xlog_force_lsn (2) 2026/07/05 02:53 2026/07/05 02:53 2026/07/05 02:56 93f57954
1e521189 patching ❓ INFO: task hung in xlog_force_lsn (2) 2026/06/30 14:33 2026/06/30 14:33 2026/06/30 16:29 93f57954
e88c1435 patching 💥 INFO: task hung in xlog_force_lsn (2) 2026/06/26 19:56 2026/06/26 22:18 2026/06/26 22:18 7ff32d8b
55319c84 assessment-security 💥 INFO: task hung in xlog_force_lsn (2) 2026/06/18 02:30 2026/06/18 02:30 2026/06/18 02:32 b62b3ded
6642b34c assessment-security 💥 INFO: task hung in xlog_force_lsn (2) 2026/06/09 22:36 2026/06/09 22:36 2026/06/09 22:38 c36c07f6
098f868b assessment-security 💥 INFO: task hung in xlog_force_lsn (2) 2026/06/03 00:16 2026/06/03 00:16 2026/06/03 00:19 62fe1528
5f6f8ef0 assessment-security 💥 INFO: task hung in xlog_force_lsn (2) 2026/05/31 23:05 2026/05/31 23:05 2026/05/31 23:08 6b4a8443
59e29931 assessment-security 💥 INFO: task hung in xlog_force_lsn (2) 2026/05/15 07:22 2026/05/15 07:22 2026/05/15 07:23 6ccb967e
▶ ▼ Discussions (7)
Title Replies (including bot) Last reply
[syzbot] Monthly xfs report (Aug 2026) 0 (1) 2026/08/18 12:32
[syzbot] [xfs?] INFO: task hung in xlog_force_lsn (2) 0 (3) 2026/04/13 08:06
[syzbot] Monthly xfs report (Apr 2026) 0 (1) 2026/04/08 06:44
[syzbot] Monthly xfs report (Mar 2026) 0 (1) 2026/03/04 18:24
[syzbot] Monthly xfs report (Dec 2025) 0 (1) 2025/12/30 09:53
[syzbot] Monthly xfs report (Nov 2025) 0 (1) 2025/11/28 21:21
[syzbot] Monthly xfs report (Oct 2025) 0 (1) 2025/10/29 09:50
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in xlog_force_lsn xfs 1 5 484d 592d 0/29 auto-obsoleted due to no activity on 2025/09/12 04:10
▶ ▼ Last patch testing requests (7)
Created Duration User Patch Repo Result
2026/10/10 20:03 26m retest repro upstream no crash job log log
2026/07/08 20:16 20m retest repro upstream log
2026/04/20 10:34 22m retest repro upstream report log
2026/04/13 08:06 18m ytohnuki@amazon.com patch upstream report log
2026/04/13 06:19 17m ytohnuki@amazon.com patch upstream report log
2026/02/03 14:15 15m retest repro upstream error
2025/10/25 20:26 16m retest repro upstream report log
▶ ▼ Fix bisection attempts (2)
Created Duration User Patch Repo Result
2026/02/08 03:13 7m bisect fix upstream error job log
2025/11/25 10:35 2h49m bisect fix upstream OK (0) job log log

Sample crash report:
INFO: task syz.0.732:17842 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.732       state:D stack:26888 pid:17842 tgid:17830 ppid:16437  task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5510 [inline]
 __schedule+0x16dc/0x5500 kernel/sched/core.c:7234
 __schedule_loop kernel/sched/core.c:7311 [inline]
 schedule+0x164/0x2b0 kernel/sched/core.c:7326
 xlog_wait fs/xfs/xfs_log_priv.h:604 [inline]
 xlog_wait_on_iclog+0x49b/0x6f0 fs/xfs/xfs_log.c:791
 xlog_force_lsn+0x4b4/0x950 fs/xfs/xfs_log.c:2951
 xfs_log_force_seq+0x1c9/0x440 fs/xfs/xfs_log.c:2988
 __xfs_trans_commit+0x7f7/0xc20 fs/xfs/xfs_trans.c:877
 xfs_trans_commit+0x13e/0x1c0 fs/xfs/xfs_trans.c:926
 xfs_sync_sb_buf+0x13f/0x230 fs/xfs/libxfs/xfs_sb.c:1490
 xfs_ioc_setlabel+0x1d7/0x340 fs/xfs/xfs_ioctl.c:1081
 xfs_file_ioctl+0x901/0x1590 fs/xfs/xfs_ioctl.c:1238
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xff/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f540c1be0d9
RSP: 002b:00007f540a3d4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f540c446180 RCX: 00007f540c1be0d9
RDX: 0000200000000080 RSI: 0000000041009432 RDI: 000000000000000a
RBP: 00007f540c255024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f540c446218 R14: 00007f540c446180 R15: 00007ffc054a4558
 </TASK>
INFO: task syz.0.732:17850 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.732       state:D stack:27384 pid:17850 tgid:17830 ppid:16437  task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5510 [inline]
 __schedule+0x16dc/0x5500 kernel/sched/core.c:7234
 __schedule_loop kernel/sched/core.c:7311 [inline]
 schedule+0x164/0x2b0 kernel/sched/core.c:7326
 schedule_timeout+0xc0/0x2c0 kernel/time/sleep_timeout.c:75
 ___down_common kernel/locking/semaphore.c:293 [inline]
 __down_common+0x3b7/0x850 kernel/locking/semaphore.c:318
 down+0x80/0xd0 kernel/locking/semaphore.c:100
 xfs_buf_lock+0x153/0x4c0 fs/xfs/xfs_buf.c:932
 xfs_buf_item_unpin+0x1bb/0x6c0 fs/xfs/xfs_buf_item.c:551
 xlog_cil_ail_insert fs/xfs/xfs_log_cil.c:-1 [inline]
 xlog_cil_committed+0x9c6/0x1110 fs/xfs/xfs_log_cil.c:995
 xlog_cil_process_committed+0x154/0x1b0 fs/xfs/xfs_log_cil.c:1025
 xlog_state_shutdown_callbacks+0x26d/0x370 fs/xfs/xfs_log.c:438
 xlog_force_shutdown+0x31a/0x3f0 fs/xfs/xfs_log.c:3408
 xfs_do_force_shutdown+0x2ae/0x6d0 fs/xfs/xfs_fsops.c:509
 xfs_fs_goingdown+0x71/0x150 fs/xfs/xfs_fsops.c:-1
 xfs_file_ioctl+0x1200/0x1590 fs/xfs/xfs_ioctl.c:1413
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xff/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f540c1be0d9
RSP: 002b:00007f540976b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f540c446450 RCX: 00007f540c1be0d9
RDX: 0000200000000080 RSI: 000000008004587d RDI: 0000000000000008
RBP: 00007f540c255024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f540c4464e8 R14: 00007f540c446450 R15: 00007ffc054a4558
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/38:
 #0: ffffffff8e1c3000 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline]
 #0: ffffffff8e1c3000 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline]
 #0: ffffffff8e1c3000 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
3 locks held by kworker/u8:6/148:
 #0: ffff888032382138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline]
 #0: ffff888032382138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0 kernel/workqueue.c:3405
 #1: ffffc900039bfc40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline]
 #1: ffffc900039bfc40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0 kernel/workqueue.c:3405
 #2: ffffffff8f5ac278 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
 #2: ffffffff8f5ac278 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x123/0x16e0 net/ipv6/addrconf.c:4229
4 locks held by kworker/u8:10/1171:
 #0: ffff88801aea0938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline]
 #0: ffff88801aea0938 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0 kernel/workqueue.c:3405
 #1: ffffc90006067c40 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline]
 #1: ffffc90006067c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0 kernel/workqueue.c:3405
 #2: ffffffff8f59d6c0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf5/0x810 net/core/net_namespace.c:673
 #3: ffff888057141978 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_destruct+0x116/0x310 drivers/net/wireguard/device.c:249
3 locks held by dhcpcd/5242:
2 locks held by getty/5332:
 #0: ffff88823bfe60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc90003cc62e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x460/0x1360 drivers/tty/n_tty.c:2211
1 lock held by syz.0.732/17842:
 #0: ffff888037e86500 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write_file+0x63/0x210 fs/namespace.c:538
1 lock held by syz-executor/18435:
7 locks held by syz-executor/18740:
 #0: ffff8880114f0500 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2733 [inline]
 #0: ffff8880114f0500 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x231/0xbb0 fs/read_write.c:683
 #1: ffff888034c1b078 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d9/0x540 fs/kernfs/file.c:336
 #2: ffff888029b9f4b8 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
 #2: ffff888029b9f4b8 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22c/0x540 fs/kernfs/file.c:337
 #3: ffffffff8ee20fd8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:234
 #4: ffff888039e4d160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1104 [inline]
 #4: ffff888039e4d160 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1171 [inline]
 #4: ffff888039e4d160 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb9/0x880 drivers/base/dd.c:1369
 #5: ffff88802d836310 (&devlink->lock_key#108){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1799
 #6: ffffffff8f5ac278 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x173/0x800 drivers/net/netdevsim/netdev.c:1191
2 locks held by syz-executor/18962:
 #0: ffffffff8f59d6c0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575
 #1: ffffffff8f5ac278 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x2d5/0x820 net/ipv4/ip_tunnel.c:1149
4 locks held by syz-executor/18978:
2 locks held by syz-executor/18987:
 #0: ffffffff8f59d6c0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4e2/0x720 net/core/net_namespace.c:575
 #1: ffffffff8f5ac278 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x2d5/0x820 net/ipv4/ip_tunnel.c:1149
1 lock held by dhcpcd/19017:
 #0: ffff88805f478358 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1713 [inline]
 #0: ffff88805f478358 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe90 net/packet/af_packet.c:3226

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

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 07/24/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:122
 nmi_trigger_cpumask_backtrace+0x17a/0x380 lib/nmi_backtrace.c:65
 trigger_all_cpu_backtrace include/linux/nmi.h:162 [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:353 [inline]
 watchdog+0xfd7/0x1030 kernel/hung_task.c:561
 kthread+0x388/0x470 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>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:64
Code: fb 6f 02 e9 13 d0 03 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d f3 f8 25 00 fb f4 <c3> cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffffff8de07de0 EFLAGS: 00000242
RAX: 000000000027e0bf RBX: ffffffff819a1590 RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8d881097 RDI: ffffffff8bca5980
RBP: ffffffff8de07eb8 R08: ffff8880b8633d5b R09: 1ffff110170c67ab
R10: dffffc0000000000 R11: ffffed10170c67ac R12: 0000000000000000
R13: 1ffffffff1bdede8 R14: 1ffffffff1bc0fc4 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff888125c46000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055dc8036a660 CR3: 000000000dfb0000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 arch_safe_halt arch/x86/kernel/process.c:767 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:768
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x2e0/0x540 kernel/sched/idle.c:355
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:454
 rest_init+0x2de/0x300 init/main.c:717
 start_kernel+0x392/0x3e0 init/main.c:1175
 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310
 x86_64_start_kernel+0x137/0x1b0 arch/x86/kernel/head64.c:291
 common_startup_64+0x13e/0x157
 </TASK>

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/09 03:54 upstream a7c7074b58d2 5d63f80b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in xlog_force_lsn
2026/08/03 02:11 upstream bd1dde877520 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in xlog_force_lsn
2026/06/17 05:08 upstream 6b5a2b7d9bc1 62cc6db3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in xlog_force_lsn
2026/05/23 16:02 upstream 79bd2dded182 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in xlog_force_lsn
2026/03/31 02:55 upstream d0c3bcd5b897 d0af506e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in xlog_force_lsn
2026/03/01 23:44 upstream 39c633261414 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in xlog_force_lsn
2026/01/09 02:46 upstream 79b95d74470d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in xlog_force_lsn
2025/12/19 13:14 upstream dd9b004b7ff3 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in xlog_force_lsn
2025/10/10 07:33 upstream 5472d60c129f ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in xlog_force_lsn
2025/10/08 05:51 upstream 971199ad2a0f 7e2882b3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs INFO: task hung in xlog_force_lsn
2025/10/08 01:31 upstream 971199ad2a0f 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in xlog_force_lsn
* Struck through repros no longer work on HEAD.