CVE-2024-41085
Linux Kernel vulnerability analysis and mitigation

Overview

A NULL pointer dereference vulnerability was discovered in the Linux kernel's CXL (Compute Express Link) subsystem, specifically in the pmem region auto-assembling functionality. The vulnerability, tracked as CVE-2024-41085, affects Linux kernel versions from 6.2 up to (excluding) 6.9.8. When the CXL subsystem attempts to auto-assemble a pmem region during cxl endpoint port probing, it encounters a NULL pointer dereference, leading to a kernel crash (NVD, Kernel Patch).

Technical details

The vulnerability occurs because the cxlnvd (CXL NVDIMM device) is not available during the pmem region probe. The issue stems from a timing problem where the cxlnvd is registered after the endpoint port probe, but the endpoint probe can trigger a pmem region probe that requires the not-yet-available cxl_nvd. This results in a NULL pointer dereference at address 0x78 during supervisor read access in kernel mode. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability causes a kernel crash due to the NULL pointer dereference, resulting in a denial of service condition. The impact is limited to availability, with no direct impact on confidentiality or integrity of the system (NVD).

Mitigation and workarounds

The vulnerability has been fixed by adjusting the sequence of operations to ensure the cxlnvd dependency is met before the pmem region probe occurs. The fix involves adding a port parameter to cxlfindnvdimmbridge() that can query the ancestor root port. The patch has been merged into the Linux kernel and is available in updated kernel versions. Users should update their systems to a patched kernel version (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-rt-64k
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-modules-extra
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-devel-matched
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoNoDec 04, 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