# \_\_legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock

CVE record · `CVE-2025-38058`

- **Identifiers:** `CVE-2025-38058`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Jun 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 09:33 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `48a066e72d970a3e225a9c18690d570c736fc455 to before 628fb00195ce21a90cf9e4e3d105cd9e58f77b40` (git)
  - affected: `48a066e72d970a3e225a9c18690d570c736fc455 to before b89eb56a378b7b2c1176787fc228d0a57172bdd5` (git)
  - affected: `48a066e72d970a3e225a9c18690d570c736fc455 to before f6d45fd92f62845cbd1eb5128fd8f0ed7d0c5a42` (git)
  - affected: `48a066e72d970a3e225a9c18690d570c736fc455 to before 9b0915e72b3cf52474dcee0b24a2f99d93e604a3` (git)
  - affected: `48a066e72d970a3e225a9c18690d570c736fc455 to before d8ece4ced3b051e656c77180df2e69e19e24edc1` (git)
  - affected: `48a066e72d970a3e225a9c18690d570c736fc455 to before 8cafd7266fa02e0863bacbf872fe635c0b9725eb` (git)
  - affected: `48a066e72d970a3e225a9c18690d570c736fc455 to before b55996939c71a3e1a38f3cdc6a8859797efc9083` (git)
  - affected: `48a066e72d970a3e225a9c18690d570c736fc455 to before 250cf3693060a5f803c5f1ddc082bb06b16112a9` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.13`
  - unaffected: `before 3.13` (semver)
  - unaffected: `5.4.294 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.238 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.185 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.141 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.93 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.31 to 6.12.*, inclusive` (semver)
  - unaffected: `6.14.9 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 9th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 18 Jun 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-38058](https://www.cve.org/CVERecord?id=CVE-2025-38058)
- [NVD: CVE-2025-38058](https://nvd.nist.gov/vuln/detail/CVE-2025-38058)

### References from the CNA

- <https://git.kernel.org/stable/c/628fb00195ce21a90cf9e4e3d105cd9e58f77b40>
- <https://git.kernel.org/stable/c/b89eb56a378b7b2c1176787fc228d0a57172bdd5>
- <https://git.kernel.org/stable/c/f6d45fd92f62845cbd1eb5128fd8f0ed7d0c5a42>
- <https://git.kernel.org/stable/c/9b0915e72b3cf52474dcee0b24a2f99d93e604a3>
- <https://git.kernel.org/stable/c/d8ece4ced3b051e656c77180df2e69e19e24edc1>
- <https://git.kernel.org/stable/c/8cafd7266fa02e0863bacbf872fe635c0b9725eb>
- <https://git.kernel.org/stable/c/b55996939c71a3e1a38f3cdc6a8859797efc9083>
- <https://git.kernel.org/stable/c/250cf3693060a5f803c5f1ddc082bb06b16112a9>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-38058>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-38058/>. Everything for agents: <https://agentprime.io/llms.txt>.
