Re: [PATCH] x86/microcode/AMD: Validate the equivalence table size on Zen and newer

From: Borislav Petkov

Date: Fri Dec 04 2026 - 13:14:28 EST


On Fri, Dec 04, 2026 at 05:39:21PM +0800, Xingyuan Mo wrote:
> A container whose hdr[2] is larger than the file therefore underflows the
> size_t and makes the loader parse memory past the end of the buffer. On
> a Zen system a crafted kernel/x86/microcode/AuthenticAMD.bin in the

Eh, if someone can craft the blob, then you have bigger problems than this.

Lemme guess: you've been staring at the code and thought there's a verif hole
there? Or were you having an LLM poke at the code?

Or is this a real issue? If that, I would be very interested in the details...

Thx.

--
Regards/Gruss,
Boris.

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