{"api_version":"1","generated_at":"2026-07-01T10:09:40+00:00","cve":"CVE-2026-52930","urls":{"html":"https://cve.report/CVE-2026-52930","api":"https://cve.report/api/cve/CVE-2026-52930.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-52930","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-52930"},"summary":{"title":"ipc/shm: serialize orphan cleanup with shm_nattch updates","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipc/shm: serialize orphan cleanup with shm_nattch updates\n\nshm_destroy_orphaned() walks the shm idr under shm_ids(ns).rwsem, but that\ndoes not serialize all fields tested by shm_may_destroy().  In particular,\nshm_nattch is updated while holding shm_perm.lock, and attach paths can do\nthat without holding the rwsem.\n\nDo not decide that an orphaned segment is unused before taking the object\nlock.  Move the shm_may_destroy() check under shm_perm.lock, matching the\nother destroy paths, and unlock the segment when it no longer qualifies\nfor removal.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-06-24 08:16:23","updated_at":"2026-06-24 08:16:23"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/030bbc857bd51d4b25a90d931d3f8775ef22823a","name":"https://git.kernel.org/stable/c/030bbc857bd51d4b25a90d931d3f8775ef22823a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b1e9aef48e4d8a0c1b54fb913077b0824ed7d650","name":"https://git.kernel.org/stable/c/b1e9aef48e4d8a0c1b54fb913077b0824ed7d650","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1f0d01e35dbb228084d5187212e32c91a30dcbeb","name":"https://git.kernel.org/stable/c/1f0d01e35dbb228084d5187212e32c91a30dcbeb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6560be3f6a5bb84f006f184f0c966747bb58e1a3","name":"https://git.kernel.org/stable/c/6560be3f6a5bb84f006f184f0c966747bb58e1a3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/92cda2593cf2ed25b0e9d78e5e6d8303bba1a064","name":"https://git.kernel.org/stable/c/92cda2593cf2ed25b0e9d78e5e6d8303bba1a064","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/db752ebfdaf2c7f27cd9690ef48b616af068319c","name":"https://git.kernel.org/stable/c/db752ebfdaf2c7f27cd9690ef48b616af068319c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b5107b4ce3ad45fcf369ee2058c8910620f4b5a8","name":"https://git.kernel.org/stable/c/b5107b4ce3ad45fcf369ee2058c8910620f4b5a8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2e5c6f4fd4001562781e99bbfc7f1f0127187542","name":"https://git.kernel.org/stable/c/2e5c6f4fd4001562781e99bbfc7f1f0127187542","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-52930","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52930","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d b1e9aef48e4d8a0c1b54fb913077b0824ed7d650 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d 92cda2593cf2ed25b0e9d78e5e6d8303bba1a064 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d 1f0d01e35dbb228084d5187212e32c91a30dcbeb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d 6560be3f6a5bb84f006f184f0c966747bb58e1a3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d b5107b4ce3ad45fcf369ee2058c8910620f4b5a8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d db752ebfdaf2c7f27cd9690ef48b616af068319c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d 030bbc857bd51d4b25a90d931d3f8775ef22823a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d 2e5c6f4fd4001562781e99bbfc7f1f0127187542 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.259 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.210 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.176 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.143 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.94 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.36 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.13 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"52930","cve":"CVE-2026-52930","epss":"0.001650000","percentile":"0.060690000","score_date":"2026-06-28","updated_at":"2026-06-29 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["ipc/shm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b1e9aef48e4d8a0c1b54fb913077b0824ed7d650","status":"affected","version":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","versionType":"git"},{"lessThan":"92cda2593cf2ed25b0e9d78e5e6d8303bba1a064","status":"affected","version":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","versionType":"git"},{"lessThan":"1f0d01e35dbb228084d5187212e32c91a30dcbeb","status":"affected","version":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","versionType":"git"},{"lessThan":"6560be3f6a5bb84f006f184f0c966747bb58e1a3","status":"affected","version":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","versionType":"git"},{"lessThan":"b5107b4ce3ad45fcf369ee2058c8910620f4b5a8","status":"affected","version":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","versionType":"git"},{"lessThan":"db752ebfdaf2c7f27cd9690ef48b616af068319c","status":"affected","version":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","versionType":"git"},{"lessThan":"030bbc857bd51d4b25a90d931d3f8775ef22823a","status":"affected","version":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","versionType":"git"},{"lessThan":"2e5c6f4fd4001562781e99bbfc7f1f0127187542","status":"affected","version":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["ipc/shm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.1"},{"lessThan":"3.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.259","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.210","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.176","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.143","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.94","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.36","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.13","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.259","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.210","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.176","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.143","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.94","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.36","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.13","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"3.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipc/shm: serialize orphan cleanup with shm_nattch updates\n\nshm_destroy_orphaned() walks the shm idr under shm_ids(ns).rwsem, but that\ndoes not serialize all fields tested by shm_may_destroy().  In particular,\nshm_nattch is updated while holding shm_perm.lock, and attach paths can do\nthat without holding the rwsem.\n\nDo not decide that an orphaned segment is unused before taking the object\nlock.  Move the shm_may_destroy() check under shm_perm.lock, matching the\nother destroy paths, and unlock the segment when it no longer qualifies\nfor removal."}],"providerMetadata":{"dateUpdated":"2026-06-24T07:14:22.704Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b1e9aef48e4d8a0c1b54fb913077b0824ed7d650"},{"url":"https://git.kernel.org/stable/c/92cda2593cf2ed25b0e9d78e5e6d8303bba1a064"},{"url":"https://git.kernel.org/stable/c/1f0d01e35dbb228084d5187212e32c91a30dcbeb"},{"url":"https://git.kernel.org/stable/c/6560be3f6a5bb84f006f184f0c966747bb58e1a3"},{"url":"https://git.kernel.org/stable/c/b5107b4ce3ad45fcf369ee2058c8910620f4b5a8"},{"url":"https://git.kernel.org/stable/c/db752ebfdaf2c7f27cd9690ef48b616af068319c"},{"url":"https://git.kernel.org/stable/c/030bbc857bd51d4b25a90d931d3f8775ef22823a"},{"url":"https://git.kernel.org/stable/c/2e5c6f4fd4001562781e99bbfc7f1f0127187542"}],"title":"ipc/shm: serialize orphan cleanup with shm_nattch updates","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-52930","datePublished":"2026-06-24T07:14:22.704Z","dateReserved":"2026-06-09T07:44:35.369Z","dateUpdated":"2026-06-24T07:14:22.704Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-24 08:16:23","lastModifiedDate":"2026-06-24 08:16:23","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"52930","Ordinal":"1","Title":"ipc/shm: serialize orphan cleanup with shm_nattch updates","CVE":"CVE-2026-52930","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"52930","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nipc/shm: serialize orphan cleanup with shm_nattch updates\n\nshm_destroy_orphaned() walks the shm idr under shm_ids(ns).rwsem, but that\ndoes not serialize all fields tested by shm_may_destroy().  In particular,\nshm_nattch is updated while holding shm_perm.lock, and attach paths can do\nthat without holding the rwsem.\n\nDo not decide that an orphaned segment is unused before taking the object\nlock.  Move the shm_may_destroy() check under shm_perm.lock, matching the\nother destroy paths, and unlock the segment when it no longer qualifies\nfor removal.","Type":"Description","Title":"ipc/shm: serialize orphan cleanup with shm_nattch updates"}]}}}