Vulnerability in Kernel package: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1002603: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc(). Affects Kernel versions >= 05c6c029a44d9f43715577e33e95eba87f44d285, < f8dccc1bdea7e21b5ec06c957aef8831c772661c. 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 package is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It includes various subsystems, including the scsi (Small Computer System Interface) subsystem, which manages SCSI devices. The pm80xx driver within the scsi subsystem is responsible for supporting the PM8001 SAS/SATA controller. This vulnerability specifically affects the pm8001_alloc() function in the pm80xx driver.

Vulnerability Detail

The vulnerability arises from an incorrect usage of the scsi_remove_host() function within the pm8001_alloc() function. Calling scsi_remove_host() in pm8001_alloc() can lead to a use-after-free scenario, potentially resulting in a system crash or other unpredictable behavior. An attacker may be able to exploit this vulnerability to execute arbitrary code or escalate privileges. The vulnerability was introduced in version v5.10 of the Linux Kernel and has been fixed in version v5.15.8.

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

As a workaround, users can avoid the vulnerability by not using the pm80xx driver or by disabling the affected functionality. However, this may result in the loss of support for the PM8001 SAS/SATA controller.

Conclusion

The vulnerability in the Kernel package's scsi: pm80xx driver can lead to a use-after-free scenario and potential system instability. It is crucial to update the Kernel package to version v5.15.8 or later to mitigate this vulnerability. Users can also utilize the Vulert Playground to check if their system is affected and receive real-time vulnerability alerts. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to a system crash, arbitrary code execution, or privilege escalation.

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

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

Yes, you can apply the provided workaround to avoid the vulnerability. However, it is still recommended to update to the latest version of the Kernel package as soon as possible.

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