CVE-2026-52930
MediumCVSS 5.5Exploitation Probability (EPSS)
Low risk6th percentile — higher than 6% of all known CVEs
Summary
In the Linux kernel, a vulnerability was found in the IPC SHM subsystem where shm_destroy_orphaned() does not properly synchronize access to the shm_nattch field. Missing locking can lead to a race condition when cleaning up unused shared memory segments.
Risk Assessment
A local attacker could exploit this flaw to cause unexpected system behavior, potentially leading to a kernel panic or privilege escalation by manipulating shared memory segments.
Recommendation
Immediately update the Linux kernel to a version containing the fix (commit resolving the issue). For production systems, apply the security patch after testing.
Original NVD description (English source)
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.

