CVE-2022-49223: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49223 is a use-after-free vulnerability discovered in the Linux kernel's CXL (Compute Express Link) port handling. The issue occurs in the cxl_decoder_release() function where it attempts to reference its parent, a cxl_port, to free its ID back to port->decoder_ida. This vulnerability was identified when KASAN + DEBUG_KOBJECT_RELEASE reported a potential use-after-free condition (Kernel Git).

Technical details

The vulnerability stems from a reference handling issue in the Linux kernel's CXL subsystem. The device core only guarantees parent lifetime until all children are unregistered. However, if a child needs a parent to complete its ->release() callback, that child needs to hold a reference to extend the lifetime of the parent. The issue was specifically identified in the cxl_decoder_release() function where a use-after-free condition could occur when accessing the parent cxl_port object (Kernel Git). The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could lead to a use-after-free condition in the kernel's CXL subsystem, potentially resulting in system crashes, memory corruption, or privilege escalation. The high CVSS score indicates that successful exploitation could have significant impacts on system confidentiality, integrity, and availability (NVD).

Exploitability

The vulnerability requires local access with low privileges to exploit. The attack complexity is low, requiring no user interaction, making it relatively straightforward to exploit in environments where an attacker has local access to the system (NVD).

Mitigation and workarounds

The issue has been fixed by adding proper reference counting in the CXL subsystem. The fix involves holding the port reference until decoder release by adding get_device() and put_device() calls to maintain proper object lifetime. The patch was committed to the Linux kernel repository and is available in updated kernel versions (Kernel Git).

Additional resources


Source: This 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-121876HIGH7.9
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug
NoNoNov 12, 2026
CVE-2026-99287MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-kvm
NoYesNov 10, 2026
CVE-2024-21963MEDIUM6
  • Linux Kernel logoLinux Kernel
  • kernel-uek-debug-devel
NoYesNov 12, 2026
CVE-2026-99288MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • kernel-rt.src
NoYesNov 10, 2026
CVE-2026-0004MEDIUM5.7
  • Linux Kernel logoLinux Kernel
  • kernel-uek64k-modules
NoYesNov 12, 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

Additional Wiz resources

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