Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-21839

7.3 · HIGH
Published Mar 7, 2025 linux EPSS 0.22% (12th pctl)

Overview

CVE-2025-21839 is a high-severity vulnerability affecting linux linux_kernel. It was published on March 7, 2025 and has a CVSS 3.1 base score of 7.3 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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 the core .vcpu_run() loop to fix a bug where KVM can load hardware

with a stale vcpu->arch.dr6.

When the guest accesses a DR and host userspace isn't debugging the guest,

KVM disables DR interception and loads the guest's values into hardware on

VM-Enter and saves them on VM-Exit. This allows the guest to access DRs

at will, e.g. so that a sequence of DR accesses to configure a breakpoint

only generates one VM-Exit.

For DR0-DR3, the logic/behavior is identical between VMX and SVM, and also

identical between KVM_DEBUGREG_BP_ENABLED (userspace debugging the guest)

and KVM_DEBUGREG_WONT_EXIT (guest using DRs), and so KVM handles loading

DR0-DR3 in common code, _outside_ of the core kvm_x86_ops.vcpu_run() loop.

But for DR6, the guest's value doesn't need to be loaded

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.7.1, < 5.15.182 Affected

Frequently Asked Questions

What is CVE-2025-21839?

CVE-2025-21839 is a high-severity vulnerability affecting linux linux_kernel. It was published on March 7, 2025 and has a CVSS 3.1 base score of 7.3 (HIGH).

How severe is CVE-2025-21839?

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-21839?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-21839?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-21839 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.