Vulnerability in Kernel package: spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()
Summary
GSD-2021-1000283: spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware(). Affects Kernel versions >= 944c01a889d97dc08e1b71f4ed868f4023fd6034, < 6a2b5cee0d31ab6cc51030c441135b0e31217282. 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 the system's hardware, software, and processes. The spi module within the Kernel package is responsible for managing Serial Peripheral Interface (SPI) devices. The fsl-lpspi driver is a specific implementation of the SPI driver for Freescale Low Power SPI controllers. This driver enables communication with SPI devices connected to the Freescale Low Power SPI controller. However, a vulnerability has been identified in the lpspi_prepare_xfer_hardware() function of the fsl-lpspi driver, which can lead to a reference leak in the Power Management (PM) subsystem.
Vulnerability Detail
The vulnerability in the lpspi_prepare_xfer_hardware() function of the fsl-lpspi driver allows for a reference leak in the Power Management subsystem. This reference leak can result in incorrect handling of power management operations, potentially leading to system instability or resource exhaustion. An attacker with local access to the system may be able to exploit this vulnerability to disrupt normal system operation or escalate privileges. The vulnerability was introduced in version v5.2 of the Linux Kernel and has been fixed in version v5.12.4.
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 known workaround for this vulnerability. It is necessary to apply the fix by updating the Linux Kernel package.
Conclusion
The vulnerability in the fsl-lpspi driver of the Kernel package can lead to a reference leak in the Power Management subsystem. It is recommended to update the Linux Kernel package to version v5.12.4 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to system instability or resource exhaustion, potentially allowing an attacker to disrupt normal system operation or escalate privileges.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.
No, this vulnerability requires local access to the system in order to be exploited.
There are no known instances of this vulnerability being exploited in the wild.
You can find more information about this vulnerability in the GSD-2021-1000283 JSON file available on the GSD Database GitHub repository (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000283.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.