INFO: task hung in kernfs_notify_workfn (4)

Status: auto-obsoleted due to no activity on 2026/10/18 22:33
Subsystems: kernfs
Labels: prio:normal
[Documentation on labels]
First crash: 168d, last: 122d
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
4d3d5a30 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ INFO: task hung in kernfs_notify_workfn (4) 2026/06/09 13:08 2026/06/09 13:08 2026/06/09 13:21 c36c07f6
▶ ▼ Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in kernfs_notify_workfn (2) kernfs 1 1 2499d 2499d 0/29 auto-closed as invalid on 2020/04/16 13:34
upstream INFO: task hung in kernfs_notify_workfn (3) kernfs 1 8 277d 553d 0/29 auto-obsoleted due to no activity on 2026/05/17 04:02
upstream INFO: task hung in kernfs_notify_workfn kernfs 1 3 2667d 2671d 0/29 auto-closed as invalid on 2019/10/31 10:51
linux-4.19 INFO: task hung in kernfs_notify_workfn 1 1 2429d 2429d 0/1 auto-closed as invalid on 2020/07/25 12:09

Sample crash report:
INFO: task kworker/1:2:353 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:2     state:D
 stack:21240 pid:353   tgid:353   ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: events kernfs_notify_workfn

Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5510 [inline]
 __schedule+0x1325/0x47d0 kernel/sched/core.c:7234
 __schedule_loop kernel/sched/core.c:7311 [inline]
 schedule+0xdd/0x2c0 kernel/sched/core.c:7326
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7383
 rwsem_down_read_slowpath+0x5af/0xb40 kernel/locking/rwsem.c:1114
 __down_read_common kernel/locking/rwsem.c:1291 [inline]
 __down_read kernel/locking/rwsem.c:1304 [inline]
 down_read+0xed/0x4c0 kernel/locking/rwsem.c:1576
 kernfs_notify_workfn+0xff/0x5f0 fs/kernfs/file.c:926
 process_one_work+0xa23/0x1940 kernel/workqueue.c:3322
 process_scheduled_works kernel/workqueue.c:3405 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3486
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
INFO: task syz-executor:2971 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:23576 pid:2971  tgid:2971  ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5510 [inline]
 __schedule+0x1325/0x47d0 kernel/sched/core.c:7234
 __schedule_loop kernel/sched/core.c:7311 [inline]
 schedule+0xdd/0x2c0 kernel/sched/core.c:7326
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7383
 rwsem_down_read_slowpath+0x5af/0xb40 kernel/locking/rwsem.c:1114
 __down_read_common kernel/locking/rwsem.c:1291 [inline]
 __down_read kernel/locking/rwsem.c:1304 [inline]
 down_read+0xed/0x4c0 kernel/locking/rwsem.c:1576
 kernfs_dop_revalidate+0xa5/0x7e0 fs/kernfs/dir.c:1217
 d_revalidate fs/namei.c:1035 [inline]
 d_revalidate fs/namei.c:1031 [inline]
 lookup_fast+0x3c7/0x600 fs/namei.c:1881
 walk_component fs/namei.c:2278 [inline]
 link_path_walk+0x7d4/0x1cc0 fs/namei.c:2656
 path_openat+0x1c9/0x4280 fs/namei.c:4859
 do_file_open+0x20e/0x430 fs/namei.c:4892
 do_sys_openat2+0x10f/0x1e0 fs/open.c:1368
 do_sys_open fs/open.c:1374 [inline]
 __do_sys_openat fs/open.c:1390 [inline]
 __se_sys_openat fs/open.c:1385 [inline]
 __x64_sys_openat+0x12d/0x210 fs/open.c:1385
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x10b/0x7f0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f752245d1bc
RSP: 002b:00007ffd96357ae0 EFLAGS: 00000206
 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000077 RCX: 00007f752245d1bc
RDX: 0000000000090800 RSI: 00007f75224f37f1 RDI: 00000000ffffff9c
RBP: 00007ffd96357b8c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000027
R13: 0000000000000000 R14: 000000000002a763 R15: 00007ffd96357be0
 </TASK>
INFO: task syz-executor:2972 blocked for more than 144 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D
 stack:22664 pid:2972  tgid:2972  ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5510 [inline]
 __schedule+0x1325/0x47d0 kernel/sched/core.c:7234
 __schedule_loop kernel/sched/core.c:7311 [inline]
 schedule+0xdd/0x2c0 kernel/sched/core.c:7326
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7383
 rwsem_down_read_slowpath+0x5af/0xb40 kernel/locking/rwsem.c:1114
 __down_read_common kernel/locking/rwsem.c:1291 [inline]
 __down_read kernel/locking/rwsem.c:1304 [inline]
 down_read+0xed/0x4c0 kernel/locking/rwsem.c:1576
 __pfx_exit_mmap+0x10/0x10 include/linux/seqlock.h:453
 </TASK>

