Vulnerability in Kernel: Fix error handling of scsi_host_alloc()

Kernel Updated 02 Oct 2025

Summary

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

UVI-2021-1000849: scsi: core: Fix error handling of scsi_host_alloc(). Affects Kernel versions < 8958181c1663e24a13434448e7d6b96b5d04900a. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages 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 responsible for allocating resources for a SCSI host. However, a vulnerability exists in the error handling of this function, which could lead to potential security issues.

Vulnerability Detail

The vulnerability in the scsi_host_alloc() function of the Kernel's SCSI core arises from improper error handling. If an error occurs during the allocation of resources for a SCSI host, the function may not handle it correctly, potentially leaving the system in an inconsistent state. An attacker could exploit this vulnerability to cause a denial-of-service (DoS) condition or 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 mentioned for this vulnerability.

Conclusion

The vulnerability in the scsi_host_alloc() function of the Kernel's SCSI core can lead to potential security issues, including a denial-of-service (DoS) condition or arbitrary code execution. It is recommended to update the Linux Kernel to version v4.9.273 or later to fix this vulnerability. For further support on vulnerability remediation, please 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 the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and the Vulert Playground will provide real-time alerts for open-source vulnerabilities, including this one.

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

The remote exploitability of this vulnerability has not been determined yet. However, it is advisable to apply the patch as soon as possible to mitigate any potential risks.

There are no known instances of this vulnerability being exploited at the moment. However, it is crucial to keep your system up to date with the latest security patches to minimize the risk of exploitation.

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