Commit 876f0d43 authored by Andrew Cooper's avatar Andrew Cooper Committed by Borislav Petkov (AMD)
Browse files

x86/microcode: Fix Entrysign revision check for Zen1/Naples

... to match AMD's statement here:

https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7033.html



Fixes: 50cef76d ("x86/microcode/AMD: Load only SHA256-checksummed patches")
Signed-off-by: default avatarAndrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Link: https://patch.msgid.link/20251020144124.2930784-1-andrew.cooper3@citrix.com
parent 19de7113
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ static bool need_sha_check(u32 cur_rev)
	}

	switch (cur_rev >> 8) {
	case 0x80012: return cur_rev <= 0x800126f; break;
	case 0x80012: return cur_rev <= 0x8001277; break;
	case 0x80082: return cur_rev <= 0x800820f; break;
	case 0x83010: return cur_rev <= 0x830107c; break;
	case 0x86001: return cur_rev <= 0x860010e; break;