syzbot
INFO: task hung in nfsd_umount
Status:
upstream: reported on 2026/08/11 22:40
Reported-by: syzbot+a29b806ee82bb9c21550@syzkaller.appspotmail.com
First crash: 68d, last: 5d05h
Sample crash report:
INFO: task syz-executor:6851 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor state:D stack:21552 pid: 6851 ppid: 1 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11c3/0x4350 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6537
__mutex_lock_common+0xdf5/0x2400 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
nfsd_shutdown_threads+0x4f/0x1a0 fs/nfsd/nfssvc.c:634
nfsd_umount+0x3e/0xc0 fs/nfsd/nfsctl.c:1411
deactivate_locked_super+0x93/0xf0 fs/super.c:335
cleanup_mnt+0x426/0x4d0 fs/namespace.c:1148
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:184
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217
__syscall_exit_to_user_mode_work kernel/entry/common.c:299 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:310
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fdb0ce47517
RSP: 002b:00007ffd57153558 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fdb0cedcccb RCX: 00007fdb0ce47517
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd57153610
RBP: 00007ffd57153610 R08: 00007ffd57154610 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd571546a0
R13: 00007fdb0cedcccb R14: 00000000000638a6 R15: 00007ffd571546e0
</TASK>
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8d11efa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3941:
#0: ffff88802c796098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002d032e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x594/0x1a50 drivers/tty/n_tty.c:2158
3 locks held by kworker/u4:6/4266:
2 locks held by syz-executor/6851:
#0: ffff888054cb40e0 (&type->s_umount_key#94){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
#1: ffffffff8d3713a8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x4f/0x1a0 fs/nfsd/nfssvc.c:634
3 locks held by syz.0.1008/8390:
#0: ffff888025419270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2bf/0x370 fs/file.c:1056
#1: ffff8880753ee460 (sb_writers#25){.+.+}-{0:0}, at: vfs_write+0x296/0xd70 fs/read_write.c:590
#2: ffffffff8d3713a8 (nfsd_mutex){+.+.}-{3:3}, at: write_ports+0xb3/0xb80 fs/nfsd/nfsctl.c:848
1 lock held by syz.8.1708/10628:
1 lock held by syz.9.1679/10640:
1 lock held by syz.4.1712/10680:
3 locks held by sed/10715:
=============================================
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 09/16/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+0xe1b/0xe60 kernel/hung_task.c:369
kthread+0x42e/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: 10680 Comm: syz.4.1712 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:scm_recv+0x59/0x590 include/net/scm.h:125
Code: 24 a0 00 00 00 49 be 00 00 00 00 00 fc ff df 48 c7 44 24 20 b3 8a b5 41 48 c7 44 24 28 a2 bb c0 8b 48 c7 44 24 30 10 7f 9c 88 <48> 8d 5c 24 20 48 c1 eb 03 48 b8 f1 f1 f1 f1 f8 f2 f2 f2 4a 89 04
RSP: 0018:ffffc9000340f680 EFLAGS: 00000282
RAX: 865910ba44522600 RBX: ffff88807b93d400 RCX: 0000000000080000
RDX: ffffc9000340f800 RSI: ffffc9000340fd40 RDI: ffff88807b93d400
RBP: ffffc9000340f770 R08: ffff88807aa25867 R09: 1ffff1100f544b0c
R10: dffffc0000000000 R11: ffffed100f544b0d R12: ffffc9000340fd40
R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff88807b93d400
FS: 00007f28ac9566c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd393e3e368 CR3: 00000000652a3000 CR4: 00000000003506f0
DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083
DR3: ffffffffefffff15 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__unix_dgram_recvmsg+0x9cf/0xd50 net/unix/af_unix.c:2392
____sys_recvmsg+0x2ca/0x5b0 net/socket.c:-1
___sys_recvmsg+0x213/0x5c0 net/socket.c:2707
do_recvmmsg+0x360/0x7f0 net/socket.c:2801
__sys_recvmmsg net/socket.c:2880 [inline]
__do_sys_recvmmsg net/socket.c:2903 [inline]
__se_sys_recvmmsg net/socket.c:2896 [inline]
__x64_sys_recvmmsg+0x195/0x250 net/socket.c:2896
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:0x7f28ae7402d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f28ac956028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f28ae9c8180 RCX: 00007f28ae7402d9
RDX: 0000000004000087 RSI: 0000200000000440 RDI: 0000000000000003
RBP: 00007f28ae7d7888 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f28ae9c8218 R14: 00007f28ae9c8180 R15: 00007ffe642d32a8
</TASK>
* Struck through repros no longer work on HEAD.