Vulnerability in ARM: hisi package - Missing of_node_put after of_find_compatible_node
Summary
GSD-2022-1002717: ARM: hisi: Add missing of_node_put after of_find_compatible_node. Affects Kernel versions < 45d211668d33c49d73f5213e8c2b58468108647c. 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 ARM: hisi package is a component of the Linux Kernel, which is responsible for supporting ARM-based HiSilicon SoCs. These SoCs are commonly used in various devices, including smartphones, tablets, and IoT devices. The package provides necessary drivers and functionalities for proper hardware interaction and system operation. However, a vulnerability has been identified in this package, which could potentially lead to security issues.
Vulnerability Detail
The vulnerability in the ARM: hisi package involves a missing of_node_put after of_find_compatible_node function call. This issue can result in a reference count leak, leading to a resource exhaustion condition. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) attack or escalate privileges. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.
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.18.3 or later. This fix is implemented in commit 45d211668d33c49d73f5213e8c2b58468108647c. Updating the kernel will ensure that the missing of_node_put call is added after the of_find_compatible_node function, preventing the reference count leak and potential resource exhaustion.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No specific workaround has been provided for this vulnerability.
Conclusion
In conclusion, the ARM: hisi package in the Linux Kernel is vulnerable to a missing of_node_put issue, which can lead to resource exhaustion and potential security risks. It is crucial to update the kernel to the fixed version to mitigate these risks. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could range from a denial-of-service (DoS) attack to privilege escalation, depending on the attacker's capabilities and the target system's configuration.
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, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.
As of now, no known exploit has been reported for this vulnerability. However, it is always recommended to apply security patches and updates promptly to mitigate potential risks.
The recommended solution is to update the Linux Kernel to the fixed version. However, if updating is not feasible or practical, you can consider implementing additional security measures, such as network segmentation, access controls, and intrusion detection systems, to minimize the potential impact of this vulnerability.
You can refer to the vulnerability details in the GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002717.json) for more information about this vulnerability, including its timeline, affected package versions, and the commit that fixes it.
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.