# libnvdimm/labels: Fix divide error in nd_label_data_init()

CVE record · `CVE-2025-38072`

- **Identifiers:** `CVE-2025-38072`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Jun 2025
- **Updated:** 5 Nov 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: `7d47aad4570e5e6e9a8162bb417ca9b74132f27c to before 2bd4a938d2eda96ab7288b8fa5aae84a1de8c4ca` (git)
  - affected: `7d47aad4570e5e6e9a8162bb417ca9b74132f27c to before 396c46d3f59a18ebcc500640e749f16e197d472b` (git)
  - affected: `7d47aad4570e5e6e9a8162bb417ca9b74132f27c to before f49c337037df029440a8390380dd35d2cf5924d3` (git)
  - affected: `7d47aad4570e5e6e9a8162bb417ca9b74132f27c to before db1aef51b8e66a77f76b1250b914589c31a0a0ed` (git)
  - affected: `7d47aad4570e5e6e9a8162bb417ca9b74132f27c to before ea3d95e05e97ea20fd6513f647393add16fce3b2` (git)
  - affected: `7d47aad4570e5e6e9a8162bb417ca9b74132f27c to before 1d1e1efad1cf049e888bf175a5c6be85d792620c` (git)
  - affected: `7d47aad4570e5e6e9a8162bb417ca9b74132f27c to before e14347f647ca6d76fe1509b6703e340f2d5e2716` (git)
  - affected: `7d47aad4570e5e6e9a8162bb417ca9b74132f27c to before ef1d3455bbc1922f94a91ed58d3d7db440652959` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.20`
  - unaffected: `before 4.20` (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

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's libnvdimm driver is affected from 4.20 until the fixes listed by the source. A faulty CXL memory device reporting a zero label storage size can trigger a divide-by-zero in nd_label_data_init(), causing a kernel crash. The source does not describe an attacker-controlled trigger. Upgrade to 5.4.294, 5.10.238, 5.15.185, 6.1.141, or a later release in those series.

Written 16 Nov 2026.

## 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 14th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 18 Jun 2025, 09:33 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38072)
- 18 Jun 2025, 10:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38072)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/2bd4a938d2eda96ab7288b8fa5aae84a1de8c4ca>
- <https://git.kernel.org/stable/c/396c46d3f59a18ebcc500640e749f16e197d472b>
- <https://git.kernel.org/stable/c/f49c337037df029440a8390380dd35d2cf5924d3>
- <https://git.kernel.org/stable/c/db1aef51b8e66a77f76b1250b914589c31a0a0ed>
- <https://git.kernel.org/stable/c/ea3d95e05e97ea20fd6513f647393add16fce3b2>
- <https://git.kernel.org/stable/c/1d1e1efad1cf049e888bf175a5c6be85d792620c>
- <https://git.kernel.org/stable/c/e14347f647ca6d76fe1509b6703e340f2d5e2716>
- <https://git.kernel.org/stable/c/ef1d3455bbc1922f94a91ed58d3d7db440652959>

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

---

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