CVE-2026-143115: cgroup/freezer: Fix exiting tasks left frozen forever after rmdir

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

cgroup/freezer: Fix exiting tasks left frozen forever after rmdir

Since 93618edf7538 ("cgroup: Defer css percpuref kill on rmdir until cgroup is depopulated"), rmdir succeeds once cgroup.procs is empty, but exiting tasks hidden from it can stay in the cgroup until their final context switch. If such a task is frozen in a v1 freezer cgroup, nothing is left to thaw it after rmdir: freezer.state is gone with the cgroup, and a THAWED write to an ancestor clears only CGROUPFREEZINGPARENT.

8ab6980c7007 ("cgroup/freezer: walk exiting tasks in the v1 freezer") made the freezer walks include exiting tasks. A FROZEN write now also freezes a hidden task in a freezable sleep on its exit path. The fix depends on that commit, as the thaw reaches hidden tasks through the same walk.

Since 81933038f5e2 ("pidnamespace: make zappidnsprocesses() freezable"), an exiting pid namespace init sleeps that way until a parent outside the namespace reaps a zombie in it.

Thaw the cgroup from ->csskilled(), as a THAWED write to it would. A descendant removed earlier can still hold hidden tasks frozen through CGROUPFREEZINGPARENT. The thaw reaches it too, as its css stays online until its tasks are gone.

rmdir removes freezer.state only after ->csskilled() returns, and a write to it takes no cgroupmutex. A FROZEN write after the thaw would freeze the removed cgroup again, so refuse to freeze a dead cgroup.

Verified with a reproducer, including under a frozen parent, from an already removed child and with a racing FROZEN write.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 8ab6980c7007

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Frequently Asked Questions

1

Which systems are affected by this condition?

The issue applies to systems using the cgroup v1 freezer controller. It requires an exiting task that remains associated with a cgroup after cgroup.procs becomes empty, where that task is frozen when the cgroup is removed.

2

What sequence can leave a task frozen indefinitely?

Removing a v1 freezer cgroup can succeed after its visible task list is empty even though an exiting task remains until its final context switch. If that hidden task is frozen, the removed cgroup no longer has freezer.state available to thaw it, and thawing an ancestor does not necessarily clear the relevant freezing state.

3

Are PID namespace processes relevant to impact?

Yes. An exiting PID namespace init can sleep on its exit path until a parent outside the namespace reaps a zombie, making it a case where a hidden exiting task may remain frozen. The fix thaws the cgroup during css_killed() so the thaw reaches such hidden tasks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203