CVE-2025-40144
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2025-40144 was identified in the Linux kernel, specifically affecting the nvdimm subsystem. The vulnerability was discovered and initially reported on November 12, 2025. The issue involves a potential NULL pointer dereference in the ndtest_probe() function when allocating DMA address arrays under low-memory conditions (NVD Database). However, this CVE was later rejected by the kernel.org CVE Numbering Authority on November 21, 2025.

Technical details

The vulnerability stems from the ndtestprobe() function's handling of three DMA address arrays (dcrdma, labeldma, dimmdma). The function unconditionally uses these arrays in ndtestnvdimminit() without properly checking if devm_kcalloc() allocation succeeds, which could lead to a NULL pointer dereference under low-memory conditions. The CVSS score was reported as 5.0 with vector (AV:L/AC:L/Au:S/C:N/I:N/A:C) (Rapid7 Database).

Impact

Under low-memory conditions, the vulnerability could potentially lead to a NULL pointer dereference in the Linux kernel's nvdimm subsystem, specifically affecting the ndtest functionality (NVD Database).

Mitigation and workarounds

The proposed fix involves checking all three allocations and returning -ENOMEM if any allocation fails, implementing a common error path. The fix also removes redundant error messages since the allocator already provides warnings on allocation failures (NVD Database).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61729HIGH7.5
  • DockerDocker
  • golang-1.19
NoYesDec 02, 2025
CVE-2025-66293HIGH7.1
  • OpenJDK JDKOpenJDK JDK
  • java-25-openjdk-javadoc
NoNoDec 03, 2025
CVE-2025-39665MEDIUM6.9
  • Linux DebianLinux Debian
  • nagvis
NoNoDec 03, 2025
CVE-2025-61727MEDIUM6.5
  • DockerDocker
  • docker
NoYesDec 03, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management