November 18th, 2024

Linux Fixes Hosts Randomly Rebooting During Virtualization with Ryzen 7000/8000

The Linux 6.12 kernel will address random reboots in AMD Ryzen 7000/8000 CPUs during virtualization by disabling incorrect VMLOAD/VMSAVE support, while also fixing Kdump failures related to Secure Memory Encryption.

Read original articleLink Icon
Linux Fixes Hosts Randomly Rebooting During Virtualization with Ryzen 7000/8000

The upcoming Linux 6.12 kernel release includes a critical fix addressing random host reboots experienced during virtualization on AMD Ryzen 7000 and 8000 series CPUs. This issue, reported in July, occurs when running nested virtual machines, leading to unexpected system resets without any kernel panic or log entries. The problem stems from the incorrect advertisement of VMLOAD/VMSAVE support on these Zen 4 client processors. To resolve this, the Linux 6.12 update will disable this capability for Ryzen client processors while maintaining it for AMD EPYC server processors. Additionally, a fix for a Kdump kernel failure related to AMD Secure Memory Encryption systems will also be included. These changes aim to enhance stability and performance for users relying on virtualization with AMD's latest processors.

- Linux 6.12 will fix random reboots in AMD Ryzen 7000/8000 CPUs during virtualization.

- The issue is linked to incorrect VMLOAD/VMSAVE support advertisement on Zen 4 client processors.

- The fix will be back-ported to earlier kernel versions.

- AMD EPYC processors will retain VMLOAD/VMSAVE support.

- A separate fix for Kdump kernel failure on AMD Secure Memory Encryption systems is also included.

Link Icon 1 comments
By @RantyDave - 3 months
So another patch to fix a hardware problem. Great.