Critical NULL Pointer Dereference in Linux Kernel - RISC-V KVM Snapshot Area

linux Updated 02 Oct 2025

Summary

21/10/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-47717: In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: Don't zero-out PMU snapshot area before freeing data With the latest Linux-6.11-rc3, the below NULL pointer crash is observed when SBI PMU... Affects linux versions < 6.11.2-1. Fixed in 6.11.2-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to applications. It supports various architectures, including RISC-V, and is widely used in both server and embedded systems. This vulnerability affects the KVM (Kernel-based Virtual Machine) functionality, specifically when handling PMU (Performance Monitoring Unit) snapshot areas during guest VM operations.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified that leads to a NULL pointer dereference when the SBI PMU snapshot is enabled for a guest VM and the VM is forcefully powered off. This issue arises from the improper handling of the PMU snapshot area, which can cause a crash in the kernel, potentially leading to system instability or data loss. The crash occurs in the kvm_vcpu_write_guest() function, triggered by the kvm_pmu_clear_snapshot_area() during the teardown of the guest VM.

How To Fix

Minimum fixed version

6.11.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available to mitigate the risk.

Conclusion

The identified vulnerability in the Linux kernel poses a significant risk to systems utilizing RISC-V architecture with KVM enabled. It is essential to update to the patched version 6.11.2-1 to mitigate the risk of system crashes and instability. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a NULL pointer dereference in the Linux kernel's KVM functionality, which can lead to system crashes.

The vulnerability affects Linux kernel versions prior to 6.11.2-1.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to avoid potential system instability.

Yes, this vulnerability specifically affects the RISC-V architecture within the KVM functionality of the Linux kernel.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.11.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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