
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
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 cxldecoderrelease() function where it attempts to reference its parent, a cxlport, to free its ID back to port->decoderida. This vulnerability was identified when KASAN + DEBUGKOBJECTRELEASE reported a potential use-after-free condition (Kernel Git).
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 cxldecoderrelease() 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).
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).
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 getdevice() and putdevice() calls to maintain proper object lifetime. The patch was committed to the Linux kernel repository and is available in updated kernel versions (Kernel Git).
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.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
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.”