Critical Vulnerability in Linux Kernel: DR6 Handling Flaw

linux Updated 02 Oct 2025

Summary

07/03/2025
N/A
No i
Unrated
Not published

CVE-2025-21839: In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Load DR6 with guest value only before entering .vcpu_run() loop Move the conditional loading of hardware DR6 with the guest's DR6 value out of... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Linux kernel is the core component of many operating systems, managing hardware and system resources. It provides essential services for all other parts of the operating system. This vulnerability affects the kernel's KVM (Kernel-based Virtual Machine) module, which allows multiple virtual machines to run on a single physical machine. The specific issue arises from improper handling of the DR6 register, which can lead to unexpected behavior in virtualized environments.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the KVM module related to the handling of the DR6 register. The flaw occurs when KVM loads the hardware DR6 with a stale value from the vcpu->arch.dr6 during a fastpath VM-Exit, potentially clobbering the guest's actual value. This issue is exacerbated in nested VMX setups, where the timing window for modifications to DR6 is significantly larger, leading to potential data corruption or unexpected behavior in guest virtual machines. The vulnerability can be exploited when the guest modifies DR6 while DR interception is disabled, resulting in a failure to properly synchronize the register's value.

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

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it becomes available to mitigate any risks associated with this issue.

Conclusion

The CVE-2025-21839 vulnerability in the Linux kernel's KVM module poses a significant risk to virtualized environments by improperly handling the DR6 register. Users are advised to update their systems to the patched version of the kernel to mitigate potential risks. Regular monitoring and prompt updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-21839 is a vulnerability in the Linux kernel's KVM module that affects the handling of the DR6 register, potentially leading to data corruption in virtualized environments.

The vulnerability can cause unexpected behavior in guest virtual machines, especially in nested VMX setups, where the timing of register modifications can lead to stale values being used.

If you are running a version of the Linux kernel that is vulnerable, your system may be at risk. You can check your application's vulnerability status using the Vulert playground.

While there are no specific workarounds available, it is crucial to prioritize updating your kernel to mitigate the risks associated with this vulnerability.

Detailed information about CVE-2025-21839 can be found in the official CVE database and security advisories related to the Linux kernel.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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