Missing of_node_put() in nmk_pinctrl_probe in Kernel
Summary
GSD-2022-1001496: pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe. Affects Kernel versions >= 32e67eee670e1254ee5ab41e2f454680acb9c17c, < 9511c6018cd772668def8b034bc67269847e591a. 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 crucial component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functions and services to ensure the proper functioning of the system. The pinctrl subsystem in the Kernel is responsible for managing pin control and configuration for various devices. One specific driver in the pinctrl subsystem, called nomadik, is used for handling pin control on Nomadik platforms. However, a vulnerability has been identified in the nomadik driver, where a missing of_node_put() function call in the nmk_pinctrl_probe() function can lead to a resource leak.
Vulnerability Detail
The missing of_node_put() function call in the nmk_pinctrl_probe() function of the nomadik driver can result in a resource leak. This vulnerability can be exploited by an attacker to exhaust system resources, potentially leading to a denial-of-service (DoS) condition. The vulnerability was introduced in version v3.9 of the Linux Kernel and has been fixed in version v5.16.19. 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 →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The missing of_node_put() function call in the nmk_pinctrl_probe() function of the nomadik driver in the Kernel can lead to a resource leak and potential denial-of-service (DoS) condition. It is crucial to update the Linux Kernel to version v5.16.19 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is a potential denial-of-service (DoS) condition due to resource exhaustion.
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 alert you if the vulnerability is present.
As of now, there is no known exploit for this vulnerability. However, it is still important to apply the recommended fix to prevent any potential exploitation in the future.
No, the recommended fix for this vulnerability is to update the Linux Kernel to version v5.16.19 or later.
No, updating the Linux Kernel to the recommended version is the only known solution to address this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.