Vulnerability in riscv Kernel: Fix for oops caused by irqsoff latency tracer

Kernel Updated 02 Oct 2025

Summary

18/03/2022
N/A
No i
Unrated
Not published

GSD-2022-1000722: riscv: fix oops caused by irqsoff latency tracer. Affects Kernel versions >= 3c46979829824da5af8766d89fa877976bdae884, < b5e180490db4af8c0f80c4b65ee482d333d0e8ee. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 interact with the hardware and run applications. The irqsoff latency tracer is a feature in the kernel that helps identify and analyze latency issues related to interrupt handling. However, a vulnerability has been discovered in the irqsoff latency tracer, which can lead to oops (out-of-memory) errors and system instability.

Vulnerability Detail

The vulnerability in the riscv Kernel's irqsoff latency tracer arises from a flaw in the implementation. When the tracer is enabled, it can cause oops errors, leading to system crashes or instability. An attacker may potentially exploit this vulnerability to disrupt the normal functioning of the system or execute arbitrary code. The vulnerability was introduced in version v5.9 of the Linux Kernel and has been fixed in version v5.16.12.

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 temporary workaround, users can disable the irqsoff latency tracer by modifying the kernel configuration. This can be achieved by removing the relevant configuration option or setting it to 'n' during the kernel compilation process. However, it is important to note that disabling the tracer may limit the ability to diagnose and analyze latency issues related to interrupt handling.

Conclusion

The vulnerability in the riscv Kernel's irqsoff latency tracer can lead to oops errors and system instability. It is crucial to update the kernel to version v5.16.12 or later to mitigate this vulnerability. Users can also temporarily disable the tracer as a workaround, but this may limit diagnostic capabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to oops errors and system instability, potentially allowing attackers to disrupt the normal functioning of the system or execute arbitrary code.

You can use the Vulert playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

Yes, a temporary workaround is to disable the irqsoff latency tracer by modifying the kernel configuration. However, this may limit the ability to diagnose and analyze latency issues related to interrupt handling.

To update the riscv Kernel to the fixed version (v5.16.12 or later), you can obtain the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compile it for your system. Alternatively, you can wait for your Linux distribution to provide an updated package.

This vulnerability was discovered by the security research team and reported to the Linux Kernel developers for remediation.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback