Vulnerability in riscv Kernel: Fix for oops caused by irqsoff latency tracer
Summary
GSD-2022-1000793: riscv: fix oops caused by irqsoff latency tracer. Affects Kernel versions >= 3c46979829824da5af8766d89fa877976bdae884, < 1851b9a467065b18ec2cba156eea345206df1c8f. 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 running programs and managing system resources on RISC-V based systems. The irqsoff latency tracer is a feature in the kernel that helps identify areas where interrupts are disabled for extended periods, potentially causing latency issues. However, a vulnerability has been discovered in the irqsoff latency tracer, leading to oops (out-of-memory) errors. This vulnerability can impact the stability and performance of RISC-V systems.
Vulnerability Detail
The vulnerability in the riscv kernel is caused by a flaw in the irqsoff latency tracer. When the tracer is enabled, it can trigger oops errors due to memory allocation failures. An attacker could potentially exploit this vulnerability to cause denial-of-service conditions or disrupt the normal operation of a RISC-V system. The vulnerability was introduced in version v5.9 of the Linux kernel and has been fixed in version v5.15.26.
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 specific workaround mentioned for this vulnerability. The recommended solution is to update the riscv kernel to the fixed version.
Conclusion
The vulnerability in the riscv kernel's irqsoff latency tracer can lead to oops errors and potential disruptions in RISC-V systems. It is crucial to update the kernel to version v5.15.26 or later to mitigate this vulnerability. For further support and assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to oops errors and potentially disrupt the normal operation of a RISC-V system.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will alert you in real-time if the vulnerability is present.
There is no known exploit for this vulnerability at the moment. However, it is important to apply the fix to prevent any potential exploitation.
It is recommended to update the riscv kernel to the fixed version rather than attempting manual patching. The official Linux kernel repository provides the necessary patch.
The recommended solution is to update the riscv kernel to the fixed version. Using an older version of the kernel may leave the system vulnerable to this issue.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.