CVE-2022-49895
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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).

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-2026-68480NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 06, 2026
CVE-2026-64582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesAug 05, 2026
CVE-2026-64579NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules-internal
NoYesAug 05, 2026
CVE-2026-64576NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt
NoYesAug 05, 2026
CVE-2026-64575NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.17
NoYesAug 05, 2026

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