Out-of-Bound Read Vulnerability in scsi_debug
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.