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-1000432: spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware(). Affects Kernel versions >= 944c01a889d97dc08e1b71f4ed868f4023fd6034, < 4a01ad002d2e03c399af536562693752af7c81b1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel package is a crucial component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices, including the Serial Peripheral Interface (SPI). The SPI subsystem allows communication between the kernel and SPI devices, enabling data transfer for peripherals such as sensors, displays, and memory chips. The fsl-lpspi module within the Kernel package specifically handles the Low Power SPI controller found in some Freescale/NXP processors. This vulnerability affects the lpspi_prepare_xfer_hardware() function within the fsl-lpspi module.

Vulnerability Detail

The vulnerability identified in the fsl-lpspi module is related to a reference leak in the lpspi_prepare_xfer_hardware() function. When preparing the hardware for data transfer, the function fails to release a power management (PM) reference, leading to a reference leak. This can result in resource exhaustion and potential denial-of-service (DoS) attacks. 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

In conclusion, the vulnerability in the Kernel package's fsl-lpspi module can lead to resource exhaustion and potential denial-of-service attacks. It is crucial to update the Linux Kernel package to version v5.4.119 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is resource exhaustion and potential denial-of-service (DoS) attacks. However, the actual impact and attack plausibility have not been proven yet.

The vulnerability was introduced in version v5.2 of the Linux Kernel package by commit 944c01a889d97dc08e1b71f4ed868f4023fd6034. It is fixed in version v5.4.119 and later by commit 4a01ad002d2e03c399af536562693752af7c81b1.

No, there is no specific workaround mentioned for this vulnerability. It is recommended to update the Kernel package to the fixed version.

You can find more details about this vulnerability in the Open Source Vulnerability database entry GSD-2021-1000432: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000432.json

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation. Simply upload your manifest file (e.g., package-lock.json) to the playground and it will provide information on any vulnerabilities.

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