Vulnerability in Linux Kernel: ftrace - Clean up hash direct_functions on register failures
Summary
GSD-2022-1003548: ftrace: Clean up hash direct_functions on register failures. Affects Kernel versions >= 763e34e74bb7d5c316015e2e39fcc8520bfd071c, < 82c888e51c2176a06f8b4541cf748ee81aac6e7e. 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 Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing essential functionality. It is an open-source project that is constantly being developed and maintained by a large community of contributors. The ftrace subsystem in the Linux Kernel provides a framework for tracing and profiling kernel functions. It allows developers and system administrators to monitor and analyze the execution flow of the kernel. However, a vulnerability has been discovered in the ftrace subsystem that could potentially be exploited by attackers to gain unauthorized access or execute arbitrary code on a vulnerable system.
Vulnerability Detail
The vulnerability in the ftrace subsystem of the Linux Kernel arises from a failure to properly clean up the hash direct_functions on register failures. This can lead to a situation where an attacker can manipulate the direct function hash table, potentially allowing them to execute arbitrary code with elevated privileges. The impact of this vulnerability can vary depending on the specific system configuration and the privileges of the attacker. However, if successfully exploited, it could result in a complete compromise of the affected system. The vulnerability was introduced in version v5.5 of the Linux Kernel and has been fixed in version v5.10.121.
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 known workaround for this vulnerability. It is recommended to apply the fix mentioned above as soon as possible to mitigate the risk of exploitation.
Conclusion
In conclusion, a vulnerability has been discovered in the ftrace subsystem of the Linux Kernel that could potentially allow attackers to execute arbitrary code with elevated privileges. It is crucial to update the Linux Kernel to version v5.10.121 or later to mitigate the risk of exploitation. For further support and assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The ftrace subsystem in the Linux Kernel provides a framework for tracing and profiling kernel functions. It allows developers and system administrators to monitor and analyze the execution flow of the kernel.
This vulnerability can be exploited by manipulating the direct function hash table in the ftrace subsystem. If successful, an attacker can execute arbitrary code with elevated privileges.
The impact of this vulnerability can vary depending on the specific system configuration and the privileges of the attacker. However, if successfully exploited, it could result in a complete compromise of the affected system.
Yes, this vulnerability has been fixed in version v5.10.121 of the Linux Kernel.
To protect your system from this vulnerability, it is recommended to update the Linux Kernel to version v5.10.121 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.