CVE-2025-40089: cxl/features: Add check for no entries in cxl_feature_info

Published Oct 30, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

cxl/features: Add check for no entries in cxlfeatureinfo

cxl EDAC calls cxlfeatureinfo() 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: errorcode(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:cxlfeatureinfo+0xa/0x80 [cxlcore]

Add a check for cxlfs before dereferencing it and return -EOPNOTSUPP if there is no cxlfs created due to no hardware support.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In cxl_feature_info(), check whether cxlfs has no entries before dereferencing it, and return -EOPNOTSUPP when the hardware has no Features support and no cxlfs is created.

Event History

Oct 30, 2025
CVE Published
via MITRE·09:47 AM
Data Sourced
via MITRE·09:47 AM
Description
Data Sourced
via NVD·10:15 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-40089?

CVE-2025-40089 has been classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-40089?

To fix CVE-2025-40089, update the Linux kernel to the latest version where the vulnerability has been patched.

3

Which software is affected by CVE-2025-40089?

CVE-2025-40089 affects the Linux kernel, specifically related to the handling of cxl features.

4

What does CVE-2025-40089 affect in the Linux kernel?

CVE-2025-40089 affects the cxl_feature_info function which may receive NULL when no feature support is present on hardware.

5

Is there a workaround for CVE-2025-40089?

Currently, there are no known workarounds for CVE-2025-40089; updating the kernel is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203