
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-48666 is a use-after-free vulnerability in the Linux kernel's SCSI core subsystem. The issue was discovered in 2022 and affects the implementation of .exit_cmd_priv in the SCSI host driver. There are two .exit_cmd_priv implementations that use resources associated with the SCSI host, which can lead to a use-after-free condition when these resources are accessed after being freed (Kernel Commit).
The vulnerability occurs due to improper resource management in the SCSI core subsystem. Specifically, the issue arises when .exit_cmd_priv is called after the associated SCSI host resources have been freed. The bug manifests as a use-after-free condition in srp_exit_cmd_priv, which attempts to read 8 bytes from a previously freed memory location. This was confirmed through KASAN (Kernel Address Sanitizer) detection (Kernel Commit). The CVSS base score for this vulnerability is 7.4 HIGH (AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) (NVD).
The vulnerability can lead to a denial of service condition through system crashes or potentially allow arbitrary code execution. When exploited, an attacker could potentially read from or write to freed memory locations, leading to system instability or potential privilege escalation (NVD).
The vulnerability requires local access and high complexity to exploit. It has been classified as CWE-416 (Use After Free) and does not require privileges or user interaction to exploit (NVD).
The vulnerability has been fixed in the Linux kernel through a patch that ensures resources remain available when .exit_cmd_priv is called. The fix involves waiting inside scsi_remove_host() until the tag set has been freed, using a reference counting mechanism to track the lifetime of the resources (Kernel Commit). Users should update their Linux kernel to a version containing this fix.
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."