Security Resilience

CVE-2025-38058

Linux Kernel ≤ 5.4.294

Published
18 June 2025
Modified
15 October 2026
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0020 9th percentile
Risk Priority 55 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-38058 is a high-severity Improper Locking (CWE-667) vulnerability in Linux Kernel. Its CVSS base score is 7.8 (High).

Operationally, ranked at the 9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

In the Linux kernel, the following vulnerability has been resolved: __legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock ... or we risk stealing final mntput from sync umount - raising mnt_count after umount(2) has verified that victim is not busy,…

more

but before it has set MNT_SYNC_UMOUNT; in that case __legitimize_mnt() doesn't see that it's safe to quietly undo mnt_count increment and leaves dropping the reference to caller, where it'll be a full-blown mntput(). Check under mount_lock is needed; leaving the current one done before taking that makes no sense - it's nowhere near common enough to bother with.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-36919Same product: Linux Linux Kernel
CVE-2025-23161Same product: Linux Linux Kernel
CVE-2024-26643Same product: Linux Linux Kernel
CVE-2025-23163Same product: Linux Linux Kernel
CVE-2025-39773Same product: Linux Linux Kernel
CVE-2025-38094Same product: Linux Linux Kernel
CVE-2024-26781Same product: Linux Linux Kernel
CVE-2025-38711Same product: Linux Linux Kernel
CVE-2024-35805Same product: Linux Linux Kernel
CVE-2024-26679Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
6.15 · ≤ 5.4.294 · 5.5 — 5.10.238 · 5.11 — 5.15.185
debian
debian linux
11.0

Mitigating Controls

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect race conditions and locking errors before release.

prevents

Secure coding standards directly prohibit missing or incorrect lock usage.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-667, a class-level weakness, and none of its children carries one either.

References