Use-after-free vulnerability in scsi: pm8001 package
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.