syzbot
INFO: task hung in write_versions
Status:
upstream: reported on 2026/07/27 21:30
Reported-by: syzbot+3bf6d65caf24530668e0@syzkaller.appspotmail.com
First crash: 84d, last: 3d14h
Sample crash report:
INFO: task syz.1.4913:25691 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.4913 state:D stack:27016 pid:25691 ppid:24057 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x15ae/0x4660 kernel/sched/core.c:6701
schedule+0xbd/0x170 kernel/sched/core.c:6775
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6834
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x673/0xc80 kernel/locking/mutex.c:747
write_versions+0x96/0xe00 fs/nfsd/nfsctl.c:676
nfsctl_transaction_write+0x10c/0x150 fs/nfsd/nfsctl.c:113
vfs_write+0x299/0x9a0 fs/read_write.c:582
ksys_write+0x151/0x260 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb2acd9e559
RSP: 002b:00007fb2adc28028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb2ad025fa0 RCX: 00007fb2acd9e559
RDX: 0000000000000009 RSI: 0000200000000240 RDI: 0000000000000003
RBP: 00007fb2ace358b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb2ad026038 R14: 00007fb2ad025fa0 R15: 00007ffc1e08bca8
</TASK>
INFO: task syz.1.4913:25695 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.4913 state:D stack:27016 pid:25695 ppid:24057 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x15ae/0x4660 kernel/sched/core.c:6701
schedule+0xbd/0x170 kernel/sched/core.c:6775
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6834
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x673/0xc80 kernel/locking/mutex.c:747
write_ports+0xb7/0xfa0 fs/nfsd/nfsctl.c:843
nfsctl_transaction_write+0x10c/0x150 fs/nfsd/nfsctl.c:113
vfs_write+0x299/0x9a0 fs/read_write.c:582
ksys_write+0x151/0x260 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb2acd9e559
RSP: 002b:00007fb2adc07028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb2ad026090 RCX: 00007fb2acd9e559
RDX: 0000000000000005 RSI: 00002000000000c0 RDI: 0000000000000004
RBP: 00007fb2ace358b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb2ad026128 R14: 00007fb2ad026090 R15: 00007ffc1e08bca8
</TASK>
INFO: task syz.1.4913:25698 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.4913 state:D stack:27016 pid:25698 ppid:24057 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x15ae/0x4660 kernel/sched/core.c:6701
schedule+0xbd/0x170 kernel/sched/core.c:6775
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6834
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x673/0xc80 kernel/locking/mutex.c:747
nfsd_svc+0x65/0xab0 fs/nfsd/nfssvc.c:788
write_threads+0x393/0x510 fs/nfsd/nfsctl.c:417
nfsctl_transaction_write+0x10c/0x150 fs/nfsd/nfsctl.c:113
vfs_write+0x299/0x9a0 fs/read_write.c:582
ksys_write+0x151/0x260 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb2acd9e559
RSP: 002b:00007fb2adbe6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb2ad026180 RCX: 00007fb2acd9e559
RDX: 0000000000000001 RSI: 0000200000000140 RDI: 0000000000000005
RBP: 00007fb2ace358b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb2ad026218 R14: 00007fb2ad026180 R15: 00007ffc1e08bca8
</TASK>
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8df320e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
#0: ffffffff8df320e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
#0: ffffffff8df320e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6669
2 locks held by getty/5535:
#0: ffff88802e4370a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900032862f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x428/0x1370 drivers/tty/n_tty.c:2217
2 locks held by syz.1.4423/22765:
#0: ffff8880312b00e0 (&type->s_umount_key#108){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880312b00e0 (&type->s_umount_key#108){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880312b00e0 (&type->s_umount_key#108){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
#1: ffffffff8e1e1708 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x53/0x1a0 fs/nfsd/nfssvc.c:638
3 locks held by syz.1.4913/25691:
#0: ffff88801e7d6348 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2a3/0x330 fs/file.c:1040
#1: ffff888145ba6418 (sb_writers#34){.+.+}-{0:0}, at: vfs_write+0x21e/0x9a0 fs/read_write.c:580
#2: ffffffff8e1e1708 (nfsd_mutex){+.+.}-{3:3}, at: write_versions+0x96/0xe00 fs/nfsd/nfsctl.c:676
3 locks held by syz.1.4913/25695:
#0: ffff888031309c48 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2a3/0x330 fs/file.c:1040
#1: ffff888145ba6418 (sb_writers#34){.+.+}-{0:0}, at: vfs_write+0x21e/0x9a0 fs/read_write.c:580
#2: ffffffff8e1e1708 (nfsd_mutex){+.+.}-{3:3}, at: write_ports+0xb7/0xfa0 fs/nfsd/nfsctl.c:843
3 locks held by syz.1.4913/25698:
#0: ffff88804f279c48
(
&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2a3/0x330 fs/file.c:1040
#1: ffff888145ba6418 (sb_writers#34){.+.+}-{0:0}, at: vfs_write+0x21e/0x9a0 fs/read_write.c:580
#2: ffffffff8e1e1708 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_svc+0x65/0xab0 fs/nfsd/nfssvc.c:788
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
<TASK>
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
nmi_cpu_backtrace+0x3a6/0x3e0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf59/0xfa0 kernel/hung_task.c:379
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 18895 Comm: kworker/u4:6 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:55 [inline]
RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:393 [inline]
RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline]
RIP: 0010:unwind_next_frame+0xe89/0x2990 arch/x86/kernel/unwind_orc.c:585
Code: 00 48 89 9c 24 80 00 00 00 4c 89 64 24 38 49 8d 7d 08 48 89 f8 48 c1 e8 03 48 89 44 24 70 42 80 3c 38 00 74 05 e8 87 af a4 00 <49> 8b 5d 08 49 8d 7d 10 49 89 fc 49 c1 ec 03 43 80 3c 3c 00 74 05
RSP: 0018:ffffc90005246f78 EFLAGS: 00000246
RAX: 1ffff92000a48e0a RBX: ffffffff8fee7ef1 RCX: 0000000000000003
RDX: ffffffff813bc212 RSI: ffffffff8dda0950 RDI: ffffc90005247050
RBP: ffffc90005247f58 R08: ffff888063fa3c00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff8fee7ef0
R13: ffffc90005247048 R14: 0000000000000002 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffff76a0b8 CR3: 000000000dd32000 CR4: 00000000003506f0
Call Trace:
<TASK>
arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:46 [inline]
kasan_set_track+0x4e/0x70 mm/kasan/common.c:53
____kasan_kmalloc mm/kasan/common.c:375 [inline]
__kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:384
kasan_kmalloc include/linux/kasan.h:198 [inline]
__do_kmalloc_node mm/slab_common.c:1007 [inline]
__kmalloc+0xb7/0x240 mm/slab_common.c:1020
kmalloc include/linux/slab.h:604 [inline]
kzalloc include/linux/slab.h:721 [inline]
cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2963 [inline]
cfg80211_inform_bss_frame_data+0x79d/0x1330 net/wireless/scan.c:3023
ieee80211_bss_info_update+0x789/0x9f0 net/mac80211/scan.c:211
ieee80211_rx_bss_info net/mac80211/ibss.c:1124 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1613 [inline]
ieee80211_ibss_rx_queued_mgmt+0x18f5/0x2dc0 net/mac80211/ibss.c:1642
ieee80211_iface_process_skb net/mac80211/iface.c:1690 [inline]
ieee80211_iface_work+0x730/0xc90 net/mac80211/iface.c:1744
cfg80211_wiphy_work+0x228/0x260 net/wireless/core.c:437
process_one_work kernel/workqueue.c:2657 [inline]
process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>
wireguard: wg1: Handshake for peer 52 (127.0.0.1:20003) did not complete after 5 seconds, retrying (try 15)
wireguard: wg2: Handshake for peer 150 (127.0.0.1:20002) did not complete after 5 seconds, retrying (try 13)
wireguard: wg2: Handshake for peer 83 ([::1]:20001/0%0) did not complete after 5 seconds, retrying (try 12)
* Struck through repros no longer work on HEAD.