boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2025-38058MEDIUM
Linux Linux — __legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  N  N  H    5.5   .0014    4.2     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    48a066e72d970a3e225a9c18690d570c736fc455 –  —
  Linux    3.13 –                                      5.4.294
TIMELINE
  Apr 16  Reserved by Linux
  Jun 18  Published (CNA: Linux)
  Jul 30  RESCORED — CVE-2025-38058 (Linux). CVSS 7.8 → 5.5 (NVD).
CWE-667 · CNA: Linux · CVSS v3.1 · 11 references · NVD status: Modified

Description

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, 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.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
April 16, 2025ReservedReserved by Linux
June 18, 2025PublishedPublished (CNA: Linux)
July 30, 2026RESCOREDRESCORED — CVE-2025-38058 (Linux). CVSS 7.8 → 5.5 (NVD).

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinux48a066e72d970a3e225a9c18690d570c736fc455
LinuxLinux3.135.4.294

Weaknesses

CWE-667

References (11)

Related

Authoritative record: CVE-2025-38058 at cve.org

Vendors: linux

Weaknesses: CWE-667

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2025-38058 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.