INFO: task hung in nfsd4_write_time (2)

Status: upstream: reported on 2026/11/23 19:07
Reported-by: syzbot+95b21c8a93404f749611@syzkaller.appspotmail.com
First crash: 10d, last: 2d18h
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: task hung in nfsd4_write_time 1 3 115d 122d 0/2 auto-obsoleted due to no activity on 2026/11/18 20:38
linux-6.1 INFO: task hung in nfsd4_write_time 1 11 6d09h 119d 0/3 upstream: reported on 2026/08/06 17:17

Sample crash report:
INFO: task syz.5.1855:12605 blocked for more than 146 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.1855      state:D stack:27016 pid:12605 ppid:11961  flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5393 [inline]
 __schedule+0x156f/0x4720 kernel/sched/core.c:6722
 schedule+0xbd/0x170 kernel/sched/core.c:6796
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6855
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x689/0xce0 kernel/locking/mutex.c:747
 nfsd4_write_time+0xae/0x740 fs/nfsd/nfsctl.c:988
 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:0x7ff74fba9c99
RSP: 002b:00007ff7509f5028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff74fe35fa0 RCX: 00007ff74fba9c99
RDX: 0000000000000003 RSI: 0000200000000180 RDI: 0000000000000003
RBP: 00007ff74fc3b18b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff74fe36038 R14: 00007ff74fe35fa0 R15: 00007ffd1457e028
 </TASK>

Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
 #0: ffffffff8e1380f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
 #0: ffffffff8e1380f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3da/0x880 kernel/rcu/tree_exp.h:1004
2 locks held by kworker/u4:0/12:
1 lock held by khungtaskd/30:
 #0: ffffffff8e132720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8e132720 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8e132720 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6669
5 locks held by kworker/u4:8/2945:
 #0: ffff8880b8c3c218 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x9c/0x130 kernel/sched/core.c:578
 #1: ffff8880b8c289c0 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:189 [inline]
 #1: ffff8880b8c289c0 (psi_seq){-.-.}-{0:0}, at: __schedule+0x21fc/0x4720 kernel/sched/core.c:6717
 #2: ffff888050790768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5878 [inline]
 #2: ffff888050790768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_wiphy_work+0x35/0x260 net/wireless/core.c:431
 #3: ffff888031ae4e00 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1140 [inline]
 #3: ffff888031ae4e00 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xac/0x1100 net/mac80211/ibss.c:1685
 #4: ffffffff8dfe2708 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:145
4 locks held by kworker/u4:9/2985:
2 locks held by kworker/1:3/5425:
 #0: ffff888018c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888018c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc90003627d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc90003627d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
2 locks held by getty/5549:
 #0: ffff88814c0c70a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000327e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x43a/0x1400 drivers/tty/n_tty.c:2217
3 locks held by syz.1.1492/10718:
 #0: ffff88802f1de848 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2a3/0x330 fs/file.c:1040
 #1: ffff888026b22418 (sb_writers#27){.+.+}-{0:0}, at: vfs_write+0x21e/0x9a0 fs/read_write.c:580
 #2: ffffffff8e3e2d88 (nfsd_mutex){+.+.}-{3:3}, at: write_ports+0xb7/0xfa0 fs/nfsd/nfsctl.c:847
1 lock held by syz-executor/11931:
1 lock held by syz-executor/11996:
3 locks held by syz.5.1855/12605:
 #0: ffff8880319e9748 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2a3/0x330 fs/file.c:1040
 #1: ffff88807a8b4418 (sb_writers#27){.+.+}-{0:0}, at: vfs_write+0x21e/0x9a0 fs/read_write.c:580
 #2: ffffffff8e3e2d88 (nfsd_mutex){+.+.}-{3:3}, at: nfsd4_write_time+0xae/0x740 fs/nfsd/nfsctl.c:988
2 locks held by syz.7.2148/14024:
2 locks held by dhcpcd/14062:
 #0: ffff88802b8e6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1784 [inline]
 #0: ffff88802b8e6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd40 net/packet/af_packet.c:3315
 #1: ffffffff8e1380f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
 #1: ffffffff8e1380f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3da/0x880 kernel/rcu/tree_exp.h:1004
1 lock held by dhcpcd/14064:
 #0: ffff88804f4b8130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1784 [inline]
 #0: ffff88804f4b8130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd40 net/packet/af_packet.c:3315
1 lock held by dhcpcd/14065:
 #0: ffff88807b0cc130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1784 [inline]
 #0: ffff88807b0cc130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd40 net/packet/af_packet.c:3315
1 lock held by dhcpcd/14066:
 #0: ffff88807b0ca130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1784 [inline]
 #0: ffff88807b0ca130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd40 net/packet/af_packet.c:3315
1 lock held by dhcpcd/14068:
 #0: ffff888050124130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1784 [inline]
 #0: ffff888050124130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd40 net/packet/af_packet.c:3315
