CVE-2026-100019
publishedcgroup: fix cgroup.kill for exited thread group leader
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux661ee6280931548f7b3b887ad26a157474ae5ac4 to < c43994bf3b82d13f579b559af00eb5daf9be5be4 · 661ee6280931548f7b3b887ad26a157474ae5ac4 to < c40e6b37041142c4d4e3fcfd9f2d7194374125e8 · 661ee6280931548f7b3b887ad26a157474ae5ac4 to < 487ff40b919bb75f3cb5bf34cedc4d5c94295b4f · 661ee6280931548f7b3b887ad26a157474ae5ac4 to < a5d11d0fd70ec90c8a45e447099331b1f26bf043 · 661ee6280931548f7b3b887ad26a157474ae5ac4 to < dba86614860210064742fa38ae2db0c9030dba27 · 661ee6280931548f7b3b887ad26a157474ae5ac4 to < d148bc1f49ac73ca9ad75cd44bbf71f9806cf635 · 661ee6280931548f7b3b887ad26a157474ae5ac4 to < da13e0e72a7329c95642c44b2d03d194ab071e04 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: cgroup: fix cgroup.kill for exited thread group leader cgroup.kill does not work in case a process' thread group leader is gone but other threads are still running. This is because __cgroup_kill() only walks the thread group leaders and sends SIGKILL to each of them with send_sig(), which uses PIDTYPE_PID: 1. The exited leader is still listed by CSS_TASK_ITER_PROCS as long as the process has live threads, but a signal directed at a single exiting task never takes effect: complete_signal() does not look for another thread to deliver it to, and __send_signal_locked() now drops it altogether. The process keeps running. 2. The live threads of such a process can be migrated to another cgroup by writing any of their IDs to cgroup.procs, while the exited leader stays behind. The destination cgroup has no thread group leader to iterate, so writing to its cgroup.kill does nothing at all. In both cases the cgroup stays populated after cgroup.kill, and a process inside a container can use this to survive the container being killed. This also works with a private PID namespace when the init of the container is the process, as the PID namespace is not torn down while init has live threads. Case 1 can be fixed by using do_send_sig_info(..., PIDTYPE_TGID) instead of send_sig(), so that the signal is taken by a live thread even if the task found by the iterator is exiting. Note it was pointed out by Eric in [1] while reviewing v2 of cgroup.kill patchset, and v3 was meant to switch to it, but the change was only made in cgroup_post_fork(), leaving __cgroup_kill() with send_sig(). Case 2 can only be fixed by iterating over all threads, so this is what the fix also does. Once a thread group is being killed, its other threads are skipped since they already have a fatal signal pending. I ran some performance checks and the added cost is ~60 ns per every thread on my laptop (and less than a millisecond for 10K threads), which seems low. The time to "populated 0" seems unchanged. The issue was found in crun by Anthropic's OSS Scanner, and crun is getting a workaround for it [2] (which does what we needed to do before cgroup.kill was added). [1] https://lore.kernel.org/all/[email protected]/ [2] https://github.com/containers/crun/pull/2351
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 661ee6280931548f7b3b887ad26a157474ae5ac4 to < c43994bf3b82d13f579b559af00eb5daf9be5be4 (affected · git)661ee6280931548f7b3b887ad26a157474ae5ac4 to < c40e6b37041142c4d4e3fcfd9f2d7194374125e8 (affected · git)661ee6280931548f7b3b887ad26a157474ae5ac4 to < 487ff40b919bb75f3cb5bf34cedc4d5c94295b4f (affected · git)661ee6280931548f7b3b887ad26a157474ae5ac4 to < a5d11d0fd70ec90c8a45e447099331b1f26bf043 (affected · git)661ee6280931548f7b3b887ad26a157474ae5ac4 to < dba86614860210064742fa38ae2db0c9030dba27 (affected · git)661ee6280931548f7b3b887ad26a157474ae5ac4 to < d148bc1f49ac73ca9ad75cd44bbf71f9806cf635 (affected · git)661ee6280931548f7b3b887ad26a157474ae5ac4 to < da13e0e72a7329c95642c44b2d03d194ab071e04 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.14 (affected)0 to < 5.14 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/487ff40b919bb75f3cb5bf34cedc4d5c94295b4f
- https://git.kernel.org/stable/c/a5d11d0fd70ec90c8a45e447099331b1f26bf043
- https://git.kernel.org/stable/c/c40e6b37041142c4d4e3fcfd9f2d7194374125e8
- https://git.kernel.org/stable/c/c43994bf3b82d13f579b559af00eb5daf9be5be4
- https://git.kernel.org/stable/c/d148bc1f49ac73ca9ad75cd44bbf71f9806cf635
- https://git.kernel.org/stable/c/da13e0e72a7329c95642c44b2d03d194ab071e04
- https://git.kernel.org/stable/c/dba86614860210064742fa38ae2db0c9030dba27
Provider assertions
1Linux · cna
cgroup: fix cgroup.kill for exited thread group leader
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a2c7ef57af7efb5e024f5b01258d00d842d0f8745b405109f59011b8b77f0cc5
- Ingested
- 30 Nov 2026, 13:30:06 UTC
- Source record
- Official CVE record