Skip to content

Commit cd48abd

Browse files
andyhhpopsiff
authored andcommitted
x86/microcode: Fix Entrysign revision check for Zen1/Naples
commit 876f0d4 upstream. ... to match AMD's statement here: https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7033.html Fixes: 50cef76 ("x86/microcode/AMD: Load only SHA256-checksummed patches") Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Cc: <stable@kernel.org> Link: https://patch.msgid.link/20251020144124.2930784-1-andrew.cooper3@citrix.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 3a25640814ff8867637037590538b9cd6386e526) Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent 9748f54 commit cd48abd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • arch/x86/kernel/cpu/microcode

arch/x86/kernel/cpu/microcode/amd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static int cmp_id(const void *key, const void *elem)
164164
static bool need_sha_check(u32 cur_rev)
165165
{
166166
switch (cur_rev >> 8) {
167-
case 0x80012: return cur_rev <= 0x800126f; break;
167+
case 0x80012: return cur_rev <= 0x8001277; break;
168168
case 0x80082: return cur_rev <= 0x800820f; break;
169169
case 0x83010: return cur_rev <= 0x830107c; break;
170170
case 0x86001: return cur_rev <= 0x860010e; break;

0 commit comments

Comments
 (0)