# mm/huge_memory: fix dereferencing invalid pmd migration entry

CVE record · `CVE-2025-37958`

- **Identifiers:** `CVE-2025-37958`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 20 May 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 20 May 2025, 16:01 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: `84c3fc4e9c563d8fb91cfdf5948da48fe1af34d3 to before 753f142f7ff7d2223a47105b61e1efd91587d711` (git)
  - affected: `84c3fc4e9c563d8fb91cfdf5948da48fe1af34d3 to before 9468afbda3fbfcec21ac8132364dff3dab945faf` (git)
  - affected: `84c3fc4e9c563d8fb91cfdf5948da48fe1af34d3 to before ef5706bed97e240b4abf4233ceb03da7336bc775` (git)
  - affected: `84c3fc4e9c563d8fb91cfdf5948da48fe1af34d3 to before 22f6368768340260e862f35151d2e1c55cb1dc75` (git)
  - affected: `84c3fc4e9c563d8fb91cfdf5948da48fe1af34d3 to before 3977946f61cdba87b6b5aaf7d7094e96089583a5` (git)
  - affected: `84c3fc4e9c563d8fb91cfdf5948da48fe1af34d3 to before 6166c3cf405441f7147b322980144feb3cefc617` (git)
  - affected: `84c3fc4e9c563d8fb91cfdf5948da48fe1af34d3 to before fbab262b0c8226c697af1851a424896ed47dedcc` (git)
  - affected: `84c3fc4e9c563d8fb91cfdf5948da48fe1af34d3 to before be6e843fc51a584672dfd9c4a6a24c8cb81d5fb7` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.14`
  - unaffected: `before 4.14` (semver)
  - unaffected: `5.4.295 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.239 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.186 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.142 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.95 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.29 to 6.12.*, inclusive` (semver)
  - unaffected: `6.14.7 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

No source has published a CVSS score for this record yet.

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

## Timeline

- 20 May 2025, 16:01 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-37958)
- 20 May 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-37958)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/753f142f7ff7d2223a47105b61e1efd91587d711>
- <https://git.kernel.org/stable/c/9468afbda3fbfcec21ac8132364dff3dab945faf>
- <https://git.kernel.org/stable/c/ef5706bed97e240b4abf4233ceb03da7336bc775>
- <https://git.kernel.org/stable/c/22f6368768340260e862f35151d2e1c55cb1dc75>
- <https://git.kernel.org/stable/c/3977946f61cdba87b6b5aaf7d7094e96089583a5>
- <https://git.kernel.org/stable/c/6166c3cf405441f7147b322980144feb3cefc617>
- <https://git.kernel.org/stable/c/fbab262b0c8226c697af1851a424896ed47dedcc>
- <https://git.kernel.org/stable/c/be6e843fc51a584672dfd9c4a6a24c8cb81d5fb7>

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-37958>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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