Menu

Star on GitHub · 3.4k

CVE-2024-46864

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: x86/hyperv: fix kexec crash due to VP assist page corruption commit 9636be85cc5b ("x86/hyperv: Fix hyperv_pcpu_input_arg handli…

Published Sep 27, 2024EPSS 0.21%

Overview

CVE-2024-46864 is a medium-severity vulnerability. It was published on September 27, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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:

x86/hyperv: fix kexec crash due to VP assist page corruption

commit 9636be85cc5b ("x86/hyperv: Fix hyperv_pcpu_input_arg handling when

CPUs go online/offline") introduces a new cpuhp state for hyperv

initialization.

cpuhp_setup_state() returns the state number if state is

CPUHP_AP_ONLINE_DYN or CPUHP_BP_PREPARE_DYN and 0 for all other states.

For the hyperv case, since a new cpuhp state was introduced it would

return 0. However, in hv_machine_shutdown(), the cpuhp_remove_state() call

is conditioned upon "hyperv_init_cpuhp > 0". This will never be true and

so hv_cpu_die() won't be called on all CPUs. This means the VP assist page

won't be reset. When the kexec kernel tries to setup the VP assist page

again, the hypervisor corrupts the memory region of the old VP assist page

causing a panic in case the kexec kernel is using that memory elsewhere.

This was originally fixed in commit dfe94d4086e4 ("x86/hyperv: Fix kexec

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-46864?

CVE-2024-46864 is a medium-severity vulnerability. It was published on September 27, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-46864?

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

How do I fix or remediate CVE-2024-46864?

Check the references section for vendor advisories, patches, and mitigation guidance. 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-2024-46864?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-46864 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all
Watch the demo →