CVE-2026-99561 (GCVE-0-2026-99561)
Vulnerability from cvelistv5 – Published: 2026-11-19 14:45 – Updated: 2026-11-19 14:45
VLAI
EPSS
VEX
Title
fork: don't create io threads once PF_POSTCOREDUMP is set
Summary
In the Linux kernel, the following vulnerability has been resolved:
fork: don't create io threads once PF_POSTCOREDUMP is set
zap_process() skips every thread that already has PF_POSTCOREDUMP set.
Such a thread is past synchronize_group_exit(), so a coredump can't
catch it anymore. It isn't counted in core_state->threads_remaining and
it isn't sent SIGKILL.
do_exit() sets PF_POSTCOREDUMP in synchronize_group_exit() and calls
io_uring_files_cancel() right after that. The cancellation runs task
work and a create_worker_cb() that io-wq queued before the exit creates
a new io-wq worker from there. If another thread started a coredump in
the meantime that worker joins a thread-group which is already being
dumped. zap_process() never saw it so it was never counted. But when it
exits it sees signal->core_state in synchronize_group_exit() and
decrements threads_remaining like any other thread.
So the count reaches zero one thread early and the dumper leaves
coredump_wait_inactive() while a thread it counted is still running.
The task has no fatal signal pending because zap_process() deliberately
didn't send it one, and it never went through get_signal() so it doesn't
have PF_SIGNALED either.
Refuse to create an io thread when the creator has PF_POSTCOREDUMP.
That costs nothing. io_uring_files_cancel() raises IO_WQ_BIT_EXIT
before it runs any task work, so a worker created from there only ever
gets to exit again, and io_should_retry_thread() doesn't retry -EINTR.
Clearing PF_POSTCOREDUMP for the new thread in copy_process() was the
other option. It makes the worker a thread like any other, but it only
helps while the dump hasn't started. A worker born after zap_process()
has run is invisible to it whatever its flags say and still decrements
threads_remaining on the way out. Refusing to create it covers both, and
then no task is ever born with the flag, so there is nothing to clear.
Moving io_uring_files_cancel() ahead of synchronize_group_exit() closes
the same window. It runs the cancellation, and whatever that can block
on, before the thread announces itself to the dumper. A thread that
blocks there never reaches coredump_task_exit() at all, so the dumper
ends up waiting for a thread that never parks. Refusing the creation
leaves the cancellation where it is. But it's very ugly to run io_uring
work even before we did all the generic exit work.
Severity
No CVSS data available.
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
92307383082daff5df884a25df9e283efb7ef261 , < 3a0cdf3eb9c3026b046efe32f01b9090ab4e2d73
(git)
Affected: 92307383082daff5df884a25df9e283efb7ef261 , < 64f2a38a1658493d7a53d656bcc483ee4b837623 (git) Affected: 92307383082daff5df884a25df9e283efb7ef261 , < 9dea2e237ffe2a325b9d42ed15ea9ee6561979c7 (git) Affected: 92307383082daff5df884a25df9e283efb7ef261 , < 026aa32c00b0b3ea849d0ae98313274c9d3c7e21 (git) Affected: 92307383082daff5df884a25df9e283efb7ef261 , < 1f978881ce6c9ac4f4d4a7b6a6e52339eadcd350 (git) |
|
| Linux | Linux |
Affected:
5.16
Unaffected: 0 , < 5.16 (semver) Unaffected: 6.12.117 , ≤ 6.12.* (semver) Unaffected: 6.18.61 , ≤ 6.18.* (semver) Unaffected: 7.2.15 , ≤ 7.2.* (semver) Unaffected: 7.3.2 , ≤ 7.3.* (semver) Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"kernel/fork.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "3a0cdf3eb9c3026b046efe32f01b9090ab4e2d73",
"status": "affected",
"version": "92307383082daff5df884a25df9e283efb7ef261",
"versionType": "git"
},
{
"lessThan": "64f2a38a1658493d7a53d656bcc483ee4b837623",
"status": "affected",
"version": "92307383082daff5df884a25df9e283efb7ef261",
"versionType": "git"
},
{
"lessThan": "9dea2e237ffe2a325b9d42ed15ea9ee6561979c7",
"status": "affected",
"version": "92307383082daff5df884a25df9e283efb7ef261",
"versionType": "git"
},
{
"lessThan": "026aa32c00b0b3ea849d0ae98313274c9d3c7e21",
"status": "affected",
"version": "92307383082daff5df884a25df9e283efb7ef261",
"versionType": "git"
},
{
"lessThan": "1f978881ce6c9ac4f4d4a7b6a6e52339eadcd350",
"status": "affected",
"version": "92307383082daff5df884a25df9e283efb7ef261",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"kernel/fork.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.16"
},
{
"lessThan": "5.16",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.15",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"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": "6.12.117",
"versionStartIncluding": "5.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.61",
"versionStartIncluding": "5.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2.15",
"versionStartIncluding": "5.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.2",
"versionStartIncluding": "5.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "5.16",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfork: don\u0027t create io threads once PF_POSTCOREDUMP is set\n\nzap_process() skips every thread that already has PF_POSTCOREDUMP set.\nSuch a thread is past synchronize_group_exit(), so a coredump can\u0027t\ncatch it anymore. It isn\u0027t counted in core_state-\u003ethreads_remaining and\nit isn\u0027t sent SIGKILL.\n\ndo_exit() sets PF_POSTCOREDUMP in synchronize_group_exit() and calls\nio_uring_files_cancel() right after that. The cancellation runs task\nwork and a create_worker_cb() that io-wq queued before the exit creates\na new io-wq worker from there. If another thread started a coredump in\nthe meantime that worker joins a thread-group which is already being\ndumped. zap_process() never saw it so it was never counted. But when it\nexits it sees signal-\u003ecore_state in synchronize_group_exit() and\ndecrements threads_remaining like any other thread.\n\nSo the count reaches zero one thread early and the dumper leaves\ncoredump_wait_inactive() while a thread it counted is still running.\n\nThe task has no fatal signal pending because zap_process() deliberately\ndidn\u0027t send it one, and it never went through get_signal() so it doesn\u0027t\nhave PF_SIGNALED either.\n\nRefuse to create an io thread when the creator has PF_POSTCOREDUMP.\nThat costs nothing. io_uring_files_cancel() raises IO_WQ_BIT_EXIT\nbefore it runs any task work, so a worker created from there only ever\ngets to exit again, and io_should_retry_thread() doesn\u0027t retry -EINTR.\n\nClearing PF_POSTCOREDUMP for the new thread in copy_process() was the\nother option. It makes the worker a thread like any other, but it only\nhelps while the dump hasn\u0027t started. A worker born after zap_process()\nhas run is invisible to it whatever its flags say and still decrements\nthreads_remaining on the way out. Refusing to create it covers both, and\nthen no task is ever born with the flag, so there is nothing to clear.\n\nMoving io_uring_files_cancel() ahead of synchronize_group_exit() closes\nthe same window. It runs the cancellation, and whatever that can block\non, before the thread announces itself to the dumper. A thread that\nblocks there never reaches coredump_task_exit() at all, so the dumper\nends up waiting for a thread that never parks. Refusing the creation\nleaves the cancellation where it is. But it\u0027s very ugly to run io_uring\nwork even before we did all the generic exit work."
}
],
"providerMetadata": {
"dateUpdated": "2026-11-19T14:45:39.370Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/3a0cdf3eb9c3026b046efe32f01b9090ab4e2d73"
},
{
"url": "https://git.kernel.org/stable/c/64f2a38a1658493d7a53d656bcc483ee4b837623"
},
{
"url": "https://git.kernel.org/stable/c/9dea2e237ffe2a325b9d42ed15ea9ee6561979c7"
},
{
"url": "https://git.kernel.org/stable/c/026aa32c00b0b3ea849d0ae98313274c9d3c7e21"
},
{
"url": "https://git.kernel.org/stable/c/1f978881ce6c9ac4f4d4a7b6a6e52339eadcd350"
}
],
"title": "fork: don\u0027t create io threads once PF_POSTCOREDUMP is set",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99561",
"datePublished": "2026-11-19T14:45:39.370Z",
"dateReserved": "2026-09-25T10:25:14.422Z",
"dateUpdated": "2026-11-19T14:45:39.370Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99561",
"date": "2026-11-22",
"epss": "0.00157",
"percentile": "0.04851"
},
"microsoft_vex": {
"current_release_date": "2026-11-21T01:09:26.000Z",
"cve": "CVE-2026-99561",
"id": "msrc_CVE-2026-99561",
"initial_release_date": "2026-11-21T01:09:26.000Z",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "fork: don\u0027t create io threads once PF_POSTCOREDUMP is set",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99561.json",
"version": "1"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"kernel/fork.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "3a0cdf3eb9c3026b046efe32f01b9090ab4e2d73",
"status": "affected",
"version": "92307383082daff5df884a25df9e283efb7ef261",
"versionType": "git"
},
{
"lessThan": "64f2a38a1658493d7a53d656bcc483ee4b837623",
"status": "affected",
"version": "92307383082daff5df884a25df9e283efb7ef261",
"versionType": "git"
},
{
"lessThan": "9dea2e237ffe2a325b9d42ed15ea9ee6561979c7",
"status": "affected",
"version": "92307383082daff5df884a25df9e283efb7ef261",
"versionType": "git"
},
{
"lessThan": "026aa32c00b0b3ea849d0ae98313274c9d3c7e21",
"status": "affected",
"version": "92307383082daff5df884a25df9e283efb7ef261",
"versionType": "git"
},
{
"lessThan": "1f978881ce6c9ac4f4d4a7b6a6e52339eadcd350",
"status": "affected",
"version": "92307383082daff5df884a25df9e283efb7ef261",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"kernel/fork.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.16"
},
{
"lessThan": "5.16",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.15",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfork: don\u0027t create io threads once PF_POSTCOREDUMP is set\n\nzap_process() skips every thread that already has PF_POSTCOREDUMP set.\nSuch a thread is past synchronize_group_exit(), so a coredump can\u0027t\ncatch it anymore. It isn\u0027t counted in core_state-\u003ethreads_remaining and\nit isn\u0027t sent SIGKILL.\n\ndo_exit() sets PF_POSTCOREDUMP in synchronize_group_exit() and calls\nio_uring_files_cancel() right after that. The cancellation runs task\nwork and a create_worker_cb() that io-wq queued before the exit creates\na new io-wq worker from there. If another thread started a coredump in\nthe meantime that worker joins a thread-group which is already being\ndumped. zap_process() never saw it so it was never counted. But when it\nexits it sees signal-\u003ecore_state in synchronize_group_exit() and\ndecrements threads_remaining like any other thread.\n\nSo the count reaches zero one thread early and the dumper leaves\ncoredump_wait_inactive() while a thread it counted is still running.\n\nThe task has no fatal signal pending because zap_process() deliberately\ndidn\u0027t send it one, and it never went through get_signal() so it doesn\u0027t\nhave PF_SIGNALED either.\n\nRefuse to create an io thread when the creator has PF_POSTCOREDUMP.\nThat costs nothing. io_uring_files_cancel() raises IO_WQ_BIT_EXIT\nbefore it runs any task work, so a worker created from there only ever\ngets to exit again, and io_should_retry_thread() doesn\u0027t retry -EINTR.\n\nClearing PF_POSTCOREDUMP for the new thread in copy_process() was the\nother option. It makes the worker a thread like any other, but it only\nhelps while the dump hasn\u0027t started. A worker born after zap_process()\nhas run is invisible to it whatever its flags say and still decrements\nthreads_remaining on the way out. Refusing to create it covers both, and\nthen no task is ever born with the flag, so there is nothing to clear.\n\nMoving io_uring_files_cancel() ahead of synchronize_group_exit() closes\nthe same window. It runs the cancellation, and whatever that can block\non, before the thread announces itself to the dumper. A thread that\nblocks there never reaches coredump_task_exit() at all, so the dumper\nends up waiting for a thread that never parks. Refusing the creation\nleaves the cancellation where it is. But it\u0027s very ugly to run io_uring\nwork even before we did all the generic exit work."
}
],
"id": "CVE-2026-99561",
"lastModified": "2026-11-19T15:18:12.743",
"metrics": {},
"published": "2026-11-19T15:18:12.743",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/026aa32c00b0b3ea849d0ae98313274c9d3c7e21"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/1f978881ce6c9ac4f4d4a7b6a6e52339eadcd350"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/3a0cdf3eb9c3026b046efe32f01b9090ab4e2d73"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/64f2a38a1658493d7a53d656bcc483ee4b837623"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/9dea2e237ffe2a325b9d42ed15ea9ee6561979c7"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-19T21:56:30+00:00",
"cve": "CVE-2026-99561",
"id": "CVE-2026-99561",
"initial_release_date": "2026-11-19T14:45:39.370000+00:00",
"product_status:known_affected": "127",
"product_status:known_not_affected": "77",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: Denial of Service via race condition during core dump handling",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99561.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…