# dlm: prevent NPD when writing a positive value to event_done

CVE record · `CVE-2025-23131`

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

Published by the CVE Program (CNA: Linux) at 16 Apr 2025, 14:13 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: `8511a2728ab82cab398e39d019f5cf1246021c1c to before a1c41aebb184d9228a440dcb6761224e65b0e49a` (git)
  - affected: `8511a2728ab82cab398e39d019f5cf1246021c1c to before ee28d99d789b077565cbe0377374d1e826c64d93` (git)
  - affected: `8511a2728ab82cab398e39d019f5cf1246021c1c to before c7837e2c96559663c33f43da403d9cf3cf77cfa7` (git)
  - affected: `8511a2728ab82cab398e39d019f5cf1246021c1c to before 7109d69bec6edce546dc870e66bd2b668a3d5549` (git)
  - affected: `8511a2728ab82cab398e39d019f5cf1246021c1c to before 10b7a59814765d18d43555c9cef4eb3048b7e8a3` (git)
  - affected: `8511a2728ab82cab398e39d019f5cf1246021c1c to before b73c4ad4d387fe5bc988145bd9f1bc0de76afd5c` (git)
  - affected: `8511a2728ab82cab398e39d019f5cf1246021c1c to before 8e2bad543eca5c25cd02cbc63d72557934d45f13` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.31`
  - unaffected: `before 2.6.31` (semver)
  - unaffected: `5.10.260 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.211 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.177 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.144 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.95 to 6.12.*, inclusive` (semver)
  - unaffected: `6.14.2 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 dlm code is affected from commit 8511a2728ab8 until the fixing commits, including version 2.6.31. Writing a positive value to event_done can cause a NULL pointer dereference when a lockspace is created. Upgrade to 5.10.260, 5.15.211, 6.1.177, or 6.6.144 or later in the matching series. The source does not say who can trigger this.

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

## Timeline

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

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/a1c41aebb184d9228a440dcb6761224e65b0e49a>
- <https://git.kernel.org/stable/c/ee28d99d789b077565cbe0377374d1e826c64d93>
- <https://git.kernel.org/stable/c/c7837e2c96559663c33f43da403d9cf3cf77cfa7>
- <https://git.kernel.org/stable/c/7109d69bec6edce546dc870e66bd2b668a3d5549>
- <https://git.kernel.org/stable/c/10b7a59814765d18d43555c9cef4eb3048b7e8a3>
- <https://git.kernel.org/stable/c/b73c4ad4d387fe5bc988145bd9f1bc0de76afd5c>
- <https://git.kernel.org/stable/c/8e2bad543eca5c25cd02cbc63d72557934d45f13>

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

---

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