Fix sleeping function called from invalid context on RT kernel in Linux Kernel
Summary
GSD-2022-1003230: tracing: Fix sleeping function called from invalid context on RT kernel. Affects Kernel versions < 9b534640a2c6a8d88168febc82ec6d161184f2ec. 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. It provides essential functionality and services to enable the proper functioning of the system. The tracing feature in the Linux Kernel allows for the collection of runtime information and debugging data. However, a vulnerability has been discovered in the tracing functionality of the Real-Time (RT) kernel. This vulnerability allows a sleeping function to be called from an invalid context, potentially leading to system instability or crashes.
Vulnerability Detail
The vulnerability arises from the improper handling of sleeping functions in the tracing feature of the RT kernel. When a sleeping function is called from an invalid context, it can disrupt the normal execution flow and cause unexpected behavior. This vulnerability could be exploited by an attacker to trigger a denial-of-service condition or potentially execute arbitrary code with elevated 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.
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 mentioned for this vulnerability.
Conclusion
The vulnerability in the tracing feature of the RT kernel has been fixed in the Linux Kernel version v5.15.47. Users are advised to update their kernel to this version or a later one to ensure the security and stability of their systems. For further support and assistance with vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could range from system instability to potential privilege escalation or arbitrary code execution.
You can use tools like Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert Playground allows you to analyze your manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.
As of now, there is no known exploit for this vulnerability. However, it is always recommended to apply security patches and updates to mitigate potential risks.
The vulnerability is present in versions of the Linux Kernel prior to v5.15.47. It is advised to update to this version or a later one to address the vulnerability.
You can refer to the official Linux Kernel repository on Git for more details about the fix. The commit 9b534640a2c6a8d88168febc82ec6d161184f2ec specifically addresses this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.