Resource Leak in spi-fsl-dspi Package

Kernel Updated 02 Oct 2025

Summary

04/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000596: spi: spi-fsl-dspi: Fix a resource leak in an error handling path. Affects Kernel versions >= 90ba37033cb94207e97c4ced9be575770438213b, < fe6921e3b8451a537e01c031b8212366bb386e3e. 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 spi-fsl-dspi package is a component of the Linux Kernel, specifically designed for Freescale DSPI (Dual Serial Peripheral Interface) controllers. This package provides the necessary functionality for communication between the host system and SPI devices connected to the DSPI controller. The DSPI controller is commonly used in embedded systems and IoT devices to interface with various peripherals.

Vulnerability Detail

The vulnerability identified in the spi-fsl-dspi package is related to a resource leak in an error handling path. When an error occurs during the execution of certain operations, system resources are not properly released, leading to a resource leak. This vulnerability can potentially be exploited by an attacker to exhaust system resources, resulting in a denial-of-service condition or other adverse effects. The vulnerability was introduced in version v4.10 of the Linux Kernel and has been fixed in version v5.10.42.

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 impact of this vulnerability by avoiding the execution of operations that trigger the error handling path in the spi-fsl-dspi package. However, this workaround may not be feasible in all scenarios and it is strongly advised to apply the official fix by updating the Linux Kernel.

Conclusion

The resource leak vulnerability in the spi-fsl-dspi package can have serious implications for the stability and security of systems utilizing Freescale DSPI controllers. It is crucial to promptly update the Linux Kernel to version v5.10.42 or later to mitigate the risk associated with this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The spi-fsl-dspi package is a component of the Linux Kernel that provides support for Freescale DSPI controllers, enabling communication with SPI devices connected to the controller.

A resource leak vulnerability occurs when system resources, such as memory or file handles, are not properly released after use. This can lead to resource exhaustion and potentially enable denial-of-service attacks or other adverse effects.

The resource leak vulnerability in the spi-fsl-dspi package can result in system resource exhaustion, leading to a denial-of-service condition or other adverse effects. It may also provide an avenue for attackers to exploit the vulnerability and compromise the system.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.42 or later, which includes the necessary patch to address the resource leak issue in the spi-fsl-dspi package.

Yes, as a workaround, users can avoid executing operations that trigger the error handling path in the spi-fsl-dspi package. However, it is strongly advised to apply the official fix by updating the Linux Kernel.

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