Skip to main content
Network Thinking Solutions Logo

CVE-2025-23131

Linux kernel: dlm: prevent NPD when writing a positive value to event_done

All CVEs
CVE-2025-23131Published 4/16/2025

Linux kernel: dlm: prevent NPD when writing a positive value to event_done

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: dlm: prevent NPD when writing a positive value to event_done do_uevent returns the value written to event_done. In case it is a positive value, new_lockspace would undo all the work, and lockspace would not be set. __dlm_new_lockspace, however, would treat that positive value as a success due to commit 8511a2728ab8 ("dlm: fix use count with multiple joins"). Down the line, device_create_lockspace would pass that NULL lockspace to dlm_find_lockspace_local, leading to a NULL pointer dereference. Treating such positive values as successes prevents the problem. Given this has been broken for so long, this is unlikely to break userspace expectations.

Published
4/16/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.31, < 6.14.2

Verify advisory

Source
Linux
Linux
≥ 8511a2728ab82cab398e39d019f5cf1246021c1c, < a1c41aebb184d9228a440dcb6761224e65b0e49a

Verify advisory

Source
Linux
Linux
≥ 8511a2728ab82cab398e39d019f5cf1246021c1c, < ee28d99d789b077565cbe0377374d1e826c64d93

Verify advisory

Source
Linux
Linux
≥ 8511a2728ab82cab398e39d019f5cf1246021c1c, < c7837e2c96559663c33f43da403d9cf3cf77cfa7

Verify advisory

Source
Linux
Linux
≥ 8511a2728ab82cab398e39d019f5cf1246021c1c, < 7109d69bec6edce546dc870e66bd2b668a3d5549

Verify advisory

Source
Linux
Linux
≥ 8511a2728ab82cab398e39d019f5cf1246021c1c, < 10b7a59814765d18d43555c9cef4eb3048b7e8a3

Verify advisory

Source
Linux
Linux
≥ 8511a2728ab82cab398e39d019f5cf1246021c1c, < b73c4ad4d387fe5bc988145bd9f1bc0de76afd5c

Verify advisory

Source
Linux
Linux
≥ 8511a2728ab82cab398e39d019f5cf1246021c1c, < 8e2bad543eca5c25cd02cbc63d72557934d45f13

Verify advisory

Source
Linux
Linux
2.6.31

Verify advisory

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< *

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.