{"id":"CVE-2026-143115","summary":"cgroup/freezer: Fix exiting tasks left frozen forever after rmdir","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup/freezer: Fix exiting tasks left frozen forever after rmdir\n\nSince 93618edf7538 (\"cgroup: Defer css percpu_ref kill on rmdir until cgroup\nis depopulated\"), rmdir succeeds once cgroup.procs is empty, but exiting\ntasks hidden from it can stay in the cgroup until their final context\nswitch. If such a task is frozen in a v1 freezer cgroup, nothing is left to\nthaw it after rmdir: freezer.state is gone with the cgroup, and a THAWED\nwrite to an ancestor clears only CGROUP_FREEZING_PARENT.\n\n8ab6980c7007 (\"cgroup/freezer: walk exiting tasks in the v1 freezer\") made\nthe freezer walks include exiting tasks. A FROZEN write now also freezes a\nhidden task in a freezable sleep on its exit path. The fix depends on that\ncommit, as the thaw reaches hidden tasks through the same walk.\n\nSince 81933038f5e2 (\"pid_namespace: make zap_pid_ns_processes() freezable\"),\nan exiting pid namespace init sleeps that way until a parent outside the\nnamespace reaps a zombie in it.\n\nThaw the cgroup from -\u003ecss_killed(), as a THAWED write to it would. A\ndescendant removed earlier can still hold hidden tasks frozen through\nCGROUP_FREEZING_PARENT. The thaw reaches it too, as its css stays online\nuntil its tasks are gone.\n\nrmdir removes freezer.state only after -\u003ecss_killed() returns, and a write\nto it takes no cgroup_mutex. A FROZEN write after the thaw would freeze the\nremoved cgroup again, so refuse to freeze a dead cgroup.\n\nVerified with a reproducer, including under a frozen parent, from an already\nremoved child and with a racing FROZEN write.","modified":"2026-12-03T11:01:18.619876269Z","published":"2026-12-03T09:19:28.905Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143115.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e045192f11a3e16624a61caefe1fc947084b5705"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1aed52b68a361f6fc047b24a37d9ec4d928a158"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143115.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143115"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"93618edf753838a727dbff63c7c291dee22d656b"},{"fixed":"e045192f11a3e16624a61caefe1fc947084b5705"},{"fixed":"e1aed52b68a361f6fc047b24a37d9ec4d928a158"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"33fa2e6b1507a0a377a151a8826438bedad1d0b0"}]}],"versions":["v7.0.14","v7.0.13","v7.0.12","v7.0.11","v7.0.10","v7.0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143115.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.9"},{"fixed":"7.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143115.json"}}],"schema_version":"1.9.2"}