# CVE-2026-52930: ipc/shm: serialize orphan cleanup with shm\_nattch updates

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-06-24T07:14:22.704Z
- **Modified:** 2026-11-10T13:19:19.927Z

## Who should check

- Anyone running Linux \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< b1e9aef48e4d8a0c1b54fb913077b0824ed7d650; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 92cda2593cf2ed25b0e9d78e5e6d8303bba1a064; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 1f0d01e35dbb228084d5187212e32c91a30dcbeb; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 6560be3f6a5bb84f006f184f0c966747bb58e1a3; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< b5107b4ce3ad45fcf369ee2058c8910620f4b5a8; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< db752ebfdaf2c7f27cd9690ef48b616af068319c; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 030bbc857bd51d4b25a90d931d3f8775ef22823a; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 2e5c6f4fd4001562781e99bbfc7f1f0127187542
- Anyone running Linux 3.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

ipc/shm: serialize orphan cleanup with shm\_nattch updates

shm\_destroy\_orphaned() walks the shm idr under shm\_ids(ns).rwsem, but that
does not serialize all fields tested by shm\_may\_destroy().  In particular,
shm\_nattch is updated while holding shm\_perm.lock, and attach paths can do
that without holding the rwsem.

Do not decide that an orphaned segment is unused before taking the object
lock.  Move the shm\_may\_destroy() check under shm\_perm.lock, matching the
other destroy paths, and unlock the segment when it no longer qualifies
for removal.

## Affected and fixed versions

- Linux: \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< b1e9aef48e4d8a0c1b54fb913077b0824ed7d650; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 92cda2593cf2ed25b0e9d78e5e6d8303bba1a064; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 1f0d01e35dbb228084d5187212e32c91a30dcbeb; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 6560be3f6a5bb84f006f184f0c966747bb58e1a3; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< b5107b4ce3ad45fcf369ee2058c8910620f4b5a8; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< db752ebfdaf2c7f27cd9690ef48b616af068319c; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 030bbc857bd51d4b25a90d931d3f8775ef22823a; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 2e5c6f4fd4001562781e99bbfc7f1f0127187542 (cvelist)
- Linux: 3.1 (cvelist)

## Mitigation

- Upgrade Linux to 2e5c6f4fd4001562781e99bbfc7f1f0127187542 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-52930. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52930.md
Affected: Linux >= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, < b1e9aef48e4d8a0c1b54fb913077b0824ed7d650; >= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, < 92cda2593cf2ed25b0e9d78e5e6d8303bba1a064; >= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, < 1f0d01e35dbb228084d5187212e32c91a30dcbeb; >= 4c677e2eefdba9c5bfc4474…
Fixed in: Linux 92cda2593cf2ed25b0e9d78e5e6d8303bba1a064, Linux 1f0d01e35dbb228084d5187212e32c91a30dcbeb, Linux 6560be3f6a5bb84f006f184f0c966747bb58e1a3, Linux 030bbc857bd51d4b25a90d931d3f8775ef22823a, Linux 2e5c6f4fd4001562781e99bbfc7f1f0127187542

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-52930 being exploited?

There is no confirmed exploitation: CVE-2026-52930 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-52930?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-52930?

Linux \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< b1e9aef48e4d8a0c1b54fb913077b0824ed7d650; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 92cda2593cf2ed25b0e9d78e5e6d8303bba1a064; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 1f0d01e35dbb228084d5187212e32c91a30dcbeb; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 6560be3f6a5bb84f006f184f0c966747bb58e1a3; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< b5107b4ce3ad45fcf369ee2058c8910620f4b5a8; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< db752ebfdaf2c7f27cd9690ef48b616af068319c; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 030bbc857bd51d4b25a90d931d3f8775ef22823a; \>= 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, \< 2e5c6f4fd4001562781e99bbfc7f1f0127187542; Linux 3.1.

### Is there a fix for CVE-2026-52930?

Yes. Fixed in Linux 92cda2593cf2ed25b0e9d78e5e6d8303bba1a064, Linux 1f0d01e35dbb228084d5187212e32c91a30dcbeb, Linux 6560be3f6a5bb84f006f184f0c966747bb58e1a3, Linux 030bbc857bd51d4b25a90d931d3f8775ef22823a, Linux 2e5c6f4fd4001562781e99bbfc7f1f0127187542. Upgrade Linux to 2e5c6f4fd4001562781e99bbfc7f1f0127187542 or later.

### How do I check if I'm affected by CVE-2026-52930?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b1e9aef48e4d8a0c1b54fb913077b0824ed7d650>
- patch: <https://git.kernel.org/stable/c/92cda2593cf2ed25b0e9d78e5e6d8303bba1a064>
- patch: <https://git.kernel.org/stable/c/1f0d01e35dbb228084d5187212e32c91a30dcbeb>
- patch: <https://git.kernel.org/stable/c/6560be3f6a5bb84f006f184f0c966747bb58e1a3>
- patch: <https://git.kernel.org/stable/c/b5107b4ce3ad45fcf369ee2058c8910620f4b5a8>
- patch: <https://git.kernel.org/stable/c/db752ebfdaf2c7f27cd9690ef48b616af068319c>
- patch: <https://git.kernel.org/stable/c/030bbc857bd51d4b25a90d931d3f8775ef22823a>
- patch: <https://git.kernel.org/stable/c/2e5c6f4fd4001562781e99bbfc7f1f0127187542>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-52930>

HTML: <https://flawdb.com/CVE-2026-52930> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-52930>
