Use-after-free vulnerability in scsi: pm8001 package

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000452: scsi: pm8001: Fix use-after-free for aborted TMF sas_task. Affects Kernel versions < 3c334cdfd94945b8edb94022a0371a8665b17366. 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 scsi: pm8001 package is a component of the Linux Kernel, which is responsible for managing SCSI devices. It provides the necessary drivers and functionality for communication between the operating system and SCSI devices. The pm8001 driver specifically handles SAS (Serial Attached SCSI) devices. SAS is a high-speed data transfer protocol used for connecting storage devices, such as hard drives and tape drives, to servers and workstations. The pm8001 driver allows the Linux Kernel to interact with SAS devices using the PM8001 SAS controller. However, a use-after-free vulnerability has been discovered in the pm8001 driver, which could potentially be exploited by attackers to execute arbitrary code or cause a denial-of-service (DoS) condition.

Vulnerability Detail

The use-after-free vulnerability in the scsi: pm8001 package occurs when a Task Management Function (TMF) sas_task is aborted. The vulnerability is caused by improper handling of the aborted TMF sas_task, leading to a use-after-free condition. A use-after-free vulnerability occurs when a program continues to use a memory address after it has been freed, potentially allowing an attacker to control or manipulate the freed memory. In the context of the pm8001 driver, this vulnerability could be exploited by an attacker to execute arbitrary code or crash the system. 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. The recommended approach is to update the Linux Kernel to the fixed version.

Conclusion

The use-after-free vulnerability in the scsi: pm8001 package can be mitigated by updating the Linux Kernel to version v5.15.25 or later. This update includes the necessary fix to address the vulnerability. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The scsi: pm8001 package is a component of the Linux Kernel that provides drivers and functionality for managing SAS devices using the PM8001 SAS controller.

A use-after-free vulnerability occurs when a program continues to use a memory address after it has been freed, potentially allowing an attacker to control or manipulate the freed memory.

A Task Management Function (TMF) sas_task is a specific type of task used in the SAS protocol for managing and controlling SCSI devices.

The potential impacts of this vulnerability include the execution of arbitrary code by an attacker or a system crash resulting in a denial-of-service (DoS) condition.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.25 or later, which includes the necessary patch.

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