Vulnerability in Kernel: mtd: rawnand: gpmi: don't leak PM reference in error path

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000403: mtd: rawnand: gpmi: don't leak PM reference in error path. Affects Kernel versions >= 538a5e208e7d29e8b3cb1d79bbb757e8c763b680, < a4eeeaca50199e3f19eb13ac3b7e0bbb93e22de4. 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 Penetration testing for web, API and mobile 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 is a fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionality for the proper functioning of the system. The mtd (Memory Technology Device) subsystem within the Kernel handles flash memory devices, including NAND flash. The rawnand driver in the mtd subsystem is responsible for managing NAND flash devices that use the GPMI (General-Purpose Memory Interface) controller. This vulnerability in the rawnand GPMI driver can lead to a reference leak in the power management (PM) code path.

Vulnerability Detail

The vulnerability in the rawnand GPMI driver allows for a potential reference leak in the power management code path. This can result in incorrect handling of power management references, potentially leading to resource leaks or other unintended behavior. An attacker may be able to exploit this vulnerability to cause a denial-of-service (DoS) condition or gain elevated privileges. The vulnerability was introduced in Linux Kernel version v5.10.94 and has been fixed in version v5.10.102.

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 specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the rawnand GPMI driver of the Kernel can lead to a reference leak in the power management code path. It is recommended to update the Linux Kernel to version v5.10.102 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to resource leaks or other unintended behavior, which may result in a denial-of-service (DoS) condition or allow an attacker to gain elevated 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 and alert you in real-time if the vulnerability is present.

Yes, a patch has been released in Linux Kernel version v5.10.102. It is recommended to update to this version or a later one to fix the vulnerability.

The exact exploitability of this vulnerability is not mentioned in the provided information. However, as it affects the Kernel, which is a critical component of the operating system, it is advisable to apply the fix as soon as possible to mitigate any potential risks.

For more details about this vulnerability, you can refer to the source information provided by the Cloud Security Alliance's GSD Database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000403.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