CVE-2022-48666
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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.

Additional resources


SourceThis 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-74583NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2026-74582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 21, 2026
CVE-2026-74581NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesAug 21, 2026
CVE-2026-74580NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 21, 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

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