
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability in the Linux kernel's cxl/region component was discovered that could lead to a NULL pointer dereference. The issue occurs when an intermediate port's decoders have been exhausted by existing regions, and creating a new region with the port in question in its hierarchical path is attempted. The vulnerability affects Linux kernel versions from 6.0 up to (excluding) 6.0.8, and versions 6.1-rc1, 6.1-rc2, and 6.1-rc3 (NVD).
The vulnerability occurs when cxl_port_attach_region() fails to find a port decoder and drops into the failure/cleanup path. During cleanup of the region reference, a sanity check attempts to dereference the decoder, which doesn't exist, causing a NULL pointer dereference BUG. The issue has been assigned a CVSS v3.1 Base Score of 5.5 (MEDIUM) with the vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The vulnerability results in a NULL pointer dereference which can cause a system crash, leading to a denial of service condition. The impact is limited to availability with no direct effects on confidentiality or integrity (Wiz).
The vulnerability requires local access with low privileges to exploit. No public exploits have been identified, and there are no reports of this vulnerability being exploited in the wild (Wiz).
The fix involves refactoring the decoder allocation and de-allocation into helper routines, and in the 'free' routine, adding a check to verify that the decoder (@cxld) is valid before attempting any operations on it. Users should update to Linux kernel version 6.0.8 or later, or apply the available patches (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."