
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-50481 is a vulnerability discovered in the Linux kernel affecting the CXL (Compute Express Link) subsystem. The vulnerability was published on October 4, 2025, and involves a potential null pointer dereference in the cxl_guest_init_afu|adapter() function (NVD).
The vulnerability occurs when device_register() fails in cxl_register_afu|adapter(). In this scenario, the device is not added, and calling device_unregister() in the error path causes a null pointer dereference due to attempting to remove a non-added device. The proper fix involves using put_device() to release the reference in the error path, and splitting device_unregister() into device_del() and put_device() operations. The vulnerability has been assigned a CVSS v3.1 score of 5.5 (Red Hat).
The vulnerability can lead to a null pointer dereference in the Linux kernel's CXL subsystem, potentially causing system crashes or denial of service conditions. The impact is primarily limited to local attacks, as indicated by the CVSS scoring (Red Hat).
Red Hat has acknowledged the vulnerability and its status varies across different versions: Red Hat Enterprise Linux 6 is not affected, while versions 7, 8, and 9 have deferred fixes for both regular and RT kernels. The proper fix involves using put_device() instead of device_unregister() in the error path (Red Hat).
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."