Vulnerability in riscv Kernel: Fix for oops caused by irqsoff latency tracer
Summary
GSD-2022-1000846: riscv: fix oops caused by irqsoff latency tracer. Affects Kernel versions >= 3c46979829824da5af8766d89fa877976bdae884, < 9e2dbc31e367d08ee299a0d8aeb498cb2e12a1c3. 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 riscv Kernel is a component of the Linux operating system that supports the RISC-V architecture. It provides the necessary functionality for the RISC-V processors to operate efficiently. The irqsoff latency tracer is a feature in the kernel that helps analyze the latency of interrupt handlers. However, a vulnerability has been discovered in this tracer, which can lead to oops (out-of-memory) errors. This vulnerability can potentially impact the stability and performance of systems running on the riscv Kernel.
Vulnerability Detail
The vulnerability in the riscv Kernel is caused by a flaw in the irqsoff latency tracer. When this tracer is enabled, it can trigger oops errors, resulting in system crashes or instability. An attacker could potentially exploit this vulnerability to disrupt the normal operation of a system or even execute arbitrary code. The vulnerability was introduced in version v5.9 of the Linux Kernel and has been fixed in version v5.10.103 by commit 9e2dbc31e367d08ee299a0d8aeb498cb2e12a1c3.
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 →
Conclusion
The vulnerability in the riscv Kernel's irqsoff latency tracer can lead to oops errors and system crashes. It is crucial to update the kernel to version v5.10.103 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to oops errors and system crashes, potentially disrupting the normal operation of a system.
No, this vulnerability requires local access to the system.
There are no known instances of this vulnerability being exploited in the wild.
No, the recommended solution is to update the riscv Kernel to the fixed version.
You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will provide real-time alerts for open-source vulnerabilities.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.