CVE-2026-143115

Not scored yetLast modified Dec 3, 2026

Description

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 percpu_ref 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 CGROUP_FREEZING_PARENT.

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 ("pid_namespace: make zap_pid_ns_processes() freezable"), an exiting pid namespace init sleeps that way until a parent outside the namespace reaps a zombie in it.

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

rmdir removes freezer.state only after ->css_killed() returns, and a write to it takes no cgroup_mutex. 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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 93618edf753838a727dbff63c7c291dee22d656b, < e045192f11a3e16624a61caefe1fc947084b5705; >= 93618edf753838a727dbff63c7c291dee22d656b, < e1aed52b68a361f6fc047b24a37d9ec4d928a158; 33fa2e6b1507a0a377a151a8826438bedad1d0b0; >= 7.0.9, < 7.1
LinuxLinux7.1

References

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143116In the Linux kernel, the following vulnerability has been resolved: cgroup/freezer: walk exiting tasks in the v1 freezer An exiting task cCVE-2026-143117In the Linux kernel, the following vulnerability has been resolved: cgroup/cpuset: Don't revive invalid partition without active CPU on hotCVE-2026-143118In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Keep recvmsg from resuming a closed channel Reading CVE-2026-143119In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_qca: fix use-after-free in ibs debugfs files qca_debugfCVE-2026-143120In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: fix use-after-free in force_poll_sync The force_pollCVE-2026-143121In the Linux kernel, the following vulnerability has been resolved: power: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2_vregs_CVE-2026-143122In the Linux kernel, the following vulnerability has been resolved: perf/core: Do not resurrect cpuctx->cgrp after last cgroup event exit CVE-2026-143123In the Linux kernel, the following vulnerability has been resolved: openvswitch: advance by the real header length in get_ipv6_ext_hdrs() CVE-2026-143124In the Linux kernel, the following vulnerability has been resolved: ntfs: open the index allocation before reading or writing an index blocCVE-2026-143125In the Linux kernel, the following vulnerability has been resolved: ntfs: do not read an index block outside $INDEX_ALLOCATION A directoryCVE-2026-143126In the Linux kernel, the following vulnerability has been resolved: ntfs: check the file name against the key length of an index entry ntfCVE-2026-143127In the Linux kernel, the following vulnerability has been resolved: NFSv4: Prevent indefinite waits for out-of-order OPEN stateids When pr
CVE-2026-143115: Unscored | Vulnix