FKIE_CVE-2026-99530
Vulnerability from fkie_nvd - Published: 2026-11-19 15:18 - Updated: 2026-11-19 15:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved:
cgroup: serialize migrations of newly forked processes
With favordynmods enabled, a cgroup.procs migration takes the target
threadgroup's cgroup_threadgroup_rwsem for writing. A process fork holds
the forking threadgroup's semaphore for reading. These are different
semaphores when fork creates a new process.
copy_process() publishes the child's PID before cgroup_post_fork() links
the child to its css_set. A writer can find the child in that interval,
take its uncontended semaphore, and migrate it while child->cgroups still
points to init_css_set and child->cg_list is empty. Migration links the
node into init_css_set.mg_tasks. cgroup_post_fork() then adds the same
node to the intended css_set as though it were unlinked, corrupting both
task lists and their css_set ownership.
This regresses the fork/migration race fixed by commit b12b533fa523
("cgroups: add lock for child->cgroups in cgroup_post_fork()") and
restored again in 2012 after the lock had been removed. The old task_lock
protection was later superseded by global css_set and cgroup threadgroup
locking. The change identified by the Fixes tag narrowed only the migration
side back to a per-threadgroup lock, recreating the different-process
exclusion failure.
Take the new threadgroup's semaphore for reading before the child becomes
visible and hold it through cgroup_post_fork(). Use a nested lock subclass
because fork already holds the parent's semaphore. CLONE_THREAD children
share the parent's signal_struct and remain covered by the existing lock.
Migrations of unrelated, fully initialized threadgroups remain concurrent.
An AI coding assistant was used to identify and reproduce the regression
and to develop and test this fix.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"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": "d3d5560fb7550e74fb9851826d7dab505ffd05e0",
"status": "affected",
"version": "0568f89d4fb82d98001baeb870e92f43cd1f7317",
"versionType": "git"
},
{
"lessThan": "13610241843ccd928d83c6d51b5e044e4faf56c8",
"status": "affected",
"version": "0568f89d4fb82d98001baeb870e92f43cd1f7317",
"versionType": "git"
},
{
"lessThan": "bf6fbf46b5ff68c4eebad5aa52309eb124f4509c",
"status": "affected",
"version": "0568f89d4fb82d98001baeb870e92f43cd1f7317",
"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": "6.18"
},
{
"lessThan": "6.18",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"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\ncgroup: serialize migrations of newly forked processes\n\nWith favordynmods enabled, a cgroup.procs migration takes the target\nthreadgroup\u0027s cgroup_threadgroup_rwsem for writing. A process fork holds\nthe forking threadgroup\u0027s semaphore for reading. These are different\nsemaphores when fork creates a new process.\n\ncopy_process() publishes the child\u0027s PID before cgroup_post_fork() links\nthe child to its css_set. A writer can find the child in that interval,\ntake its uncontended semaphore, and migrate it while child-\u003ecgroups still\npoints to init_css_set and child-\u003ecg_list is empty. Migration links the\nnode into init_css_set.mg_tasks. cgroup_post_fork() then adds the same\nnode to the intended css_set as though it were unlinked, corrupting both\ntask lists and their css_set ownership.\n\nThis regresses the fork/migration race fixed by commit b12b533fa523\n(\"cgroups: add lock for child-\u003ecgroups in cgroup_post_fork()\") and\nrestored again in 2012 after the lock had been removed. The old task_lock\nprotection was later superseded by global css_set and cgroup threadgroup\nlocking. The change identified by the Fixes tag narrowed only the migration\nside back to a per-threadgroup lock, recreating the different-process\nexclusion failure.\n\nTake the new threadgroup\u0027s semaphore for reading before the child becomes\nvisible and hold it through cgroup_post_fork(). Use a nested lock subclass\nbecause fork already holds the parent\u0027s semaphore. CLONE_THREAD children\nshare the parent\u0027s signal_struct and remain covered by the existing lock.\nMigrations of unrelated, fully initialized threadgroups remain concurrent.\n\nAn AI coding assistant was used to identify and reproduce the regression\nand to develop and test this fix."
}
],
"id": "CVE-2026-99530",
"lastModified": "2026-11-19T15:18:08.767",
"metrics": {},
"published": "2026-11-19T15:18:08.767",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/13610241843ccd928d83c6d51b5e044e4faf56c8"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/bf6fbf46b5ff68c4eebad5aa52309eb124f4509c"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/d3d5560fb7550e74fb9851826d7dab505ffd05e0"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
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…