# dm: fix NULL pointer dereference in \_\_dm_suspend()

CVE record · `CVE-2025-40134`

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

Published by the CVE Program (CNA: Linux) at 12 Nov 2025, 10:23 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: `c4576aed8d85d808cd6443bda58393d525207d01 to before 9dc43ea6a20ff83fe9a5fe4be47ae0fbf2409b98` (git)
  - affected: `c4576aed8d85d808cd6443bda58393d525207d01 to before 30f95b7eda5966b81cb221bd569c0f095a068cf6` (git)
  - affected: `c4576aed8d85d808cd6443bda58393d525207d01 to before a0e54bd8d7ea79127fe9920df3ae36f85e79ac7c` (git)
  - affected: `c4576aed8d85d808cd6443bda58393d525207d01 to before a802901b75e13cc306f1b7ab0f062135c8034e9e` (git)
  - affected: `c4576aed8d85d808cd6443bda58393d525207d01 to before 846cafc4725ca727d94f9c4b5f789c1a7c8fb6fe` (git)
  - affected: `c4576aed8d85d808cd6443bda58393d525207d01 to before 19ca4528666990be376ac3eb6fe667b03db5324d` (git)
  - affected: `c4576aed8d85d808cd6443bda58393d525207d01 to before 331c2dd8ca8bad1a3ac10cce847ffb76158eece4` (git)
  - affected: `c4576aed8d85d808cd6443bda58393d525207d01 to before 8d33a030c566e1f105cd5bf27f37940b6367f3be` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.0`
  - unaffected: `before 5.0` (semver)
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.195 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.156 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.112 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.53 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.3 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 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 version 5.0 until fixed. A race between suspending a dm device and loading its table can cause a NULL pointer dereference and kernel crash. Upgrade to Linux 5.4.301 or later in the 5.4 series, 5.10.246 or later, 5.15.195 or later, 6.1.156 or later, or any later release.

Written 17 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 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 12 Nov 2025, 10:23 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-40134)
- 12 Nov 2025, 11:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-40134)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/9dc43ea6a20ff83fe9a5fe4be47ae0fbf2409b98>
- <https://git.kernel.org/stable/c/30f95b7eda5966b81cb221bd569c0f095a068cf6>
- <https://git.kernel.org/stable/c/a0e54bd8d7ea79127fe9920df3ae36f85e79ac7c>
- <https://git.kernel.org/stable/c/a802901b75e13cc306f1b7ab0f062135c8034e9e>
- <https://git.kernel.org/stable/c/846cafc4725ca727d94f9c4b5f789c1a7c8fb6fe>
- <https://git.kernel.org/stable/c/19ca4528666990be376ac3eb6fe667b03db5324d>
- <https://git.kernel.org/stable/c/331c2dd8ca8bad1a3ac10cce847ffb76158eece4>
- <https://git.kernel.org/stable/c/8d33a030c566e1f105cd5bf27f37940b6367f3be>

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

---

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