Use-after-free vulnerability in scsi: pm8001 package
Summary
GSD-2022-1000539: scsi: pm8001: Fix use-after-free for aborted TMF sas_task. Affects Kernel versions < 510b21442c3a2e3ecc071ba3e666b320e7acdd61. 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 ecosystem. It provides support for SAS (Serial Attached SCSI) host bus adapters based on the PM8001 chip. These adapters are commonly used in storage systems. The package handles various SCSI tasks, including Target Mode Functions (TMF).
Vulnerability Detail
The vulnerability identified as GSD-2022-1000539 is a use-after-free issue in the scsi: pm8001 package. Specifically, it affects the handling of aborted TMF sas_tasks. A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, leading to potential memory corruption or arbitrary code execution. In this case, the vulnerability arises from improper handling of aborted TMF sas_tasks, which can result in a use-after-free scenario. 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 →
Conclusion
The use-after-free vulnerability in the scsi: pm8001 package can be addressed by updating the Linux Kernel to version v5.16.11 or later. This update includes the necessary fix to prevent potential memory corruption or arbitrary code execution. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed. This can lead to memory corruption or arbitrary code execution.
The scsi: pm8001 package is a component of the Linux Kernel ecosystem that provides support for SAS host bus adapters based on the PM8001 chip.
A TMF sas_task refers to a Target Mode Function SAS task, which is a SCSI command used for managing SAS devices.
The impact of this vulnerability is not yet proven. However, use-after-free vulnerabilities can potentially lead to memory corruption or arbitrary code execution.
To fix this vulnerability, update the Linux Kernel to version v5.16.11 or later, which includes the necessary fix for the use-after-free issue.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.