Vulnerability in Kernel: riscv: Fix config KASAN && DEBUG_VIRTUAL

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000783: riscv: Fix config KASAN && DEBUG_VIRTUAL. Affects Kernel versions >= 8ad8b72721d0f07fa02dbe71f901743f9c71c8e6, < 728fb555882baf12399764c6a19b33c6a286410f. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware. It manages system resources, facilitates communication between software and hardware, and ensures the security and stability of the system. The riscv architecture is a popular open-source instruction set architecture used in many devices. This vulnerability specifically affects the riscv configuration when KASAN (Kernel Address Sanitizer) and DEBUG_VIRTUAL are enabled.

Vulnerability Detail

The vulnerability arises from a misconfiguration in the riscv architecture when both KASAN and DEBUG_VIRTUAL are enabled. KASAN is a dynamic memory error detector that helps identify and fix memory bugs in the kernel. DEBUG_VIRTUAL is a debugging feature that provides additional information about virtual memory handling. When both features are enabled, it leads to an issue that can potentially be exploited by attackers. The exact impact and attack vectors are yet to be proven, but it is crucial to address this vulnerability to ensure the security and integrity of the system.

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 approach is to update the Kernel to the fixed version.

Conclusion

The vulnerability in the Kernel's riscv configuration with KASAN and DEBUG_VIRTUAL enabled can potentially be exploited by attackers. It is crucial to update the Kernel to the fixed version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware.

The riscv architecture is an open-source instruction set architecture used in many devices.

KASAN (Kernel Address Sanitizer) is a dynamic memory error detector in the Kernel that helps identify and fix memory bugs.

DEBUG_VIRTUAL is a debugging feature in the Kernel that provides additional information about virtual memory handling.

To fix this vulnerability, update the Linux Kernel to version v5.15.27 or later.

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