Vulnerability in Kernel package: spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback