diff options
| author | Andrew Cooper <andrew.cooper3@citrix.com> | 2025-10-20 15:41:24 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-29 14:09:00 +0100 |
| commit | e1e9175a3c6c534e76603a7caf4185dfe2c2dc12 (patch) | |
| tree | c37bf982e9576910dbd517c5081471e5f043a3cf | |
| parent | 533b917e065fb80303dd4dba325cb41689e3f60f (diff) | |
| download | linux-e1e9175a3c6c534e76603a7caf4185dfe2c2dc12.tar.gz linux-e1e9175a3c6c534e76603a7caf4185dfe2c2dc12.tar.bz2 linux-e1e9175a3c6c534e76603a7caf4185dfe2c2dc12.zip | |
x86/microcode: Fix Entrysign revision check for Zen1/Naples
commit 876f0d43af78639790bee0e57b39d498ae35adcf upstream.
... to match AMD's statement here:
https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7033.html
Fixes: 50cef76d5cb0 ("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>
| -rw-r--r-- | arch/x86/kernel/cpu/microcode/amd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c index 910accfeb785..5d2949b1e4b3 100644 --- a/arch/x86/kernel/cpu/microcode/amd.c +++ b/arch/x86/kernel/cpu/microcode/amd.c @@ -182,7 +182,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; |
