Out-of-Bound Read Vulnerability in scsi_debug

Kernel Updated 02 Oct 2025

Summary

29/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002292: scsi: scsi_debug: Fix out-of-bound read in resp_readcap16(). Affects Kernel versions < 3e20cb072679bdb47747ccc8bee3233a4cf0765a. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The scsi_debug package is a part of the Linux Kernel ecosystem and is responsible for emulating a SCSI target device for testing purposes. It allows developers to simulate various SCSI commands and responses. The scsi_debug package is widely used in the Linux Kernel for testing and debugging SCSI-related functionality.

Vulnerability Detail

The scsi_debug package is affected by an out-of-bound read vulnerability in the resp_readcap16() function. This vulnerability could potentially be exploited by an attacker to read data from unintended memory locations, leading to information disclosure or a denial of service. The vulnerability was discovered and reported on November 29, 2021. It has been assigned the ID GSD-2021-1002292 and is fixed in Linux Kernel version v5.10.82 by commit 3e20cb072679bdb47747ccc8bee3233a4cf0765a.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can disable or remove the scsi_debug package from their systems if it is not required for testing or debugging purposes. This can be done by executing the following command:

$ sudo rmmod scsi_debug

However, it is strongly recommended to apply the official fix by updating the Linux Kernel as soon as possible.

Conclusion

The out-of-bound read vulnerability in the scsi_debug package can be mitigated by updating the Linux Kernel to version v5.10.82 or later. It is recommended to apply the official fix as soon as possible to ensure the security and stability of the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The scsi_debug package is a component of the Linux Kernel that allows developers to emulate a SCSI target device for testing and debugging purposes.

This vulnerability could potentially allow an attacker to read data from unintended memory locations, leading to information disclosure or a denial of service.

This vulnerability was discovered and reported on November 29, 2021. The details of the discovery process have not been provided.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.82 or later. Instructions for updating the Kernel can be found in the 'how_to_fix' section of this report.

Yes, a temporary workaround is to disable or remove the scsi_debug package from the system if it is not required for testing or debugging purposes. Instructions for applying the workaround can be found in the 'workaround' section of this report.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback