# dm: limit swapping tables for devices with zone write plugs

CVE record · `CVE-2025-38140`

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

Published by the CVE Program (CNA: Linux) at 3 Jul 2025, 08:35 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: `bb37d77239af25cde59693dbe3fac04dd17d7b29 to before 13c0425c99c67c2296f1eec61254a4f91484eac3` (git)
  - affected: `bb37d77239af25cde59693dbe3fac04dd17d7b29 to before ac8acb0bfd98a1c65f3ca9a3e217a766124eebd8` (git)
  - affected: `bb37d77239af25cde59693dbe3fac04dd17d7b29 to before 121218bef4c1df165181f5cd8fc3a2246bac817e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.14`
  - unaffected: `before 5.14` (semver)
  - unaffected: `6.12.114 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.3 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 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 device-mapper (dm) code is affected from 5.14 until fixed in 6.12.114, 6.15.3 and 6.16. Reloading a table that changes the zoned settings of a device with zone write plug resources can cause invalid memory reads and errors. The source gives few details on what access an attacker needs; upgrade to a fixed kernel version.

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

## Timeline

- 3 Jul 2025, 08:35 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38140)
- 3 Jul 2025, 09:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38140)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/13c0425c99c67c2296f1eec61254a4f91484eac3>
- <https://git.kernel.org/stable/c/ac8acb0bfd98a1c65f3ca9a3e217a766124eebd8>
- <https://git.kernel.org/stable/c/121218bef4c1df165181f5cd8fc3a2246bac817e>

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

---

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