Vulnerability in Kernel: scsi_host_alloc() Error Handling

Kernel Updated 02 Oct 2025

Summary

30/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000907: scsi: core: Fix error handling of scsi_host_alloc(). Affects Kernel versions < 79296e292d67fa7b5fb8d8c27343683e823872c8. 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 Kernel is a crucial component of the Linux operating system, responsible for managing system resources and providing an interface between hardware and software. It includes various subsystems, including the SCSI (Small Computer System Interface) core, which handles communication with SCSI devices such as hard drives and tape drives. The scsi_host_alloc() function is used to allocate and initialize a SCSI host structure. However, a vulnerability has been discovered in the error handling of this function.

Vulnerability Detail

The vulnerability in the scsi_host_alloc() function of the Kernel's SCSI core could potentially lead to security issues. Although the impact and attack plausibility have not been proven, it is essential to address this vulnerability promptly. The vulnerability has been assigned the ID GSD-2021-1000907 and is fixed in Linux Kernel version v5.4.126 by commit 79296e292d67fa7b5fb8d8c27343683e823872c8.

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

No specific workaround has been mentioned for this vulnerability.

Conclusion

The vulnerability in the scsi_host_alloc() function of the Kernel's SCSI core should be addressed by updating the Linux Kernel to version v5.4.126 or later. This will ensure the fix for the vulnerability is applied and mitigate any potential security risks. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is currently unknown as the attack plausibility has not been proven. However, it is recommended to apply the fix as a precautionary measure.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it for open-source vulnerabilities in real-time.

Yes, a patch is available in Linux Kernel version v5.4.126. It is recommended to update to this version or a later one to fix the vulnerability.

While no specific temporary measures have been mentioned, it is generally advisable to follow security best practices such as restricting access to vulnerable systems and monitoring for any suspicious activity.

You can find more information about this vulnerability in the GSD-2021-1000907 entry of the GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000907.json).

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