CVE-2024-46864: x86/hyperv: fix kexec crash due to VP assist page corruption

Published Sep 27, 2024
·
Updated

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 hypervpcpuinputarg handling when CPUs go online/offline") introduces a new cpuhp state for hyperv initialization.

cpuhpsetupstate() returns the state number if state is CPUHPAPONLINEDYN or CPUHPBPPREPAREDYN and 0 for all other states. For the hyperv case, since a new cpuhp state was introduced it would return 0. However, in hvmachineshutdown(), the cpuhpremovestate() call is conditioned upon "hypervinitcpuhp > 0". This will never be true and so hvcpudie() 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 panic/hang issues").

Get rid of hypervinitcpuhp entirely since we are no longer using a dynamic cpuhp state and use CPUHPAPHYPERVONLINE directly with cpuhpremovestate().

Affected Software

12 affected componentsFixes available
Linux Linux kernel>=6.4<6.6.52
Linux Linux kernel>=6.7<=6.10.11
Linux Linux kernel=6.11-rc1
Linux Linux kernel=6.11-rc2
Linux Linux kernel=6.11-rc3
Linux Linux kernel=6.11-rc4
Linux Linux kernel=6.11-rc5
Linux Linux kernel=6.11-rc6
Linux Linux kernel=6.11-rc7
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
Microsoft azl3 kernel 6.6.56.1-5
Microsoft azl3 kernel 6.6.51.1-5

Event History

Sep 27, 2024
CVE Published
via MITRE·12:42 PM
Data Sourced
via MITRE·12:42 PM
Description
Data Sourced
via Red Hat·01:23 PM
DescriptionSeverityAffected Software
Nov 9, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Jan 9, 2025
Data Sourced
via Ubuntu·06:33 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46864?

CVE-2024-46864 has been classified as a high-severity vulnerability due to its potential impact on the Linux kernel's stability.

2

How do I fix CVE-2024-46864?

To fix CVE-2024-46864, you should upgrade your Linux kernel to a patched version, such as those provided in the latest kernel updates.

3

Which versions of the Linux kernel are affected by CVE-2024-46864?

CVE-2024-46864 affects multiple versions within the range of 6.4 to 6.10.11 and specific release candidates of version 6.11.

4

What is the risk of not addressing CVE-2024-46864?

Failing to address CVE-2024-46864 may lead to system crashes or unstable behavior in environments dependent on the Linux kernel.

5

Is there any specific software package that addresses CVE-2024-46864?

Yes, the Debian package 'linux' with versions 5.10.223-1, 5.10.226-1, 6.1.123-1, and 6.12.11-1 resolves CVE-2024-46864.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203