Vulnerability in Kernel: mtd: rawnand: gpmi: don't leak PM reference in error path
Summary
GSD-2022-1000558: mtd: rawnand: gpmi: don't leak PM reference in error path. Affects Kernel versions >= c447696e2f825df7800b0630352bea2d45d09baa, < 58d3111eafce9e4398654b07f0b1dac27f26ee5b. 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 is a critical component of the Linux operating system that manages the communication between hardware and software. It provides essential services and functions for the proper functioning of the system. The mtd (Memory Technology Devices) 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 potential security issue.
Vulnerability Detail
The vulnerability in the rawnand GPMI driver occurs when handling error paths. It results in a potential leak of a PM (Power Management) reference. This reference leak can have various consequences, including resource leaks, memory corruption, or privilege escalation attacks. An attacker could potentially exploit this vulnerability to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition. The vulnerability was introduced in Linux Kernel version v5.16.3 and has been fixed in version v5.16.11.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.11 or later. This update includes the necessary patch to address the PM reference leak in the rawnand GPMI driver. Users should follow the standard procedures for updating the Kernel on their respective Linux distributions.
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 available for this vulnerability. It is essential to apply the official fix by updating the Linux Kernel to the recommended version.
Conclusion
The vulnerability in the rawnand GPMI driver of the Kernel can lead to potential security risks, including resource leaks, memory corruption, or privilege escalation attacks. It is crucial to update the Linux Kernel to version v5.16.11 or later to address this vulnerability. For further support or assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially lead to resource leaks, memory corruption, or privilege escalation attacks. It could allow an attacker to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.
At the time of this report, there is no known public exploit for this vulnerability. However, it is crucial to apply the fix promptly to mitigate any potential risks.
The vulnerability itself does not provide remote exploitation capabilities. However, if an attacker already has access to the system, they could potentially leverage this vulnerability for further privilege escalation or unauthorized access.
The recommended solution is to update the Linux Kernel to the fixed version. There are no alternative solutions or workarounds available specifically for this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.