[<prev] [next>] [day] [month] [year] [list]
Message-ID: <176227378838.2601451.3901587952089036568.tip-bot2@tip-bot2>
Date: Tue, 04 Nov 2025 16:29:48 -0000
From: "tip-bot2 for Mario Limonciello" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Mario Limonciello <mario.limonciello@....com>,
"Borislav Petkov (AMD)" <bp@...en8.de>, stable@...r.kernel.org,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: x86/urgent] x86/CPU/AMD: Add missing terminator for
zen5_rdseed_microcode
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: f1fdffe0afea02ba783acfe815b6a60e7180df40
Gitweb: https://git.kernel.org/tip/f1fdffe0afea02ba783acfe815b6a60e7180df40
Author: Mario Limonciello <mario.limonciello@....com>
AuthorDate: Tue, 04 Nov 2025 10:10:06 -06:00
Committer: Borislav Petkov (AMD) <bp@...en8.de>
CommitterDate: Tue, 04 Nov 2025 17:16:14 +01:00
x86/CPU/AMD: Add missing terminator for zen5_rdseed_microcode
Running x86_match_min_microcode_rev() on a Zen5 CPU trips up KASAN for an out
of bounds access.
Fixes: 607b9fb2ce248 ("x86/CPU/AMD: Add RDSEED fix for Zen5")
Signed-off-by: Mario Limonciello <mario.limonciello@....com>
Signed-off-by: Borislav Petkov (AMD) <bp@...en8.de>
Cc: stable@...r.kernel.org
Link: https://patch.msgid.link/20251104161007.269885-1-mario.limonciello@amd.com
---
arch/x86/kernel/cpu/amd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index 8e36964..2ba9f2d 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -1038,6 +1038,7 @@ static void init_amd_zen4(struct cpuinfo_x86 *c)
static const struct x86_cpu_id zen5_rdseed_microcode[] = {
ZEN_MODEL_STEP_UCODE(0x1a, 0x02, 0x1, 0x0b00215a),
ZEN_MODEL_STEP_UCODE(0x1a, 0x11, 0x0, 0x0b101054),
+ {},
};
static void init_amd_zen5(struct cpuinfo_x86 *c)
Powered by blists - more mailing lists