Vulnerability in Kernel: sched/scs - Reset task stack state in bringup_cpu()
Summary
GSD-2021-1002479: sched/scs: Reset task stack state in bringup_cpu(). Affects Kernel versions >= 3c51d82d0b7862d7d246016c74b4390fb1fa1f11, < e6ee7abd6bfe559ad9989004b34c320fd638c526. 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 critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process scheduling, memory management, and device drivers. The sched/scs subsystem is responsible for managing the scheduling of tasks on different CPUs. This vulnerability affects the Kernel's sched/scs subsystem and specifically relates to the task stack state not being properly reset in the bringup_cpu() function.
Vulnerability Detail
The vulnerability arises from a failure to reset the task stack state in the bringup_cpu() function of the sched/scs subsystem. This can lead to various security issues, including potential information leaks or privilege escalation attacks. An attacker may be able to exploit this vulnerability to gain unauthorized access to sensitive information or execute arbitrary code with elevated privileges. The impact and attack plausibility of this vulnerability have not been fully 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
As a workaround, users can apply the patch provided in commit e6ee7abd6bfe559ad9989004b34c320fd638c526 manually. Here is an example of how to apply the patch:
- Clone the Linux Kernel repository: git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- Checkout the commit containing the fix: git checkout e6ee7abd6bfe559ad9989004b34c320fd638c526
- Recompile and install the Kernel with the applied patch.
Note: It is recommended to update to the latest version of the Kernel instead of relying on manual patching.
Conclusion
In conclusion, the vulnerability in the Kernel's sched/scs subsystem, specifically related to the failure to reset the task stack state in the bringup_cpu() function, can potentially lead to security risks such as information leaks or privilege escalation attacks. It is crucial to update the Linux Kernel to version v5.10.83 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can vary depending on the specific system configuration and the presence of additional security measures. However, it could potentially lead to information leaks or privilege escalation attacks, enabling unauthorized access to sensitive data or the execution of arbitrary code with elevated privileges.
You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert analyzes the manifest file, such as package-lock.json, to monitor and alert in real-time for open-source vulnerabilities in the software.
Yes, a workaround is available. Users can manually apply the patch provided in commit e6ee7abd6bfe559ad9989004b34c320fd638c526. However, it is recommended to update to the latest version of the Kernel to ensure comprehensive mitigation.
At the time of this report, there are no known exploits for this vulnerability. However, it is crucial to promptly update the Kernel to the latest version to prevent potential exploitation.
For more information about this vulnerability, you can refer to the source database at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002479.json.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.