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

GSD-2021-1000967: scsi: core: Fix error handling of scsi_host_alloc(). Affects Kernel versions < 7a696ce1d5d16a33a6cd6400bbcc0339b2460e11. 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 Penetration testing for web, API and mobile 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 fundamental component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages system resources, facilitates communication between different components, and enables the execution of user programs. The scsi_host_alloc() function in the Kernel is responsible for allocating and initializing SCSI host structures. These structures are essential for managing SCSI devices and handling input/output operations. However, a vulnerability has been identified in the error handling of scsi_host_alloc(), which could potentially lead to security issues.

Vulnerability Detail

The vulnerability in the scsi_host_alloc() function of the Kernel arises from improper error handling. When an error occurs during the allocation and initialization of SCSI host structures, the function fails to handle the error properly, potentially leaving the system in an inconsistent state. This vulnerability could be exploited by an attacker 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. However, users can consider updating their Linux Kernel to the patched version as mentioned in the 'how_to_fix' section.

Conclusion

In conclusion, a vulnerability has been identified in the scsi_host_alloc() function of the Kernel, which could potentially lead to security issues. It is recommended to update the Linux Kernel to version v5.10.44 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 Kernel is a core component of the Linux operating system that manages system resources, facilitates communication between different components, and enables the execution of user programs.

The scsi_host_alloc() function is responsible for allocating and initializing SCSI host structures in the Kernel. These structures are essential for managing SCSI devices and handling input/output operations.

The impact of this vulnerability is not yet proven. However, it could potentially lead to a denial-of-service (DoS) condition or allow an attacker to execute arbitrary code with elevated privileges.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.44 or later. The fix can be found in commit 7a696ce1d5d16a33a6cd6400bbcc0339b2460e11 of the Linux Kernel repository.

There is no specific workaround mentioned for this vulnerability. However, updating the Linux Kernel to the patched version can mitigate the issue.

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