{"api_version":"1","generated_at":"2026-12-01T14:41:21+00:00","cve":"CVE-2026-100019","urls":{"html":"https://cve.report/CVE-2026-100019","api":"https://cve.report/api/cve/CVE-2026-100019.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-100019","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-100019"},"summary":{"title":"cgroup: fix cgroup.kill for exited thread group leader","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup: fix cgroup.kill for exited thread group leader\n\ncgroup.kill does not work in case a process' thread group leader is gone\nbut other threads are still running. This is because __cgroup_kill()\nonly walks the thread group leaders and sends SIGKILL to each of them\nwith send_sig(), which uses PIDTYPE_PID:\n\n1. The exited leader is still listed by CSS_TASK_ITER_PROCS as long as\n   the process has live threads, but a signal directed at a single\n   exiting task never takes effect: complete_signal() does not look for\n   another thread to deliver it to, and __send_signal_locked() now drops\n   it altogether.  The process keeps running.\n\n2. The live threads of such a process can be migrated to another cgroup\n   by writing any of their IDs to cgroup.procs, while the exited leader\n   stays behind.  The destination cgroup has no thread group leader to\n   iterate, so writing to its cgroup.kill does nothing at all.\n\nIn both cases the cgroup stays populated after cgroup.kill, and a\nprocess inside a container can use this to survive the container being\nkilled.  This also works with a private PID namespace when the init of\nthe container is the process, as the PID namespace is not torn down\nwhile init has live threads.\n\nCase 1 can be fixed by using do_send_sig_info(..., PIDTYPE_TGID) instead\nof send_sig(), so that the signal is taken by a live thread even if the\ntask found by the iterator is exiting. Note it was pointed out by Eric\nin [1] while reviewing v2 of cgroup.kill patchset, and v3 was meant to\nswitch to it, but the change was only made in cgroup_post_fork(),\nleaving __cgroup_kill() with send_sig().\n\nCase 2 can only be fixed by iterating over all threads, so this is what\nthe fix also does. Once a thread group is being killed, its other\nthreads are skipped since they already have a fatal signal pending.\n\nI ran some performance checks and the added cost is ~60 ns per every\nthread on my laptop (and less than a millisecond for 10K threads),\nwhich seems low. The time to \"populated 0\" seems unchanged.\n\nThe issue was found in crun by Anthropic's OSS Scanner, and crun is\ngetting a workaround for it [2] (which does what we needed to do\nbefore cgroup.kill was added).\n\n[1] https://lore.kernel.org/all/m1v97x6niq.fsf@fess.ebiederm.org/\n[2] https://github.com/containers/crun/pull/2351","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:17","updated_at":"2026-11-30 14:17:17"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/da13e0e72a7329c95642c44b2d03d194ab071e04","name":"https://git.kernel.org/stable/c/da13e0e72a7329c95642c44b2d03d194ab071e04","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d148bc1f49ac73ca9ad75cd44bbf71f9806cf635","name":"https://git.kernel.org/stable/c/d148bc1f49ac73ca9ad75cd44bbf71f9806cf635","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/487ff40b919bb75f3cb5bf34cedc4d5c94295b4f","name":"https://git.kernel.org/stable/c/487ff40b919bb75f3cb5bf34cedc4d5c94295b4f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dba86614860210064742fa38ae2db0c9030dba27","name":"https://git.kernel.org/stable/c/dba86614860210064742fa38ae2db0c9030dba27","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a5d11d0fd70ec90c8a45e447099331b1f26bf043","name":"https://git.kernel.org/stable/c/a5d11d0fd70ec90c8a45e447099331b1f26bf043","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c43994bf3b82d13f579b559af00eb5daf9be5be4","name":"https://git.kernel.org/stable/c/c43994bf3b82d13f579b559af00eb5daf9be5be4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c40e6b37041142c4d4e3fcfd9f2d7194374125e8","name":"https://git.kernel.org/stable/c/c40e6b37041142c4d4e3fcfd9f2d7194374125e8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-100019","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100019","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 661ee6280931548f7b3b887ad26a157474ae5ac4 c43994bf3b82d13f579b559af00eb5daf9be5be4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 661ee6280931548f7b3b887ad26a157474ae5ac4 c40e6b37041142c4d4e3fcfd9f2d7194374125e8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 661ee6280931548f7b3b887ad26a157474ae5ac4 487ff40b919bb75f3cb5bf34cedc4d5c94295b4f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 661ee6280931548f7b3b887ad26a157474ae5ac4 a5d11d0fd70ec90c8a45e447099331b1f26bf043 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 661ee6280931548f7b3b887ad26a157474ae5ac4 dba86614860210064742fa38ae2db0c9030dba27 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 661ee6280931548f7b3b887ad26a157474ae5ac4 d148bc1f49ac73ca9ad75cd44bbf71f9806cf635 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 661ee6280931548f7b3b887ad26a157474ae5ac4 da13e0e72a7329c95642c44b2d03d194ab071e04 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/cgroup/cgroup.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"c43994bf3b82d13f579b559af00eb5daf9be5be4","status":"affected","version":"661ee6280931548f7b3b887ad26a157474ae5ac4","versionType":"git"},{"lessThan":"c40e6b37041142c4d4e3fcfd9f2d7194374125e8","status":"affected","version":"661ee6280931548f7b3b887ad26a157474ae5ac4","versionType":"git"},{"lessThan":"487ff40b919bb75f3cb5bf34cedc4d5c94295b4f","status":"affected","version":"661ee6280931548f7b3b887ad26a157474ae5ac4","versionType":"git"},{"lessThan":"a5d11d0fd70ec90c8a45e447099331b1f26bf043","status":"affected","version":"661ee6280931548f7b3b887ad26a157474ae5ac4","versionType":"git"},{"lessThan":"dba86614860210064742fa38ae2db0c9030dba27","status":"affected","version":"661ee6280931548f7b3b887ad26a157474ae5ac4","versionType":"git"},{"lessThan":"d148bc1f49ac73ca9ad75cd44bbf71f9806cf635","status":"affected","version":"661ee6280931548f7b3b887ad26a157474ae5ac4","versionType":"git"},{"lessThan":"da13e0e72a7329c95642c44b2d03d194ab071e04","status":"affected","version":"661ee6280931548f7b3b887ad26a157474ae5ac4","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/cgroup/cgroup.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.14"},{"lessThan":"5.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup: fix cgroup.kill for exited thread group leader\n\ncgroup.kill does not work in case a process' thread group leader is gone\nbut other threads are still running. This is because __cgroup_kill()\nonly walks the thread group leaders and sends SIGKILL to each of them\nwith send_sig(), which uses PIDTYPE_PID:\n\n1. The exited leader is still listed by CSS_TASK_ITER_PROCS as long as\n   the process has live threads, but a signal directed at a single\n   exiting task never takes effect: complete_signal() does not look for\n   another thread to deliver it to, and __send_signal_locked() now drops\n   it altogether.  The process keeps running.\n\n2. The live threads of such a process can be migrated to another cgroup\n   by writing any of their IDs to cgroup.procs, while the exited leader\n   stays behind.  The destination cgroup has no thread group leader to\n   iterate, so writing to its cgroup.kill does nothing at all.\n\nIn both cases the cgroup stays populated after cgroup.kill, and a\nprocess inside a container can use this to survive the container being\nkilled.  This also works with a private PID namespace when the init of\nthe container is the process, as the PID namespace is not torn down\nwhile init has live threads.\n\nCase 1 can be fixed by using do_send_sig_info(..., PIDTYPE_TGID) instead\nof send_sig(), so that the signal is taken by a live thread even if the\ntask found by the iterator is exiting. Note it was pointed out by Eric\nin [1] while reviewing v2 of cgroup.kill patchset, and v3 was meant to\nswitch to it, but the change was only made in cgroup_post_fork(),\nleaving __cgroup_kill() with send_sig().\n\nCase 2 can only be fixed by iterating over all threads, so this is what\nthe fix also does. Once a thread group is being killed, its other\nthreads are skipped since they already have a fatal signal pending.\n\nI ran some performance checks and the added cost is ~60 ns per every\nthread on my laptop (and less than a millisecond for 10K threads),\nwhich seems low. The time to \"populated 0\" seems unchanged.\n\nThe issue was found in crun by Anthropic's OSS Scanner, and crun is\ngetting a workaround for it [2] (which does what we needed to do\nbefore cgroup.kill was added).\n\n[1] https://lore.kernel.org/all/m1v97x6niq.fsf@fess.ebiederm.org/\n[2] https://github.com/containers/crun/pull/2351"}],"providerMetadata":{"dateUpdated":"2026-11-30T13:23:08.015Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/c43994bf3b82d13f579b559af00eb5daf9be5be4"},{"url":"https://git.kernel.org/stable/c/c40e6b37041142c4d4e3fcfd9f2d7194374125e8"},{"url":"https://git.kernel.org/stable/c/487ff40b919bb75f3cb5bf34cedc4d5c94295b4f"},{"url":"https://git.kernel.org/stable/c/a5d11d0fd70ec90c8a45e447099331b1f26bf043"},{"url":"https://git.kernel.org/stable/c/dba86614860210064742fa38ae2db0c9030dba27"},{"url":"https://git.kernel.org/stable/c/d148bc1f49ac73ca9ad75cd44bbf71f9806cf635"},{"url":"https://git.kernel.org/stable/c/da13e0e72a7329c95642c44b2d03d194ab071e04"}],"title":"cgroup: fix cgroup.kill for exited thread group leader","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-100019","datePublished":"2026-11-30T13:23:08.015Z","dateReserved":"2026-09-25T10:25:14.453Z","dateUpdated":"2026-11-30T13:23:08.015Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:17","lastModifiedDate":"2026-11-30 14:17:17","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"100019","Ordinal":"1","Title":"cgroup: fix cgroup.kill for exited thread group leader","CVE":"CVE-2026-100019","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"100019","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup: fix cgroup.kill for exited thread group leader\n\ncgroup.kill does not work in case a process' thread group leader is gone\nbut other threads are still running. This is because __cgroup_kill()\nonly walks the thread group leaders and sends SIGKILL to each of them\nwith send_sig(), which uses PIDTYPE_PID:\n\n1. The exited leader is still listed by CSS_TASK_ITER_PROCS as long as\n   the process has live threads, but a signal directed at a single\n   exiting task never takes effect: complete_signal() does not look for\n   another thread to deliver it to, and __send_signal_locked() now drops\n   it altogether.  The process keeps running.\n\n2. The live threads of such a process can be migrated to another cgroup\n   by writing any of their IDs to cgroup.procs, while the exited leader\n   stays behind.  The destination cgroup has no thread group leader to\n   iterate, so writing to its cgroup.kill does nothing at all.\n\nIn both cases the cgroup stays populated after cgroup.kill, and a\nprocess inside a container can use this to survive the container being\nkilled.  This also works with a private PID namespace when the init of\nthe container is the process, as the PID namespace is not torn down\nwhile init has live threads.\n\nCase 1 can be fixed by using do_send_sig_info(..., PIDTYPE_TGID) instead\nof send_sig(), so that the signal is taken by a live thread even if the\ntask found by the iterator is exiting. Note it was pointed out by Eric\nin [1] while reviewing v2 of cgroup.kill patchset, and v3 was meant to\nswitch to it, but the change was only made in cgroup_post_fork(),\nleaving __cgroup_kill() with send_sig().\n\nCase 2 can only be fixed by iterating over all threads, so this is what\nthe fix also does. Once a thread group is being killed, its other\nthreads are skipped since they already have a fatal signal pending.\n\nI ran some performance checks and the added cost is ~60 ns per every\nthread on my laptop (and less than a millisecond for 10K threads),\nwhich seems low. The time to \"populated 0\" seems unchanged.\n\nThe issue was found in crun by Anthropic's OSS Scanner, and crun is\ngetting a workaround for it [2] (which does what we needed to do\nbefore cgroup.kill was added).\n\n[1] https://lore.kernel.org/all/m1v97x6niq.fsf@fess.ebiederm.org/\n[2] https://github.com/containers/crun/pull/2351","Type":"Description","Title":"cgroup: fix cgroup.kill for exited thread group leader"}]}}}