CVE-2025-38212

Local privilege escalation via unprotected IPCS iteration

Published Jul 4, 2025 · Updated Aug 5, 2026

Use-after-free in the Linux kernel allows local users to escalate privileges through SysV shared-memory namespace teardown. shm_destroy_orphaned() calls idr_for_each() without an RCU read-side critical section, so a deferred radix-tree-node free can complete before the iterator reads the next slot. An unprivileged user can trigger the race inside newly created user and IPC namespaces, yielding kernel-memory disclosure, write and arbitrary-free primitives, or a kernel panic.

CVSS severity7.8
High
EPSS probability0.16%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in the Linux kernel allows local users to escalate privileges through SysV shared-memory namespace teardown. shm_destroy_orphaned() calls idr_for_each() without an RCU read-side critical section, so a deferred radix-tree-node free can complete before the iterator reads the next slot. An unprivileged user can trigger the race inside newly created user and IPC namespaces, yielding kernel-memory disclosure, write and arbitrary-free primitives, or a kernel panic.

The record

CVE
CVE-2025-38212
Published
Jul 4, 2025
Updated
Aug 5, 2026
Vendor
Siemens
Product
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classifications
T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jul 4, 2025CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=V3.1.5 <*

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

Siemens · SIPLUS S7-1500 CPU 1518-4 PN/DP MFPversion=V3.1.5 <*
The Linux Kernel Organization · Linuxversion=3.1; version=b34a6b1da371ed8af1221459a18c67970f7e3d53 <5180561afff8e0f029073c8c8117c95c6512d1f9; version=b34a6b1da371ed8af1221459a18c67970f7e3d53 <5f1e1573bf103303944fd7225559de5d8297539c; version=b34a6b1da371ed8af1221459a18c67970f7e3d53 <68c173ea138b66d7dd1fd980c9bc578a18e11884; version=b34a6b1da371ed8af1221459a18c67970f7e3d53 <74bc813d11c30e28fc5261dc877cca662ccfac68; version=b34a6b1da371ed8af1221459a18c67970f7e3d53 <78297d53d3878d43c1d627d20cd09f611fa4b91d; version=b34a6b1da371ed8af1221459a18c67970f7e3d53 <b0b6bf90ce2699a574b3683e22c44d0dcdd7a057; version=b34a6b1da371ed8af1221459a18c67970f7e3d53 <b968ba8bfd9f90914957bbbd815413bf6a98eca7; version=b34a6b1da371ed8af1221459a18c67970f7e3d53 <d66adabe91803ef34a8b90613c81267b5ded1472
Siemens · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPversion=V3.1.5 <*
Siemens · SIMATIC S7-1500 CPU 1518-4 PN/DP MFPversion=V3.1.5 <*

Published CVSS scores

7.8Linux kernel CVE teamCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo