Vulnerability in Kernel: scsi: pm8001: Fix task leak in pm8001_send_abort_all()
Summary
GSD-2022-1002008: scsi: pm8001: Fix task leak in pm8001_send_abort_all(). Affects Kernel versions < 2051044d7901f1a9d7be95d0d32e53b88e9548f7. 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 Kernel is a crucial component of the Linux operating system that provides core functionalities and acts as a bridge between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The scsi subsystem within the Kernel handles communication with SCSI (Small Computer System Interface) devices, such as hard drives and tape drives. One of the drivers in the scsi subsystem is pm8001, which is responsible for managing SAS (Serial Attached SCSI) host bus adapters. The pm8001_send_abort_all() function in the pm8001 driver is vulnerable to a task leak, which can lead to resource exhaustion and potential system instability.
Vulnerability Detail
The vulnerability in the pm8001_send_abort_all() function of the pm8001 driver allows for a task leak. When this function is called, it fails to properly release allocated resources, resulting in a gradual accumulation of tasks that are not properly cleaned up. This can lead to resource exhaustion, potentially causing system instability or denial of service. An attacker with local access to the system could exploit this vulnerability to exhaust system resources and disrupt normal system operation. The vulnerability has been fixed in Linux Kernel version v5.10.111 by commit 2051044d7901f1a9d7be95d0d32e53b88e9548f7.
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 mitigate the risk by disabling or removing the pm8001 driver if it is not required for their system. This can be done by blacklisting the driver module or configuring the system to exclude the driver during the boot process. However, this workaround should only be considered if the pm8001 driver is not essential for the system's functionality.
Conclusion
The vulnerability in the pm8001_send_abort_all() function of the pm8001 driver in the Kernel can lead to resource exhaustion and potential system instability. It is recommended to update the Linux Kernel to version v5.10.111 or later to fix this vulnerability. Users can also consider disabling or removing the pm8001 driver if it is not required for their system. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to resource exhaustion and potential system instability. An attacker with local access to the system could exploit this vulnerability to exhaust system resources and disrupt normal system operation.
No, this vulnerability requires local access to the system to be exploited.
There is no evidence of this vulnerability being exploited in the wild at the time of this report.
The recommended mitigation is to update the Linux Kernel to version v5.10.111 or later. Disabling or removing the pm8001 driver can also mitigate the risk if it is not required for the system.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.