CVE-2026-52930
ipc/shm: serialize orphan cleanup with shm_nattch updates
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| Linux Linux |
≥ 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d; < b1e9aef48e4d8a0c1b54fb913077b0824ed7d650 (affected, git) ≥ 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d; < 92cda2593cf2ed25b0e9d78e5e6d8303bba1a064 (affected, git) ≥ 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d; < 1f0d01e35dbb228084d5187212e32c91a30dcbeb (affected, git) ≥ 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d; < 6560be3f6a5bb84f006f184f0c966747bb58e1a3 (affected, git) ≥ 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d; < b5107b4ce3ad45fcf369ee2058c8910620f4b5a8 (affected, git) ≥ 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d; < db752ebfdaf2c7f27cd9690ef48b616af068319c (affected, git) ≥ 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d; < 030bbc857bd51d4b25a90d931d3f8775ef22823a (affected, git) ≥ 4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d; < 2e5c6f4fd4001562781e99bbfc7f1f0127187542 (affected, git) Other versions: unaffected |
CNA: Linux |
| Linux Linux |
3.1 (affected) ≥ 0; < 3.1 (unaffected, semver) ≥ 5.10.259; ≤ 5.10.* (unaffected, semver) ≥ 5.15.210; ≤ 5.15.* (unaffected, semver) ≥ 6.1.176; ≤ 6.1.* (unaffected, semver) ≥ 6.6.143; ≤ 6.6.* (unaffected, semver) ≥ 6.12.94; ≤ 6.12.* (unaffected, semver) ≥ 6.18.36; ≤ 6.18.* (unaffected, semver) ≥ 7.0.13; ≤ 7.0.* (unaffected, semver) ≥ 7.1; ≤ * (unaffected, original_commit_for_fix) Other versions: affected |
CNA: Linux |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) Siemens |
≥ V3.1.6; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) Siemens |
≥ V3.1.7; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) Siemens |
≥ V3.1.6; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) Siemens |
≥ V3.1.7; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) Siemens |
≥ V3.1.6; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) Siemens |
≥ V3.1.7; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) Siemens |
≥ V3.1.6; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) Siemens |
≥ V3.1.7; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Siemens |
≥ 0; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) Siemens |
≥ V3.1.6; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) Siemens |
≥ V3.1.7; < * (affected, custom)
Other versions: unknown |
ADP: siemens-SADP |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
NVD applicability configurations (1)
These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.
[
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.259",
"versionStartIncluding": "3.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.210",
"versionStartIncluding": "5.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.176",
"versionStartIncluding": "5.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.143",
"versionStartIncluding": "6.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.94",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.36",
"versionStartIncluding": "6.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0.13",
"versionStartIncluding": "6.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
]CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.5 medium |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://git.kernel.org/stable/c/b1e9aef48e4d8a0c1b54fb913077b0824ed7d650CNA: Linux
- https://git.kernel.org/stable/c/92cda2593cf2ed25b0e9d78e5e6d8303bba1a064CNA: Linux
- https://git.kernel.org/stable/c/1f0d01e35dbb228084d5187212e32c91a30dcbebCNA: Linux
- https://git.kernel.org/stable/c/6560be3f6a5bb84f006f184f0c966747bb58e1a3CNA: Linux
- https://git.kernel.org/stable/c/b5107b4ce3ad45fcf369ee2058c8910620f4b5a8CNA: Linux
- https://git.kernel.org/stable/c/db752ebfdaf2c7f27cd9690ef48b616af068319cCNA: Linux
- https://git.kernel.org/stable/c/030bbc857bd51d4b25a90d931d3f8775ef22823aCNA: Linux
- https://git.kernel.org/stable/c/2e5c6f4fd4001562781e99bbfc7f1f0127187542CNA: Linux
- https://cert-portal.siemens.com/productcert/html/ssa-019113.htmlADP: siemens-SADP
- https://cert-portal.siemens.com/productcert/html/ssa-457936.htmlADP: siemens-SADP
- https://cert-portal.siemens.com/productcert/html/ssa-784472.htmlADP: siemens-SADP
- https://git.kernel.org/stable/c/030bbc857bd51d4b25a90d931d3f8775ef22823a416baaa9-dc9f-4396-8d5f-8c081fb06d67 · Patch
- https://git.kernel.org/stable/c/1f0d01e35dbb228084d5187212e32c91a30dcbeb416baaa9-dc9f-4396-8d5f-8c081fb06d67 · Patch
- https://git.kernel.org/stable/c/2e5c6f4fd4001562781e99bbfc7f1f0127187542416baaa9-dc9f-4396-8d5f-8c081fb06d67 · Patch
- https://git.kernel.org/stable/c/6560be3f6a5bb84f006f184f0c966747bb58e1a3416baaa9-dc9f-4396-8d5f-8c081fb06d67 · Patch
- https://git.kernel.org/stable/c/92cda2593cf2ed25b0e9d78e5e6d8303bba1a064416baaa9-dc9f-4396-8d5f-8c081fb06d67 · Patch
- https://git.kernel.org/stable/c/b1e9aef48e4d8a0c1b54fb913077b0824ed7d650416baaa9-dc9f-4396-8d5f-8c081fb06d67 · Patch
- https://git.kernel.org/stable/c/b5107b4ce3ad45fcf369ee2058c8910620f4b5a8416baaa9-dc9f-4396-8d5f-8c081fb06d67 · Patch
- https://git.kernel.org/stable/c/db752ebfdaf2c7f27cd9690ef48b616af068319c416baaa9-dc9f-4396-8d5f-8c081fb06d67 · Patch
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.