CVE-2022-48788
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-48788 is a use-after-free vulnerability in the Linux kernel's NVMe-RDMA driver. The vulnerability was discovered in July 2024 and affects the nvme-rdma component, specifically in the transport error_recovery work functionality. The issue affects multiple versions of the Linux kernel up to versions 4.19.231, 5.4.181, 5.10.102, and 5.15.25 (NVD).

Technical details

The vulnerability occurs in the nvmerdmasubmitasynceventwork function where there is a race condition between checking the controller and queue state before preparing the AER command and scheduling iowork. The error recovery work needs to flush asynceventwork before destroying the admin queue after setting the controller state to RESETTING to prevent a potential use-after-free condition. This 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 allow an attacker with local access to potentially execute code, cause denial of service, or gain elevated privileges through a use-after-free condition in the NVMe-RDMA driver. The high CVSS score indicates potential severe impacts on system confidentiality, integrity, and availability (NVD).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel. The fix involves adding a flushwork call to ensure asyncevent_work is properly handled before the admin queue destruction. Users should update their Linux kernel to a version that includes the fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

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