CVE-2025-38058

Kernel crash via unlocked mount-reference check

Published Jun 18, 2025 · Updated Aug 5, 2026

Improper locking in the Linux kernel allows local users to crash the system by racing path lookup against synchronous unmount operations. In __legitimize_mnt(), MNT_SYNC_UMOUNT is checked before mount_lock is acquired, so a reference increment can occur after umount verifies the mount is idle and later become the final mntput. Low-privileged local access and winning the race are required; affected Siemens controllers expose the flaw through the additional GNU/Linux subsystem.

CVSS severity5.5
Medium
EPSS probability0.15%
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

Improper locking in the Linux kernel allows local users to crash the system by racing path lookup against synchronous unmount operations. In __legitimize_mnt(), MNT_SYNC_UMOUNT is checked before mount_lock is acquired, so a reference increment can occur after umount verifies the mount is idle and later become the final mntput. Low-privileged local access and winning the race are required; affected Siemens controllers expose the flaw through the additional GNU/Linux subsystem.

The record

CVE
CVE-2025-38058
Published
Jun 18, 2025
Updated
Aug 5, 2026
Vendor
Siemens
Product
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classifications
CWE-667, T1499.004
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jun 18, 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.13; version=48a066e72d970a3e225a9c18690d570c736fc455 <250cf3693060a5f803c5f1ddc082bb06b16112a9; version=48a066e72d970a3e225a9c18690d570c736fc455 <628fb00195ce21a90cf9e4e3d105cd9e58f77b40; version=48a066e72d970a3e225a9c18690d570c736fc455 <8cafd7266fa02e0863bacbf872fe635c0b9725eb; version=48a066e72d970a3e225a9c18690d570c736fc455 <9b0915e72b3cf52474dcee0b24a2f99d93e604a3; version=48a066e72d970a3e225a9c18690d570c736fc455 <b55996939c71a3e1a38f3cdc6a8859797efc9083; version=48a066e72d970a3e225a9c18690d570c736fc455 <b89eb56a378b7b2c1176787fc228d0a57172bdd5; version=48a066e72d970a3e225a9c18690d570c736fc455 <d8ece4ced3b051e656c77180df2e69e19e24edc1; version=48a066e72d970a3e225a9c18690d570c736fc455 <f6d45fd92f62845cbd1eb5128fd8f0ed7d0c5a42
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

5.5Siemens ProductCERTCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
7.0Amazon LinuxCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
5.5UbuntuCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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

CWE-667Improper Locking
T1499.004Application or System Exploitation

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