CVE-2025-40089: cxl/features: Add check for no entries in cxl_feature_info
In the Linux kernel, the following vulnerability has been resolved:
cxl/features: Add check for no entries in cxl_feature_info
cxl EDAC calls cxl_feature_info() to get the feature information and
if the hardware has no Features support, cxlfs may be passed in as
NULL.
[ 51.957498] BUG: kernel NULL pointer dereference, address: 0000000000000008
[ 51.965571] #PF: supervisor read access in kernel mode
[ 51.971559] #PF: error_code(0x0000) - not-present page
[ 51.977542] PGD 17e4f6067 P4D 0
[ 51.981384] Oops: Oops: 0000 [#1] SMP NOPTI
[ 51.986300] CPU: 49 UID: 0 PID: 3782 Comm: systemd-udevd Not tainted 6.17.0dj
test+ #64 PREEMPT(voluntary)
[ 51.997355] Hardware name: <removed>
[ 52.009790] RIP: 0010:cxl_feature_info+0xa/0x80 [cxl_core]
Add a check for cxlfs before dereferencing it and return -EOPNOTSUPP if
there is no cxlfs created due to no hardware support.
Security readout for executives and security teams
Plain-English summary
This Linux kernel issue can crash kernel code when CXL EDAC asks for CXL feature information on hardware that reports no Features support. The documented failure is a NULL pointer dereference. Evidence points to availability risk on specific CXL-capable systems, not remote compromise or data theft.
Executive priority
Treat this as a targeted reliability issue. Patch CXL-capable Linux infrastructure during the next normal maintenance window unless affected systems are already crashing or support critical workloads.
Technical view
cxl_feature_info() dereferenced cxlfs without checking whether it existed. When no CXL Features support created no cxlfs object, cxl EDAC could pass NULL and trigger a supervisor-mode NULL pointer dereference. The kernel fix adds a NULL check and returns -EOPNOTSUPP.
Likely exposure
Linux systems running affected kernel versions with CXL support and hardware paths that lack CXL Features support are the likely exposure. The bundle lists Linux 6.15 through 6.17.5/6.18-related affected data, but exact distribution package impact must be checked with vendors.
Exploitation context
The source bundle shows a kernel Oops during systemd-udevd activity and states KEV is false. No cited source reports active exploitation, remote attackability, privilege escalation, or public exploit details.
Researcher notes
The evidence supports a NULL dereference availability bug in the CXL feature path. Affected-version semantics in the bundle are limited, and no CVSS, CWE, exploitability analysis, or distro-specific package mapping is provided.
Mitigation direction
Apply kernel updates containing the referenced stable fixes.
Check Linux distribution advisories for backported package versions.
Prioritize hosts using CXL hardware or CXL EDAC paths.
If unpatched, review vendor guidance for temporary operational workarounds.
Validation and detection
Inventory Linux kernel versions on CXL-capable systems.
Confirm whether CXL and EDAC components are enabled or loaded.
Check vendor changelogs for CVE-2025-40089 or the stable commit IDs.
Review kernel logs for cxl_feature_info NULL dereference Oops traces.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-40089 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
3Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Oct 30, 2025, 09:47 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.