
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability was discovered in the Linux kernel's Small Computer System Interface (SCSI) subsystem, specifically in the scsi_debug driver (CVE-2021-47219). The issue involves an out-of-bounds read in the resp_report_tgtpgs() function, which could allow an attacker to trigger a denial of service (DoS). The vulnerability was discovered through syzkaller testing and was patched in later kernel updates (Kernel Patch).
The vulnerability occurs due to improper handling of length parameters in the SCSI debug driver. When userspace passes a large length value to the 'alen' variable (which was originally typed as int), it could result in a negative value, leading to an out-of-bounds read. The issue manifests in the resp_report_tgtpgs() function where the memory access exceeds the allocated buffer size, triggering a KASAN (Kernel Address Sanitizer) error. The fix involved switching the variable types 'n', 'alen', and 'rlen' from int to u32 to prevent negative values (Kernel Patch).
The vulnerability can lead to a denial of service (DoS) condition through system crashes when invalid input lengths are passed to the SCSI debug driver. This occurs during the handling of certain SCSI commands (Red Hat CVE).
The vulnerability requires local access to the system and high privileges to exploit. According to Red Hat's CVSS v3 scoring, it has a base score of 6.0, indicating moderate severity. The attack complexity is low, but it requires high privileges and no user interaction (Red Hat CVE).
The vulnerability has been patched in the Linux kernel through a fix that changes the variable types from int to u32 in the affected code. System administrators should update their kernel to a version that includes this patch (Kernel Patch).
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."