All vulnerabilities

Servers and applications

CVE-2026-52930

ipc/shm: serialize orphan cleanup with shm_nattch updates

Severity
Unrated
Published
24 Jun 2026
Last changed
10 Nov 2026
Added to UpHeron
6 Nov 2026
Fixed in
5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 19 Nov 2026
Sources
CVE Program

Description

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

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.

From the CVE Program.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.0.13
  • From 6.13 before 6.18.36
  • From 6.7 before 6.12.94
  • From 6.2 before 6.6.143
All 7 release lines
  • From 3.1 before 5.10.259
  • From 5.11 before 5.15.210
  • From 5.16 before 6.1.176
  • From 6.2 before 6.6.143
  • From 6.7 before 6.12.94
  • From 6.13 before 6.18.36
  • From 6.19 before 7.0.13

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-52930