INFO: task hung in write_versions

Status: upstream: reported on 2026/07/27 23:37
Reported-by: syzbot+b68ec37ac5e67d8f040b@syzkaller.appspotmail.com
First crash: 108d, last: 5d01h
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in write_versions 1 4 3d05h 100d 0/3 upstream: reported on 2026/08/05 03:52
upstream INFO: task hung in write_versions prio:low nfs 1 100 19d 89d 0/29 upstream: reported on 2026/08/16 09:28
linux-6.6 INFO: task hung in write_versions 1 14 13d 108d 0/2 upstream: reported on 2026/07/27 21:30

Sample crash report:
INFO: task syz.1.741:7808 blocked for more than 144 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.741       state:D stack:27888 pid:7808  ppid:4275   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5257 [inline]
 __schedule+0x1089/0x4140 kernel/sched/core.c:6584
 schedule+0xb9/0x180 kernel/sched/core.c:6660
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6719
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x562/0xb40 kernel/locking/mutex.c:747
 write_versions+0x90/0xbb0 fs/nfsd/nfsctl.c:681
 nfsctl_transaction_write+0x105/0x150 fs/nfsd/nfsctl.c:114
 vfs_write+0x2dc/0x9a0 fs/read_write.c:582
 ksys_write+0x14d/0x260 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ffa9cb9fb19
RSP: 002b:00007ffa9daa4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ffa9ce25fa0 RCX: 00007ffa9cb9fb19
RDX: 0000000000000009 RSI: 0000200000000640 RDI: 0000000000000003
RBP: 00007ffa9cc37b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffa9ce26038 R14: 00007ffa9ce25fa0 R15: 00007ffcc7c8f018
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
 #0: ffffffff8db2e3f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xce0 kernel/rcu/tasks.h:543
1 lock held by rcu_tasks_trace/13:
 #0: ffffffff8db2ec30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xce0 kernel/rcu/tasks.h:543
1 lock held by khungtaskd/27:
 #0: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 #0: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
 #0: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6669
2 locks held by getty/4033:
 #0: ffff888031c9d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x430/0x1400 drivers/tty/n_tty.c:2198
8 locks held by kworker/1:4/4278:
6 locks held by kworker/0:3/4332:
 #0: ffff88801cac1938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
 #1: ffffc90004407d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
 #2: ffff8881467b0190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline]
 #2: ffff8881467b0190 (&dev->mutex){....}-{3:3}, at: hub_event+0x178/0x5200 drivers/usb/core/hub.c:5855
 #3: ffff8880b8c3ad18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x98/0x130 kernel/sched/core.c:557
 #4: ffff8880b8c27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x400/0x740 kernel/sched/psi.c:999
 #5: ffffffff97f61e28 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_deactivate+0x63/0x380 lib/debugobjects.c:810
2 locks held by kworker/0:5/4346:
 #0: ffff888018472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
 #1: ffffc90004777d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
3 locks held by syz.0.582/7142:
 #0: ffff88807e504ae8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ae/0x360 fs/file.c:1038
 #1: ffff88804cc86460 (sb_writers#21){.+.+}-{0:0}, at: vfs_write+0x270/0x9a0 fs/read_write.c:580
 #2: ffffffff8ddcd208 (nfsd_mutex){+.+.}-{3:3}, at: write_ports+0xb3/0xb80 fs/nfsd/nfsctl.c:846
3 locks held by syz.1.741/7808:
 #0: ffff88803127eae8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ae/0x360 fs/file.c:1038
 #1: ffff888057798460 (sb_writers#21){.+.+}-{0:0}, at: vfs_write+0x270/0x9a0 fs/read_write.c:580
 #2: ffffffff8ddcd208 (nfsd_mutex){+.+.}-{3:3}, at: write_versions+0x90/0xbb0 fs/nfsd/nfsctl.c:681
2 locks held by syz.8.1171/9794:
 #0: ffffffff8d9ebf68 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x49/0x1c0 kernel/sched/core.c:410
 #1: ffffffff8db337b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
 #1: ffffffff8db337b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3c0/0x890 kernel/rcu/tree_exp.h:962
1 lock held by syz.8.1171/9796:
 #0: ffffffff8d9ebf68 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x49/0x1c0 kernel/sched/core.c:410
2 locks held by dhcpcd-run-hook/9866:

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

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 10/15/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3e6/0x460 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
 watchdog+0xf0e/0xf50 kernel/hung_task.c:377
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9022 Comm: kworker/u4:23 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:ieee80211_ibss_work+0xba5/0x1100 net/mac80211/ibss.c:1716
Code: 00 4a c7 44 30 08 00 00 00 00 4a c7 44 30 10 00 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 40 01 00 00 0f 85 cf 02 00 00 <48> 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 89 c3 e8 14 37 d2
RSP: 0018:ffffc90003567a40 EFLAGS: 00000246
RAX: 92b60c4f5a5f7a00 RBX: 0000000000000001 RCX: ffffffff8a4041c0
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc900035679c0
RBP: ffffc90003567be0 R08: ffffc900035679c7 R09: 1ffff920006acf38
R10: dffffc0000000000 R11: fffff520006acf39 R12: ffff88807a9a97d0
R13: ffff888029f6ccc0 R14: dffffc0000000000 R15: ffff88807a9a96f8
FS:  0000000000000000(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3586d93000 CR3: 000000000d88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 cfg80211_wiphy_work+0x224/0x260 net/wireless/core.c:440
 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/08 11:24 linux-6.1.y c75b0cf0982c 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in write_versions
2026/11/07 23:11 linux-6.1.y c75b0cf0982c 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in write_versions
2026/11/02 21:16 linux-6.1.y 08889840163e 6969b601 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in write_versions
2026/10/06 01:42 linux-6.1.y a500ba24937a f7710056 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in write_versions
2026/09/24 18:58 linux-6.1.y 1a8763b93150 3c3cdf19 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in write_versions
2026/09/22 15:38 linux-6.1.y 1a8763b93150 e12281bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in write_versions
2026/09/15 18:08 linux-6.1.y 1a8763b93150 2daa4bb5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in write_versions
2026/08/04 06:55 linux-6.1.y fb28aa725e05 9451e17e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in write_versions
2026/07/27 23:36 linux-6.1.y dc5c83b7f5f8 aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in write_versions
2026/10/30 05:56 linux-6.1.y 79807e970724 b498adee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in write_versions
2026/10/16 18:58 linux-6.1.y 79807e970724 4c840a2f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in write_versions
2026/10/10 06:30 linux-6.1.y a500ba24937a 4f92358f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in write_versions
2026/08/18 06:31 linux-6.1.y e4f7d8be268e 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in write_versions
2026/08/13 00:13 linux-6.1.y e4f7d8be268e 359b2492 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in write_versions
* Struck through repros no longer work on HEAD.