Vulnerability in Kernel: mtd: rawnand: gpmi: don't leak PM reference in error path
Summary
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 ↓
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 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 →
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.