Re: [RFC] AMD VM crashing on deferred memory error injection

From: Borislav Petkov

Date: Mon Feb 09 2026 - 12:39:40 EST


On Mon, Feb 09, 2026 at 05:36:32PM +0100, William Roche wrote:
> An AMD Qemu VM running this kernel is no longer able to deal with the
> injection of a deferred memory error, and crashes with:
>
> [ 333.420854] mce: MSR access error: WRMSR to 0xc0002098 (tried to write
> 0x0000000000000000) at rIP: 0xffffffff8229894d (mce_wrmsrq+0x1d/0x60)
> [ 333.428105] Call Trace:

Works as advertized - KVM is not allowing the MSR write.

This enablement is not meant for VM use. Why do we care about injecting hw
errors in a guest?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette