{"id":"CVE-2026-143116","state":"PUBLISHED","title":"cgroup/freezer: walk exiting tasks in the v1 freezer","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup/freezer: walk exiting tasks in the v1 freezer\n\nAn exiting task can stay frozen after its v1 freezer cgroup is thawed.\nSince commit a72f73c4dd9b (\"cgroup: Don't expose dead tasks in cgroup\")\nthe css task walk hides an exiting task once its process has no live\nthreads left.  That count drops when another thread of the process\nexits, which can happen between the freeze and the thaw walk.  A pid\nnamespace init hits this easily since it waits freezably in\nzap_pid_ns_processes() after commit 81933038f5e2 (\"pid_namespace: make\nzap_pid_ns_processes() freezable\"):\n\n  Task A (pid ns init)      Task B (A's thread)      Task C\n                            do_exit()\n                              exit_signals()\n  do_exit()\n    zap_pid_ns_processes()\n                                                     write FROZEN\n                                                       /* A frozen */\n                              /* live count 0 */\n                                                     write THAWED\n                                                       /* A skipped */\n\nA then stays frozen even after SIGKILL:\n\n  [   10.775155] task:fz-init         state:D stack:28152 pid:65    tgid:65    ppid:1      task_flags:0xc0004c flags:0x00080000\n  [   10.775176] Call Trace:\n  [   10.775180]  <TASK>\n  [   10.775188]  __schedule+0x10f1/0x4760\n  [   10.775252]  schedule+0xd7/0x2c0\n  [   10.775265]  zap_pid_ns_processes+0x2c7/0x5f0\n  [   10.775346]  do_exit+0x1bf4/0x2560\n  [   10.775403]  __x64_sys_exit+0x3d/0x50\n  [   10.775414]  x64_sys_call+0x156c/0x1570\n  [   10.775425]  do_syscall_64+0xfb/0x590\n  [   10.775450]  entry_SYSCALL_64_after_hwframe+0x77/0x7f\n  [   10.775529]  </TASK>\n\nUse CSS_TASK_ITER_WITH_DEAD in the three v1 freezer walks so they all\nsee the same tasks, as commit 60f21a264930 (\"cgroup, sched_ext: Include\nexiting tasks in cgroup iter\") did for sched_ext.  With the fix, A is\nthawed and exits.\n\nThis bug was identified and confirmed with the help of a deterministic\nhypervisor currently under development.  The C reproducer below however\nhits it within about 10s.","publishedAt":"2026-12-03T09:19:29.545Z","updatedAt":"2026-12-03T09:19:29.545Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a72f73c4dd9b209c53cf8b03b6e97fcefad4262c","status":"affected","lessThan":"d419862267975e376e43e158078c18729a389d66","versionType":"git"},{"version":"a72f73c4dd9b209c53cf8b03b6e97fcefad4262c","status":"affected","lessThan":"8ab6980c70076db5f8c0c66a5fac06472b254333","versionType":"git"},{"version":"3820d732047cb8b4cbe896a78382e16d25f28b4b","status":"affected","versionType":"git"},{"version":"6.19.9","status":"affected","lessThan":"6.20","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/cgroup/legacy_freezer.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/cgroup/legacy_freezer.c"]}],"references":["https://git.kernel.org/stable/c/d419862267975e376e43e158078c18729a389d66","https://git.kernel.org/stable/c/8ab6980c70076db5f8c0c66a5fac06472b254333"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143116.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143116","state":"PUBLISHED","datePublished":"2026-12-03T09:19:29.545Z","dateUpdated":"2026-12-03T09:19:29.545Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.350Z"},"containers":{"cna":{"title":"cgroup/freezer: walk exiting tasks in the v1 freezer","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup/freezer: walk exiting tasks in the v1 freezer\n\nAn exiting task can stay frozen after its v1 freezer cgroup is thawed.\nSince commit a72f73c4dd9b (\"cgroup: Don't expose dead tasks in cgroup\")\nthe css task walk hides an exiting task once its process has no live\nthreads left.  That count drops when another thread of the process\nexits, which can happen between the freeze and the thaw walk.  A pid\nnamespace init hits this easily since it waits freezably in\nzap_pid_ns_processes() after commit 81933038f5e2 (\"pid_namespace: make\nzap_pid_ns_processes() freezable\"):\n\n  Task A (pid ns init)      Task B (A's thread)      Task C\n                            do_exit()\n                              exit_signals()\n  do_exit()\n    zap_pid_ns_processes()\n                                                     write FROZEN\n                                                       /* A frozen */\n                              /* live count 0 */\n                                                     write THAWED\n                                                       /* A skipped */\n\nA then stays frozen even after SIGKILL:\n\n  [   10.775155] task:fz-init         state:D stack:28152 pid:65    tgid:65    ppid:1      task_flags:0xc0004c flags:0x00080000\n  [   10.775176] Call Trace:\n  [   10.775180]  <TASK>\n  [   10.775188]  __schedule+0x10f1/0x4760\n  [   10.775252]  schedule+0xd7/0x2c0\n  [   10.775265]  zap_pid_ns_processes+0x2c7/0x5f0\n  [   10.775346]  do_exit+0x1bf4/0x2560\n  [   10.775403]  __x64_sys_exit+0x3d/0x50\n  [   10.775414]  x64_sys_call+0x156c/0x1570\n  [   10.775425]  do_syscall_64+0xfb/0x590\n  [   10.775450]  entry_SYSCALL_64_after_hwframe+0x77/0x7f\n  [   10.775529]  </TASK>\n\nUse CSS_TASK_ITER_WITH_DEAD in the three v1 freezer walks so they all\nsee the same tasks, as commit 60f21a264930 (\"cgroup, sched_ext: Include\nexiting tasks in cgroup iter\") did for sched_ext.  With the fix, A is\nthawed and exits.\n\nThis bug was identified and confirmed with the help of a deterministic\nhypervisor currently under development.  The C reproducer below however\nhits it within about 10s."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a72f73c4dd9b209c53cf8b03b6e97fcefad4262c","status":"affected","lessThan":"d419862267975e376e43e158078c18729a389d66","versionType":"git"},{"version":"a72f73c4dd9b209c53cf8b03b6e97fcefad4262c","status":"affected","lessThan":"8ab6980c70076db5f8c0c66a5fac06472b254333","versionType":"git"},{"version":"3820d732047cb8b4cbe896a78382e16d25f28b4b","status":"affected","versionType":"git"},{"version":"6.19.9","status":"affected","lessThan":"6.20","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/cgroup/legacy_freezer.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/cgroup/legacy_freezer.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d419862267975e376e43e158078c18729a389d66"},{"url":"https://git.kernel.org/stable/c/8ab6980c70076db5f8c0c66a5fac06472b254333"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:19:29.545Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.4-rc3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}