Showing all locks held in the system:
6 locks held by kworker/0:1/11:
1 lock held by khungtaskd/30:
 #0: ffffffff896e2b40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline]
 #0: ffffffff896e2b40 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline]
 #0: ffffffff896e2b40 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6775
4 locks held by kworker/u8:2/37:
 #0: ffff888100e98940 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297
 #1: ffffc90000277d18 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298
 #2: ffffffff8ab0a5c8 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xb8/0x920 net/core/net_namespace.c:673
 #3: ffffffff896ee5e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x19e/0x3c0 kernel/rcu/tree_exp.h:343
2 locks held by kworker/u8:3/45:
 #0: ffff8881f56397a0 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:667 [inline]
 #0: ffff8881f56397a0 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1653 [inline]
 #0: ffff8881f56397a0 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1991 [inline]
 #0: ffff8881f56397a0 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2dc/0x47d0 kernel/sched/core.c:7108
 #1: ffff8881f56398d8 (&cfs_rq->removed.lock){-.-.}-{2:2}, at: update_cfs_rq_load_avg+0xb3/0x550 kernel/sched/fair.c:5451
2 locks held by kworker/u8:4/62:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297
 #1: ffffc90000597d18 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298
2 locks held by kworker/u8:6/315:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297
 #1: ffffc90001b9fd18 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298
2 locks held by getty/2920:
 #0: ffff888114f330a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
 #1: ffffc900000452e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x419/0x14e0 drivers/tty/n_tty.c:2211
3 locks held by kworker/1:3/5234:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297
 #1: ffffc900020ffd18 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298
 #2: ffffffff896ee5e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x19e/0x3c0 kernel/rcu/tree_exp.h:343
2 locks held by modprobe/5877:
 #0: ffff8881f56397a0 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:667 [inline]
 #0: ffff8881f56397a0 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1653 [inline]
 #0: ffff8881f56397a0 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1991 [inline]
 #0: ffff8881f56397a0 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2dc/0x47d0 kernel/sched/core.c:7108
 #1: ffff8881067f4a18 (&sighand->siglock){....}-{3:3}, at: do_notify_parent+0x78c/0x10b0 kernel/signal.c:2238

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(lazy) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 nmi_cpu_backtrace.cold+0x12d/0x151 lib/nmi_backtrace.c:122
 nmi_trigger_cpumask_backtrace+0x21c/0x2a0 lib/nmi_backtrace.c:65
 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
 __sys_info lib/sys_info.c:157 [inline]
 sys_info+0x141/0x190 lib/sys_info.c:165
 check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline]
 watchdog+0xcb1/0x1030 kernel/hung_task.c:561
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: kcompactd0 Not tainted syzkaller #0 PREEMPT(lazy) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3798 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3821 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3876 [inline]
RIP: 0010:__lock_acquire+0x851/0x1a40 kernel/locking/lockdep.c:5237
Code: 05 04 c8 73 0d 0f 83 b2 09 00 00 49 be eb 83 b5 80 46 86 c8 61 48 8b 4c 24 08 4c 0f af f1 49 c1 ee 2d 4a 8b 04 f5 60 55 41 90 <4e> 8d 2c f5 60 55 41 90 48 85 c0 74 1f 48 83 e8 08 48 85 c0 74 16
RSP: 0018:ffffc90000247bb0 EFLAGS: 00000803
RAX: ffffffff8d046aa8 RBX: ffff888103e84758 RCX: a2f590230e5df0ea
RDX: 00000000ffa46fc4 RSI: 00000000cc683e1d RDI: 00000000bdaebcf7
RBP: ffff888103e83c00 R08: 00000000ffffffff R09: 0000000000000167
R10: 0000000000000000 R11: 0000000000000000 R12: a2f590230e5df0ea
R13: 0000000000000000 R14: 00000000000555fd R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88826873a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f83fe267000 CR3: 0000000115ffc000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 lock_acquire kernel/locking/lockdep.c:5868 [inline]
 lock_acquire+0x1b9/0x370 kernel/locking/lockdep.c:5825
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline]
 _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:166
 finish_wait+0xc2/0x280 kernel/sched/wait.c:394
 kcompactd+0xa3f/0xd50 mm/compaction.c:3208
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/20 22:27 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 80574c40598a de6a700d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: task hung in kernfs_notify_workfn
2026/06/16 22:25 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1c2b66a7d725 a3998659 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: task hung in kernfs_notify_workfn
2026/06/12 05:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 511e746700ee e93da63e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: task hung in kernfs_notify_workfn
2026/06/05 17:13 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 511e746700ee 48b6c3fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: task hung in kernfs_notify_workfn
* Struck through repros no longer work on HEAD.