{"api_version":"1","generated_at":"2026-11-30T13:59:34+00:00","cve":"CVE-2026-99530","urls":{"html":"https://cve.report/CVE-2026-99530","api":"https://cve.report/api/cve/CVE-2026-99530.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99530","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99530"},"summary":{"title":"cgroup: serialize migrations of newly forked processes","description":"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's cgroup_threadgroup_rwsem for writing. A process fork holds\nthe forking threadgroup's semaphore for reading. These are different\nsemaphores when fork creates a new process.\n\ncopy_process() publishes the child's 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->cgroups still\npoints to init_css_set and child->cg_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->cgroups 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's 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's semaphore. CLONE_THREAD children\nshare the parent's 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-19 15:18:08","updated_at":"2026-11-19 15:18:08"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d3d5560fb7550e74fb9851826d7dab505ffd05e0","name":"https://git.kernel.org/stable/c/d3d5560fb7550e74fb9851826d7dab505ffd05e0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bf6fbf46b5ff68c4eebad5aa52309eb124f4509c","name":"https://git.kernel.org/stable/c/bf6fbf46b5ff68c4eebad5aa52309eb124f4509c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/13610241843ccd928d83c6d51b5e044e4faf56c8","name":"https://git.kernel.org/stable/c/13610241843ccd928d83c6d51b5e044e4faf56c8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99530","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99530","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0568f89d4fb82d98001baeb870e92f43cd1f7317 d3d5560fb7550e74fb9851826d7dab505ffd05e0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0568f89d4fb82d98001baeb870e92f43cd1f7317 13610241843ccd928d83c6d51b5e044e4faf56c8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0568f89d4fb82d98001baeb870e92f43cd1f7317 bf6fbf46b5ff68c4eebad5aa52309eb124f4509c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.61 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.2 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":"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"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.61","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.2","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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's cgroup_threadgroup_rwsem for writing. A process fork holds\nthe forking threadgroup's semaphore for reading. These are different\nsemaphores when fork creates a new process.\n\ncopy_process() publishes the child's 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->cgroups still\npoints to init_css_set and child->cg_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->cgroups 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's 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's semaphore. CLONE_THREAD children\nshare the parent's 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."}],"providerMetadata":{"dateUpdated":"2026-11-19T14:44:41.543Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d3d5560fb7550e74fb9851826d7dab505ffd05e0"},{"url":"https://git.kernel.org/stable/c/13610241843ccd928d83c6d51b5e044e4faf56c8"},{"url":"https://git.kernel.org/stable/c/bf6fbf46b5ff68c4eebad5aa52309eb124f4509c"}],"title":"cgroup: serialize migrations of newly forked processes","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99530","datePublished":"2026-11-19T14:44:41.543Z","dateReserved":"2026-09-25T10:25:14.420Z","dateUpdated":"2026-11-19T14:44:41.543Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-19 15:18:08","lastModifiedDate":"2026-11-19 15:18:08","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99530","Ordinal":"1","Title":"cgroup: serialize migrations of newly forked processes","CVE":"CVE-2026-99530","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99530","Ordinal":"1","NoteData":"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's cgroup_threadgroup_rwsem for writing. A process fork holds\nthe forking threadgroup's semaphore for reading. These are different\nsemaphores when fork creates a new process.\n\ncopy_process() publishes the child's 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->cgroups still\npoints to init_css_set and child->cg_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->cgroups 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's 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's semaphore. CLONE_THREAD children\nshare the parent's 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.","Type":"Description","Title":"cgroup: serialize migrations of newly forked processes"}]}}}