KVM: VMX: Don't use vcpu->run->internal.ndata as an array index

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000012: KVM: VMX: Don't use vcpu->run->internal.ndata as an array index. Affects Kernel versions >= 1aa561b1a4c0ae2a9a9b9c21a84b5ca66b4775d8, < ce541d7b59566a0d94c7c99bfb5d34b050e6af70. 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 Kernel package is a critical component of the Linux operating system. It provides the core functionality and interfaces for the system's hardware, software, and processes. The Kernel package is responsible for managing system resources, including memory, devices, and security. It is a fundamental component that enables the execution of user applications and services on the Linux platform.

Vulnerability Detail

The vulnerability identified in the Kernel package affects the KVM (Kernel-based Virtual Machine) module, specifically the VMX (Virtual Machine Extensions) subsystem. The issue arises from the improper use of the 'vcpu->run->internal.ndata' variable as an array index. This vulnerability can potentially be exploited by an attacker to execute arbitrary code or escalate privileges within a virtual machine environment. The impact and attack plausibility of this vulnerability have not been proven yet.

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

No specific workaround has been mentioned for this vulnerability.

Conclusion

The identified vulnerability in the Kernel package, specifically in the KVM VMX subsystem, highlights the importance of keeping software components up to date. It is crucial to regularly update the Kernel package to ensure the latest security patches and fixes are applied. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can potentially allow an attacker to execute arbitrary code or escalate privileges within a virtual machine environment.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

As of now, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix to ensure the system is protected against potential future exploits.

This vulnerability primarily affects virtual machine environments. Exploitation would typically require an attacker to have access to the virtual machine environment.

The recommended mitigation is to update the Kernel package to the latest version, as the vulnerability has been fixed in Linux Kernel version v5.11.16.

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