CVE-2021-46977
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-46977 affects the Linux kernel's KVM (Kernel Virtual Machine) VMX functionality. The vulnerability is related to the handling of user return MSRs (Model Specific Registers) in the VMX module. The issue was discovered when probing user return MSRs via RDMSR/WRMSR operations, where a race condition could occur if KVM is preempted between these operations (NVD).

Technical details

The vulnerability occurs when probing a user return MSR via RDSMR/WRMSR operations. If the MSR holds different values per logical CPU, the WRMSR operation could corrupt the host's value if KVM is preempted between the RDMSR and WRMSR operations and then rescheduled on a different CPU. The issue was introduced in commit 4be534102624 'KVM: VMX: Initialize vmx->guest_msrs[] right after allocation'. The vulnerability has a CVSS v3.1 Base Score of 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability could lead to host MSR value corruption if exploited, potentially affecting system stability and reliability. The impact is primarily focused on availability, as indicated by the CVSS metrics showing no impact on confidentiality or integrity, but high impact on availability (NVD).

Exploitability

The vulnerability requires local access with low privileges and no user interaction to exploit. The attack complexity is low, making it relatively straightforward to exploit if an attacker has the necessary local access (NVD).

Mitigation and workarounds

The vulnerability was fixed by introducing preemption disabling when probing user return MSRs. The fix involves adding a new helper function kvm_probe_user_return_msr() that properly handles the MSR operations with preemption disabled. The patch was implemented in the Linux kernel and is available through various stable kernel releases (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-core
NoYesAug 12, 2026
CVE-2026-68449NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 12, 2026
CVE-2026-68448NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules-extra
NoYesAug 12, 2026
CVE-2026-68447NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules
NoYesAug 12, 2026
CVE-2026-68446NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management