CVE Database›Document archive›CVE-2021-47191

CVE-2021-47191

kernel: scsi: scsi_debug: Fix out-of-bound read in resp_readcap16()

Loading…

Severity

Low

Red Hat Product Security

6

CVSS 3.1

Review impact separately from score.

Published · April 10, 2024

Updated · October 30, 2026

Description

A flaw was found in the Linux kernel's SCSI (Small Computer System Interface) debug driver. An improper validation of allocation length values in the resp_readcap16() function allows a local user to trigger an out-of-bounds memory read when processing specially crafted SCSI commands. This issue can cause a system crash, resulting in a Denial of Service (DoS), or potentially lead to unauthorized kernel information disclosure.

Statement

This vulnerability is rated as having a Low impact because the affected scsi_debug driver is intended solely for testing and debugging environments and is not loaded by default on Red Hat Enterprise Linux. Exploitation requires a local user to interact directly with simulated SCSI target devices, which typically requires elevated privileges or dedicated test configurations. Because production systems do not deploy this testing driver under standard operational conditions, the overall blast radius is minimal.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H

CWE-125 · Out-of-bounds Read