[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <169588805808.27769.603081620807141672.tip-bot2@tip-bot2>
Date: Thu, 28 Sep 2023 08:00:58 -0000
From: "tip-bot2 for Pu Wen" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Pu Wen <puwen@...on.cn>, Ingo Molnar <mingo@...nel.org>,
"Borislav Petkov (AMD)" <bp@...en8.de>, <stable@...r.kernel.org>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: x86/urgent] x86/srso: Add SRSO mitigation for Hygon processors
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: a5ef7d68cea1344cf524f04981c2b3f80bedbb0d
Gitweb: https://git.kernel.org/tip/a5ef7d68cea1344cf524f04981c2b3f80bedbb0d
Author: Pu Wen <puwen@...on.cn>
AuthorDate: Thu, 28 Sep 2023 14:59:16 +08:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Thu, 28 Sep 2023 09:57:07 +02:00
x86/srso: Add SRSO mitigation for Hygon processors
Add mitigation for the speculative return stack overflow vulnerability
which exists on Hygon processors too.
Signed-off-by: Pu Wen <puwen@...on.cn>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Acked-by: Borislav Petkov (AMD) <bp@...en8.de>
Cc: <stable@...r.kernel.org>
Link: https://lore.kernel.org/r/tencent_4A14812842F104E93AA722EC939483CEFF05@qq.com
---
arch/x86/kernel/cpu/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 382d4e6..4e5ffc8 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1303,7 +1303,7 @@ static const struct x86_cpu_id cpu_vuln_blacklist[] __initconst = {
VULNBL_AMD(0x15, RETBLEED),
VULNBL_AMD(0x16, RETBLEED),
VULNBL_AMD(0x17, RETBLEED | SMT_RSB | SRSO),
- VULNBL_HYGON(0x18, RETBLEED | SMT_RSB),
+ VULNBL_HYGON(0x18, RETBLEED | SMT_RSB | SRSO),
VULNBL_AMD(0x19, SRSO),
{}
};
Powered by blists - more mailing lists