INFO: task hung in nfsd_svc

Status: upstream: reported on 2026/07/27 20:24
Reported-by: syzbot+3af7fc658946546571d0@syzkaller.appspotmail.com
First crash: 83d, last: 15d
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in nfsd_svc origin:upstream 1 syz, C 57 11d 83d 0/3 upstream: reported C repro on 2026/07/27 16:41
linux-5.15 INFO: task hung in nfsd_svc 1 5 13d 83d 0/3 upstream: reported on 2026/07/27 16:32

Sample crash report:
INFO: task syz.1.504:7365 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.504       state:D stack:27016 pid:7365  ppid:5771   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:0x7f41f179e159
RSP: 002b:00007f41f266a028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f41f1a26090 RCX: 00007f41f179e159
RDX: 0000000000000001 RSI: 0000200000000340 RDI: 0000000000000005
RBP: 00007f41f183506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f41f1a26128 R14: 00007f41f1a26090 R15: 00007ffc8997c9c8
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/0:0/8:
 #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc900000d7d00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc900000d7d00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #2: ffffffff8d137ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
 #2: ffffffff8d137ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x306/0x880 kernel/rcu/tree_exp.h:1004
1 lock held by khungtaskd/29:
 #0: ffffffff8d1320e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8d1320e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8d1320e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6635
3 locks held by kworker/u4:4/60:
 #0: ffff888017c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888017c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc900015b7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc900015b7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #2: ffffffff8e3d0988 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:286
1 lock held by dhcpcd/5436:
 #0: 
ffffffff8e3d0988
 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2fc/0x1d70 net/ipv4/devinet.c:1101
2 locks held by getty/5528:
 #0: ffff88802d6c30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc900032832f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x428/0x1370 drivers/tty/n_tty.c:2217
4 locks held by syz-executor/5770:
3 locks held by kworker/0:4/5816:
 #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc900048f7d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc900048f7d00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #2: ffffffff8e3d0988 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104
11 locks held by kworker/1:4/5986:
4 locks held by kworker/u4:11/6930:
3 locks held by syz.1.504/7363:
 #0: ffff88802bef2848 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2a3/0x330 fs/file.c:1040
 #1: ffff88807dafa418 (sb_writers#26){.+.+}-{0:0}, at: vfs_write+0x21e/0x9a0 fs/read_write.c:580
 #2: ffffffff8d3e1c88 (nfsd_mutex){+.+.}-{3:3}, at: write_ports+0xb7/0xfa0 fs/nfsd/nfsctl.c:843
3 locks held by syz.1.504/7365:
 #0: ffff88802ecef748 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2a3/0x330 fs/file.c:1040
 #1: ffff88807dafa418 (sb_writers#26){.+.+}-{0:0}, at: vfs_write+0x21e/0x9a0 fs/read_write.c:580
 #2: ffffffff8d3e1c88 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_svc+0x65/0xab0 fs/nfsd/nfssvc.c:788
1 lock held by syz-executor/9565:
 #0: ffffffff8e3d0988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3d0988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7ed/0xf90 net/core/rtnetlink.c:6481
4 locks held by udevd/9695:
 #0: ffff888075f14b08 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xa1/0xc50 fs/seq_file.c:182
 #1: 
ffff88807d096088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x5d/0x410 fs/kernfs/file.c:172
 #2: ffff88802e6143e8 (kn->active#18){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
 #2: ffff88802e6143e8 (kn->active#18){.+.+}-{0:0}, at: kernfs_seq_start+0xb2/0x410 fs/kernfs/file.c:173
 #3: ffff8880295521d8 (
&dev->mutex
){....}-{3:3}
, at: device_lock_interruptible include/linux/device.h:1099 [inline]
, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
1 lock held by syz.0.1159/9709:
 #0: 
ffffffff8e3d0988
 (
rtnl_mutex
){+.+.}-{3:3}
, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
, at: rtnetlink_rcv_msg+0x7ed/0xf90 net/core/rtnetlink.c:6481
1 lock held by syz.2.1161/9713:
 #0: 
