CVE-2021-47219
Linux Kernel vulnerability analysis and mitigation

Overview

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

Technical details

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

Impact

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

Exploitability

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

Mitigation and workarounds

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

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-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-core
NoYesAug 12, 2026
CVE-2026-68449NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 12, 2026
CVE-2026-68448NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules-extra
NoYesAug 12, 2026
CVE-2026-68447NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules
NoYesAug 12, 2026
CVE-2026-68446NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 12, 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