CVE-2021-46978 Vulnerability Analysis & Exploit Details

CVE-2021-46978
Vulnerability Scoring

7.8
/10
Very High Risk

Highly exploitable, CVE-2021-46978 poses a critical security risk that could lead to severe breaches.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Local
    Vulnerability requires local system access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2021-46978 Details

Status: Analyzed

Last updated: 🕡 14 Mar 2025, 18:45 UTC
Originally published on: 🕘 28 Feb 2024, 09:15 UTC

Time between publication and last update: 380 days

CVSS Release: version 3

CVSS3 Source

134c704f-9b21-4f2e-91b3-4a467353bcc0

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVE-2021-46978 Vulnerability Summary

CVE-2021-46978: In the Linux kernel, the following vulnerability has been resolved: KVM: nVMX: Always make an attempt to map eVMCS after migration When enlightened VMCS is in use and nested state is migrated with vmx_get_nested_state()/vmx_set_nested_state() KVM can't map evmcs page right away: evmcs gpa is not 'struct kvm_vmx_nested_state_hdr' and we can't read it from VP assist page because userspace may decide to restore HV_X64_MSR_VP_ASSIST_PAGE after restoring nested state (and QEMU, for example, does exactly that). To make sure eVMCS is mapped /vmx_set_nested_state() raises KVM_REQ_GET_NESTED_STATE_PAGES request. Commit f2c7ef3ba955 ("KVM: nSVM: cancel KVM_REQ_GET_NESTED_STATE_PAGES on nested vmexit") added KVM_REQ_GET_NESTED_STATE_PAGES clearing to nested_vmx_vmexit() to make sure MSR permission bitmap is not switched when an immediate exit from L2 to L1 happens right after migration (caused by a pending event, for example). Unfortunately, in the exact same situation we still need to have eVMCS mapped so nested_sync_vmcs12_to_shadow() reflects changes in VMCS12 to eVMCS. As a band-aid, restore nested_get_evmcs_page() when clearing KVM_REQ_GET_NESTED_STATE_PAGES in nested_vmx_vmexit(). The 'fix' is far from being ideal as we can't easily propagate possible failures and even if we could, this is most likely already too late to do so. The whole 'KVM_REQ_GET_NESTED_STATE_PAGES' idea for mapping eVMCS after migration seems to be fragile as we diverge too much from the 'native' path when vmptr loading happens on vmx_set_nested_state().

Assessing the Risk of CVE-2021-46978

Access Complexity Graph

The exploitability of CVE-2021-46978 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2021-46978

CVE-2021-46978 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2021-46978, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2021-46978, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2021-46978 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2021-46978 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2021-46978 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.045% (probability of exploit)

EPSS Percentile: 18.4% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 81.6% of others.

CVE-2021-46978 References

External References

CWE Common Weakness Enumeration

NVD-CWE-noinfo

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:5.10.13:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.13:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.14:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.14:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.15:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.15:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.16:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.16:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.17:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.17:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.18:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.18:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.19:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.19:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.20:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.20:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.21:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.21:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.22:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.22:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.23:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.23:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.24:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.24:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.25:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.25:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.26:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.26:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.27:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.27:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.28:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.28:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.29:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.29:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.30:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.30:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.31:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.31:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.32:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.32:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.33:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.33:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.34:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.34:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.35:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.35:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.36:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.36:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.37:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.37:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.13:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.13:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.14:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.14:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.15:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.15:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.16:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.16:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.17:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.17:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.18:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.18:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.19:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.19:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.20:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.20:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.21:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.21:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2021-46978: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-3103 – The CLEVER - HTML5 Radio Player With History - Shoutcast and Icecast - Elementor Widget Addon plugin for WordPress is vulnerable to arbitrary file ...
  • CVE-2025-3275 – The Themesflat Addons For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the TF E Slider widget in all versions up...
  • CVE-2025-1457 – The Element Pack Addons for Elementor – Free Templates and Widgets for Your WordPress Websites plugin for WordPress is vulnerable to Stored Cross-S...
  • CVE-2025-1093 – The AIHub theme for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the generate_image function in all ver...
  • CVE-2025-3284 – The User Registration & Membership – Custom Registration Form, Login Form, and User Profile plugin for WordPress is vulnerable to Cross-Site Reques...