ffffffff8d137ab8
 (
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
, at: synchronize_rcu_expedited+0x3da/0x880 kernel/rcu/tree_exp.h:1004

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

NMI backtrace for cpu 1
CPU: 1 PID: 29 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: 11 Comm: kworker/u4:0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Workqueue: bat_events batadv_nc_worker
RIP: 0010:batadv_nc_process_nc_paths+0x180/0x380 net/batman-adv/network-coding.c:688
Code: e7 8b e8 03 75 10 f7 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 ef e8 f4 3f 87 f7 48 8b 6d 00 <48> 85 ed 75 0f e8 c6 b3 2e f7 e9 be 00 00 00 e8 bc b3 2e f7 48 8d
RSP: 0018:ffffc90000107af8 EFLAGS: 00000246
RAX: 1ffff1100f7b4268 RBX: ffffffff8a58dcb0 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff8b1d3b80 RDI: ffffffff8b1d3b40
RBP: 0000000000000000 R08: dffffc0000000000 R09: 1ffffffff223d6a0
R10: dffffc0000000000 R11: fffffbfff223d6a1 R12: dffffc0000000000
R13: 0000000100000faf R14: 0000000000000001 R15: ffff888078220d00
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056092afee000 CR3: 000000000cf32000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 batadv_nc_worker+0x525/0x600 net/batman-adv/network-coding.c:735
 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 22 (127.0.0.1:20003) did not complete after 20 attempts, giving up
wireguard: wg1: Sending keepalive packet to peer 4 (127.0.0.1:20003)
wireguard: wg1: Sending keepalive packet to peer 10 (127.0.0.1:20003)
wireguard: wg2: Receiving keepalive packet from peer 12 (127.0.0.1:20002)

Crashes (40):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/03 05:15 linux-6.6.y 79643295eba1 57bbd979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/26 09:30 linux-6.6.y 79643295eba1 a3c7249d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/24 18:31 linux-6.6.y 79643295eba1 3c3cdf19 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/23 02:16 linux-6.6.y 79643295eba1 5207b90e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/23 02:16 linux-6.6.y 79643295eba1 5207b90e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/23 00:13 linux-6.6.y 79643295eba1 5207b90e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/22 23:44 linux-6.6.y 79643295eba1 5207b90e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/22 14:06 linux-6.6.y 79643295eba1 e12281bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/22 09:16 linux-6.6.y 79643295eba1 e12281bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/18 11:32 linux-6.6.y 79643295eba1 853b104b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/18 11:26 linux-6.6.y 79643295eba1 853b104b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/18 01:10 linux-6.6.y 79643295eba1 8d7d05f1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/16 10:45 linux-6.6.y 79643295eba1 12a0a44a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/16 08:57 linux-6.6.y 79643295eba1 12a0a44a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/16 00:03 linux-6.6.y 79643295eba1 2daa4bb5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/15 23:31 linux-6.6.y 79643295eba1 2daa4bb5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/15 20:01 linux-6.6.y 79643295eba1 2daa4bb5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/15 18:27 linux-6.6.y 79643295eba1 2daa4bb5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/07 13:13 linux-6.6.y 8b73de7da85f 680aa3e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/05 07:40 linux-6.6.y 8b73de7da85f 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/09/03 07:51 linux-6.6.y 8b73de7da85f 6a988719 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/22 14:08 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/22 12:45 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/22 01:26 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/17 15:38 linux-6.6.y d27334b2888c 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/16 11:34 linux-6.6.y d27334b2888c 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/05 22:47 linux-6.6.y aa0e49877a2e cd5b1963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/05 22:08 linux-6.6.y aa0e49877a2e cd5b1963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/05 05:47 linux-6.6.y aa0e49877a2e 52aa2820 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/04 18:28 linux-6.6.y aa0e49877a2e d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/04 05:45 linux-6.6.y aa0e49877a2e 9451e17e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/08/04 05:10 linux-6.6.y aa0e49877a2e 9451e17e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/07/31 04:07 linux-6.6.y a1153c0deb44 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/07/28 05:05 linux-6.6.y c5596480c50e 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/07/27 23:19 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/07/27 23:17 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/07/27 23:07 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/07/27 22:49 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/07/27 20:41 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
2026/07/27 20:23 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd_svc
* Struck through repros no longer work on HEAD.