Vulnerability in Kernel package: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
Summary
GSD-2021-1002518: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc(). Affects Kernel versions >= 05c6c029a44d9f43715577e33e95eba87f44d285, < 1e434d2687e8bc0b3cdc9dd093c0e9047c0b4add. 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 package is a critical component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices and software components. The scsi: pm80xx module within the Kernel package is responsible for managing SCSI host adapters based on the PM80xx series. These adapters are commonly used for connecting storage devices to the system. However, a vulnerability has been discovered in the pm8001_alloc() function of the scsi: pm80xx module, which can lead to potential security risks.
Vulnerability Detail
The vulnerability arises from an incorrect usage of the scsi_remove_host() function within the pm8001_alloc() function. Calling scsi_remove_host() at this point can result in the removal of the SCSI host, causing subsequent operations to fail. An attacker could potentially exploit this vulnerability to disrupt storage operations or trigger a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been fully 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
As a workaround, users can avoid the vulnerability by not using the scsi: pm80xx module or by disabling the affected functionality. However, this may not be feasible in all scenarios and it is strongly recommended to apply the official fix by updating the Kernel package.
Conclusion
In conclusion, a vulnerability has been discovered in the scsi: pm80xx module of the Kernel package, which can potentially lead to disruption of storage operations or denial-of-service. It is recommended to update the Kernel package to version v5.10.85 or later to fix this vulnerability. Users can also utilize the Vulert Playground to check if their system is affected and receive real-time alerts for open-source vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can vary depending on the specific system configuration and usage. It could potentially lead to disruption of storage operations or trigger a denial-of-service condition.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and it will provide real-time alerts for open-source vulnerabilities, including this one.
At the time of this report, no known exploits for this vulnerability have been identified. However, it is important to apply the fix promptly to mitigate any potential risks.
As mentioned earlier, a temporary workaround is to avoid using the scsi: pm80xx module or disable the affected functionality. However, it is strongly recommended to apply the official fix by updating the Kernel package as soon as possible.
You can find more information about this vulnerability, including the specific commits and references, in the vulnerability database entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002518.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.