{"id":"CVE-2026-52930","aliases":["CVE-2026-52930"],"related":[],"kind":"vulnerability","state":"published","title":"ipc/shm: serialize orphan cleanup with shm_nattch updates","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-06-24T07:14:22.704Z","modified":"2026-11-10T13:19:19.927Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","fixed":"b1e9aef48e4d8a0c1b54fb913077b0824ed7d650","status":"affected"},{"type":"git","introduced":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","fixed":"92cda2593cf2ed25b0e9d78e5e6d8303bba1a064","status":"affected"},{"type":"git","introduced":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","fixed":"1f0d01e35dbb228084d5187212e32c91a30dcbeb","status":"affected"},{"type":"git","introduced":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","fixed":"6560be3f6a5bb84f006f184f0c966747bb58e1a3","status":"affected"},{"type":"git","introduced":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","fixed":"b5107b4ce3ad45fcf369ee2058c8910620f4b5a8","status":"affected"},{"type":"git","introduced":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","fixed":"db752ebfdaf2c7f27cd9690ef48b616af068319c","status":"affected"},{"type":"git","introduced":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","fixed":"030bbc857bd51d4b25a90d931d3f8775ef22823a","status":"affected"},{"type":"git","introduced":"4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d","fixed":"2e5c6f4fd4001562781e99bbfc7f1f0127187542","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.1","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.94","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.36","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.13","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.1","fixed":"5.10.259"},{"status":"affected","introduced":"5.11","fixed":"5.15.210"},{"status":"affected","introduced":"5.16","fixed":"6.1.176"},{"status":"affected","introduced":"6.2","fixed":"6.6.143"},{"status":"affected","introduced":"6.7","fixed":"6.12.94"},{"status":"affected","introduced":"6.13","fixed":"6.18.36"},{"status":"affected","introduced":"6.19","fixed":"7.0.13"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b1e9aef48e4d8a0c1b54fb913077b0824ed7d650","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92cda2593cf2ed25b0e9d78e5e6d8303bba1a064","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f0d01e35dbb228084d5187212e32c91a30dcbeb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6560be3f6a5bb84f006f184f0c966747bb58e1a3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b5107b4ce3ad45fcf369ee2058c8910620f4b5a8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db752ebfdaf2c7f27cd9690ef48b616af068319c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/030bbc857bd51d4b25a90d931d3f8775ef22823a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e5c6f4fd4001562781e99bbfc7f1f0127187542","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:14:21.462Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52930","url":"https://www.cve.org/CVERecord?id=CVE-2026-52930","licence":"CVE Terms of Use","modified":"2026-11-10T12:47:43.454Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52930","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52930","licence":"Public domain","modified":"2026-11-10T13:19:19.927Z"}],"updatedAt":"2026-11-25T22:59:25.586Z","epss":{"score":0.00164,"percentile":0.05847,"date":"2026-12-01T12:00:22.000Z"}}