1 lock held by dhcpcd/14069:
 #0: ffff888050126130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1784 [inline]
 #0: ffff888050126130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd40 net/packet/af_packet.c:3315
1 lock held by dhcpcd/14071:
 #0: ffff88807ced0130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1784 [inline]
 #0: ffff88807ced0130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd40 net/packet/af_packet.c:3315

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

NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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: 11931 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:find_matching_se kernel/sched/fair.c:460 [inline]
RIP: 0010:check_preempt_wakeup_fair+0x18f/0x720 kernel/sched/fair.c:8367
Code: 81 c4 90 00 00 00 4c 89 e0 48 c1 e8 03 80 3c 28 00 74 dc 4c 89 e7 e8 80 c7 7f 00 eb d2 8b 4c 24 0c 89 cb 44 29 eb eb 02 89 cb <44> 89 f0 29 c8 83 f8 f8 0f 86 48 02 00 00 4c 8b 34 24 4d 8d af 98
RSP: 0018:ffffc90000007bf8 EFLAGS: 00000046
RAX: 1ffff11009ab6022 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88804d5b0000
RBP: dffffc0000000000 R08: ffff88804d5b0007 R09: 1ffff11009ab6000
R10: dffffc0000000000 R11: ffffed1009ab6001 R12: ffff8880315b9e80
R13: 0000000000000001 R14: 0000000000000000 R15: ffff888032838000
FS:  000055557045b500(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc9b6239318 CR3: 000000006629b000 CR4: 00000000003506f0
Call Trace:
 <IRQ>
 wakeup_preempt+0xd8/0x270 kernel/sched/core.c:2235
 ttwu_do_activate+0x202/0x7d0 kernel/sched/core.c:3798
 ttwu_queue kernel/sched/core.c:4039 [inline]
 try_to_wake_up+0x604/0x10e0 kernel/sched/core.c:4360
 hrtimer_wakeup+0x4e/0x60 kernel/time/hrtimer.c:1990
 __run_hrtimer kernel/time/hrtimer.c:1754 [inline]
 __hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818
 hrtimer_interrupt+0x39d/0x980 kernel/time/hrtimer.c:1880
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1077 [inline]
 __sysvec_apic_timer_interrupt+0xfb/0x3b0 arch/x86/kernel/apic/apic.c:1094
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1088
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xc0/0x120 kernel/locking/spinlock.c:194
Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> db dc b8 f6 65 8b 05 3c 2e 5f 75 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc900033b75c0 EFLAGS: 00000206
RAX: dffffc0000000004 RBX: 0000000000000a02 RCX: 4f71d853db029b00
RDX: dffffc0000000000 RSI: ffffffff8aead240 RDI: 0000000000000001
RBP: ffffc900033b7650 R08: ffffffff8f8e2f6f R09: 1ffffffff1f1c5ed
R10: dffffc0000000000 R11: fffffbfff1f1c5ee R12: dffffc0000000000
R13: ffffea0001264288 R14: ffff888027ba4050 R15: 1ffff92000676eb8
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 unlock_page_lruvec_irqrestore include/linux/memcontrol.h:1618 [inline]
 release_pages+0x2055/0x2300 mm/swap.c:1019
 __folio_batch_release+0x71/0xe0 mm/swap.c:1042
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x62b/0x23a0 mm/shmem.c:1038
 shmem_truncate_range mm/shmem.c:1165 [inline]
 shmem_evict_inode+0x285/0xa70 mm/shmem.c:1296
 evict+0x4b3/0x9d0 fs/inode.c:701
 __dentry_kill+0x401/0x800 fs/dcache.c:614
 dentry_kill+0xb8/0x290 fs/dcache.c:-1
 dput+0xfe/0x1e0 fs/dcache.c:921
 __fput+0x5b2/0x940 fs/file_table.c:426
 task_work_run+0x1d4/0x260 kernel/task_work.c:245
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213
 __syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:305
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f69bb9aaf07
Code: a2 c7 05 ec 77 25 00 00 00 00 00 eb 96 e8 b1 13 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffeec6cda28 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f69bba3a55b RCX: 00007f69bb9aaf07
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffeec6cdae0
RBP: 00007ffeec6cdae0 R08: 00007ffeec6ceae0 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffeec6ceb70
R13: 00007f69bba3a55b R14: 00000000000a33af R15: 00007ffeec6cebb0
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/12/01 21:25 linux-6.6.y e2bb30811e06 a6d1ba3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd4_write_time
2026/12/01 11:20 linux-6.6.y e2bb30811e06 a6d1ba3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd4_write_time
2026/11/28 02:30 linux-6.6.y e2bb30811e06 e1f06033 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd4_write_time
2026/11/23 19:07 linux-6.6.y e2bb30811e06 e9bfbe3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in nfsd4_write_time
* Struck through repros no longer work on HEAD.