INFO: task kthreadd:2 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kthreadd state:D stack:26224 pid: 2 ppid: 0 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11c3/0x4350 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 percpu_rwsem_wait+0x2ca/0x300 kernel/locking/percpu-rwsem.c:160 __percpu_down_read+0xc4/0x100 kernel/locking/percpu-rwsem.c:174 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] cgroup_threadgroup_change_begin include/linux/cgroup-defs.h:724 [inline] cgroup_css_set_fork kernel/cgroup/cgroup.c:6226 [inline] cgroup_can_fork+0xbcb/0xcd0 kernel/cgroup/cgroup.c:6344 copy_process+0x22b3/0x3e70 kernel/fork.c:2385 kernel_clone+0x23f/0x990 kernel/fork.c:2682 kernel_thread+0xfa/0x160 kernel/fork.c:2734 create_kthread kernel/kthread.c:357 [inline] kthreadd+0x539/0x700 kernel/kthread.c:703 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task kworker/u4:0:9 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:0 state:D stack:22896 pid: 9 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: 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_timeout+0xbd/0x2d0 kernel/time/timer.c:2093 do_wait_for_common+0x295/0x460 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 kthread_stop+0x16e/0x540 kernel/kthread.c:666 destroy_workqueue+0xf2/0xb20 kernel/workqueue.c:4451 wg_destruct+0x1e8/0x300 drivers/net/wireguard/device.c:241 netdev_run_todo+0x89f/0xac0 net/core/dev.c:10717 default_device_exit_batch+0x369/0x3c0 net/core/dev.c:11694 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x78e/0xba0 net/core/net_namespace.c:635 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task kworker/u4:1:144 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:1 state:D stack:25008 pid: 144 ppid: 2 flags:0x00004000 Workqueue: events_unbound call_usermodehelper_exec_work Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11c3/0x4350 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 percpu_rwsem_wait+0x2ca/0x300 kernel/locking/percpu-rwsem.c:160 __percpu_down_read+0xc4/0x100 kernel/locking/percpu-rwsem.c:174 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] cgroup_threadgroup_change_begin include/linux/cgroup-defs.h:724 [inline] cgroup_css_set_fork kernel/cgroup/cgroup.c:6226 [inline] cgroup_can_fork+0xbcb/0xcd0 kernel/cgroup/cgroup.c:6344 copy_process+0x22b3/0x3e70 kernel/fork.c:2385 kernel_clone+0x23f/0x990 kernel/fork.c:2682 kernel_thread+0xfa/0x160 kernel/fork.c:2734 call_usermodehelper_exec_sync kernel/umh.c:135 [inline] call_usermodehelper_exec_work+0x93/0x220 kernel/umh.c:166 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task kworker/u4:4:1230 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:4 state:D stack:21216 pid: 1230 ppid: 2 flags:0x00004000 Workqueue: events_unbound call_usermodehelper_exec_work Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11c3/0x4350 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 percpu_rwsem_wait+0x2ca/0x300 kernel/locking/percpu-rwsem.c:160 __percpu_down_read+0xc4/0x100 kernel/locking/percpu-rwsem.c:174 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] cgroup_threadgroup_change_begin include/linux/cgroup-defs.h:724 [inline] cgroup_css_set_fork kernel/cgroup/cgroup.c:6226 [inline] cgroup_can_fork+0xbcb/0xcd0 kernel/cgroup/cgroup.c:6344 copy_process+0x22b3/0x3e70 kernel/fork.c:2385 kernel_clone+0x23f/0x990 kernel/fork.c:2682 kernel_thread+0xfa/0x160 kernel/fork.c:2734 call_usermodehelper_exec_sync kernel/umh.c:135 [inline] call_usermodehelper_exec_work+0x93/0x220 kernel/umh.c:166 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task wg-crypt-wg2:4802 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:wg-crypt-wg2 state:D stack:29104 pid: 4802 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11c3/0x4350 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 percpu_rwsem_wait+0x2ca/0x300 kernel/locking/percpu-rwsem.c:160 __percpu_down_read+0xc4/0x100 kernel/locking/percpu-rwsem.c:174 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] cgroup_threadgroup_change_begin include/linux/cgroup-defs.h:724 [inline] exit_signals+0x3e5/0x510 kernel/signal.c:3004 do_exit+0x264/0x2110 kernel/exit.c:837 kthread_exit+0x11/0x20 kernel/kthread.c:283 kthread+0x44c/0x520 kernel/kthread.c:336 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task kworker/u4:5:4822 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:5 state:D stack:26416 pid: 4822 ppid: 2 flags:0x00004000 Workqueue: events_unbound call_usermodehelper_exec_work Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11c3/0x4350 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 percpu_rwsem_wait+0x2ca/0x300 kernel/locking/percpu-rwsem.c:160 __percpu_down_read+0xc4/0x100 kernel/locking/percpu-rwsem.c:174 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] cgroup_threadgroup_change_begin include/linux/cgroup-defs.h:724 [inline] cgroup_css_set_fork kernel/cgroup/cgroup.c:6226 [inline] cgroup_can_fork+0xbcb/0xcd0 kernel/cgroup/cgroup.c:6344 copy_process+0x22b3/0x3e70 kernel/fork.c:2385 kernel_clone+0x23f/0x990 kernel/fork.c:2682 kernel_thread+0xfa/0x160 kernel/fork.c:2734 call_usermodehelper_exec_sync kernel/umh.c:135 [inline] call_usermodehelper_exec_work+0x93/0x220 kernel/umh.c:166 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task syz-executor:4938 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:21568 pid: 4938 ppid: 4935 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11c3/0x4350 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 rwsem_down_write_slowpath+0xe63/0x13a0 kernel/locking/rwsem.c:1165 mmap_write_lock include/linux/mmap_lock.h:71 [inline] mpol_rebind_mm+0x33/0x2c0 mm/mempolicy.c:381 cpuset_attach+0x333/0x610 kernel/cgroup/cpuset.c:2381 cgroup_migrate_execute+0x7ee/0xff0 kernel/cgroup/cgroup.c:2598 cgroup_attach_task+0x593/0x830 kernel/cgroup/cgroup.c:2893 __cgroup1_procs_write+0x2ea/0x3f0 kernel/cgroup/cgroup-v1.c:527 cgroup_file_write+0x2c4/0x670 kernel/cgroup/cgroup.c:3967 kernfs_fop_write_iter+0x3a8/0x500 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:2179 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x748/0xd70 fs/read_write.c:594 ksys_write+0x153/0x260 fs/read_write.c:647 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:0x7ff88e0a77ce RSP: 002b:00007fff477989c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000055557c7f9500 RCX: 00007ff88e0a77ce RDX: 0000000000000001 RSI: 00007fff47798a50 RDI: 0000000000000003 RBP: 00007fff47798fc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff47798a50 R14: 00007fff47798f80 R15: 00007fff47798fc0 Showing all locks held in the system: 1 lock held by kthreadd/2: #0: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: copy_process+0x22b3/0x3e70 kernel/fork.c:2385 4 locks held by kworker/u4:0/9: #0: ffff888016dcd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc90000ce7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffffffff8d441610 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x148/0xba0 net/core/net_namespace.c:589 #3: ffff8880225953e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x112/0x300 drivers/net/wireguard/device.c:233 1 lock held by khungtaskd/27: #0: ffffffff8c31ef60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:1/144: #0: ffff888016c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc900016afd00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: copy_process+0x22b3/0x3e70 kernel/fork.c:2385 2 locks held by kworker/u4:3/1218: #0: ffff8880b913a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x130 kernel/sched/core.c:475 #1: ffff8880b9127888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x517/0x810 kernel/sched/psi.c:891 3 locks held by kworker/u4:4/1230: #0: ffff888016c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc90004ab7d00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: copy_process+0x22b3/0x3e70 kernel/fork.c:2385 2 locks held by udevd/3558: #0: ffffffff8c3a9090 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mmap kernel/fork.c:504 [inline] #0: ffffffff8c3a9090 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mm kernel/fork.c:1472 [inline] #0: ffffffff8c3a9090 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm+0x229/0x13d0 kernel/fork.c:1524 #1: ffff88807c8f8128 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #1: ffff88807c8f8128 (&mm->mmap_lock){++++}-{3:3}, at: dup_mmap kernel/fork.c:505 [inline] #1: ffff88807c8f8128 (&mm->mmap_lock){++++}-{3:3}, at: dup_mm kernel/fork.c:1472 [inline] #1: ffff88807c8f8128 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm+0x247/0x13d0 kernel/fork.c:1524 2 locks held by getty/3946: #0: ffff88802c5ca098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x594/0x1a50 drivers/tty/n_tty.c:2158 1 lock held by udevd/4655: #0: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x264/0x2110 kernel/exit.c:837 1 lock held by udevd/4746: #0: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x264/0x2110 kernel/exit.c:837 1 lock held by udevd/4795: #0: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x264/0x2110 kernel/exit.c:837 1 lock held by udevd/4797: #0: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x264/0x2110 kernel/exit.c:837 1 lock held by wg-crypt-wg2/4802: #0: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x264/0x2110 kernel/exit.c:837 3 locks held by kworker/u4:5/4822: #0: ffff888016c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc9000323fd00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: copy_process+0x22b3/0x3e70 kernel/fork.c:2385 7 locks held by syz-executor/4938: #0: ffff888144590460 (sb_writers#11){.+.+}-{0:0}, at: vfs_write+0x296/0xd70 fs/read_write.c:590 #1: ffff8880705b3888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1dc/0x500 fs/kernfs/file.c:287 #2: ffffffff8c344848 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_kn_lock_live+0xe5/0x220 kernel/cgroup/cgroup.c:1662 #3: ffffffff8c1bd6f0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2411 [inline] #3: ffffffff8c1bd6f0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_procs_write_start+0x196/0x5c0 kernel/cgroup/cgroup.c:2922 #4: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2413 [inline] #4: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_procs_write_start+0x1ac/0x5c0 kernel/cgroup/cgroup.c:2922 #5: ffffffff8c352388 (cpuset_mutex){+.+.}-{3:3}, at: cpuset_attach+0xad/0x610 kernel/cgroup/cpuset.c:2353 #6: ffff88807e96e328 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock include/linux/mmap_lock.h:71 [inline] #6: ffff88807e96e328 (&mm->mmap_lock){++++}-{3:3}, at: mpol_rebind_mm+0x33/0x2c0 mm/mempolicy.c:381 1 lock held by syz-executor/4940: #0: ffffffff8c344a30 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x264/0x2110 kernel/exit.c:837 2 locks held by syz-executor/4944: #0: ffffffff8c3a9090 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mmap kernel/fork.c:504 [inline] #0: ffffffff8c3a9090 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mm kernel/fork.c:1472 [inline] #0: ffffffff8c3a9090 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm+0x229/0x13d0 kernel/fork.c:1524 #1: ffff88807e96f828 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #1: ffff88807e96f828 (&mm->mmap_lock){++++}-{3:3}, at: dup_mmap kernel/fork.c:505 [inline] #1: ffff88807e96f828 (&mm->mmap_lock){++++}-{3:3}, at: dup_mm kernel/fork.c:1472 [inline] #1: ffff88807e96f828 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm+0x247/0x13d0 kernel/fork.c:1524 1 lock held by rm/5168: #0: ffff88807bfe1628 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #0: ffff88807bfe1628 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x16c/0x2d0 mm/util.c:549 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: 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 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 1 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:729