Vulnerability in Kernel: scsi_debug Type Fix

Kernel Updated 02 Oct 2025

Summary

27/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002764: scsi: scsi_debug: Fix type in min_t to avoid stack OOB. Affects Kernel versions < 3085147645938eb41f0bc0e25ef9791e71f5ee4b. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities, including device drivers, process management, and memory management. The scsi_debug module in the Kernel allows for the creation of virtual SCSI devices for testing and debugging purposes. However, a vulnerability has been identified in the scsi_debug module that could lead to a stack out-of-bounds (OOB) issue.

Vulnerability Detail

The vulnerability in the scsi_debug module arises from a type error in the min_t function, which is used to determine the minimum value between two variables. Due to the incorrect type, a stack out-of-bounds (OOB) condition can occur, potentially leading to memory corruption or arbitrary code execution. An attacker could exploit this vulnerability by sending specially crafted input to a vulnerable system, causing it to crash or execute malicious code. The impact and attack plausibility of this vulnerability have not been proven yet.

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

There is no specific workaround mentioned for this vulnerability. It is advised to apply the fix by updating the Kernel to the recommended version.

Conclusion

The vulnerability in the scsi_debug module of the Kernel can be mitigated by updating the Linux Kernel to version v5.15.11 or later. This update fixes the type error in the min_t function, eliminating the risk of stack out-of-bounds (OOB) issues. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software.

The scsi_debug module is a part of the Kernel that allows for the creation of virtual SCSI devices for testing and debugging purposes.

A stack out-of-bounds (OOB) issue occurs when a program writes or reads data beyond the allocated stack memory, potentially leading to memory corruption or crashes.

An attacker can exploit this vulnerability by sending specially crafted input to a vulnerable system, causing it to crash or execute arbitrary code.

No, the impact and attack plausibility of this vulnerability have not been proven yet.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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