CVE-2026-52930

ipc/shm: serialize orphan cleanup with shm_nattch updates

No CVSS score yet EPSS 0.16%

Published 24 Jun 2026 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2026-52930

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-52930 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.85% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, before b1e9aef48e4d8a0c1b54fb913077b0824ed7d650
affected from 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, before 92cda2593cf2ed25b0e9d78e5e6d8303bba1a064
affected from 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, before 1f0d01e35dbb228084d5187212e32c91a30dcbeb
affected from 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, before 6560be3f6a5bb84f006f184f0c966747bb58e1a3
affected from 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, before b5107b4ce3ad45fcf369ee2058c8910620f4b5a8
affected from 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, before db752ebfdaf2c7f27cd9690ef48b616af068319c
affected from 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, before 030bbc857bd51d4b25a90d931d3f8775ef22823a
affected from 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d, before 2e5c6f4fd4001562781e99bbfc7f1f0127187542
Other versions: unaffected
Linux
affected 3.1
unaffected before 3.1
unaffected from 5.10.259 up to and including 5.10.*
unaffected from 5.15.210 up to and including 5.15.*
unaffected from 6.1.176 up to and including 6.1.*
unaffected from 6.6.143 up to and including 6.6.*
unaffected from 6.12.94 up to and including 6.12.*
unaffected from 6.18.36 up to and including 6.18.*
unaffected from 7.0.13 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-52930 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-52930

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-52930
trivy image --scanners vuln IMAGE | grep CVE-2026-52930

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-52930 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.