Fix error handling of scsi_host_alloc() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000866: scsi: core: Fix error handling of scsi_host_alloc(). Affects Kernel versions < db08ce595dd64ea9859f7d088b51cbfc8e685c66. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a fundamental component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages the communication between software and hardware, including storage devices. One of the key functions of the Kernel is to allocate and manage SCSI hosts, which are responsible for handling SCSI commands and data transfers. However, a vulnerability has been discovered in the error handling of the scsi_host_alloc() function, which could lead to potential security issues.

Vulnerability Detail

The vulnerability lies in the error handling of the scsi_host_alloc() function in the Kernel. When an error occurs during the allocation of a SCSI host, the function fails to handle the error properly, potentially leaving the system in an inconsistent state. This could be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with elevated privileges. 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 provided for this vulnerability. It is recommended to apply the fix by updating the Kernel to the latest version as mentioned in the 'how_to_fix' section.

Conclusion

In conclusion, the scsi_host_alloc() function in the Kernel has a vulnerability in its error handling, which could lead to potential security risks. It is crucial to update the Kernel to version v4.14.237 or later to address this issue. Applying the recommended fix ensures that the error handling is properly handled and mitigates the potential impact of this vulnerability. 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 could range from a denial-of-service (DoS) condition to potential execution of arbitrary code with elevated privileges.

You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix to mitigate any potential risks.

The exact attack vector and remote exploitability of this vulnerability have not been proven yet. However, it is always recommended to keep systems up to date with the latest security patches to minimize the risk of remote exploitation.

The vulnerability was discovered by an automated ID intended to aid in the discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.

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