[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240402084809.82243-1-ashwin.kamat@broadcom.com>
Date: Tue, 2 Apr 2024 14:18:09 +0530
From: Ashwin Dayanand Kamat <ashwin.kamat@...adcom.com>
To: stable@...r.kernel.org,
gregkh@...uxfoundation.org
Cc: tglx@...utronix.de,
mingo@...hat.com,
bp@...en8.de,
x86@...nel.org,
hpa@...or.com,
linux-kernel@...r.kernel.org,
ajay.kaher@...adcom.com,
alexey.makhalov@...adcom.com,
vasavi.sirnapalli@...adcom.com,
Pu Wen <puwen@...on.cn>,
Ingo Molnar <mingo@...nel.org>,
Ashwin Dayanand Kamat <ashwin.kamat@...adcom.com>
Subject: [PATCH v5.10] x86/srso: Add SRSO mitigation for Hygon processors
From: Pu Wen <puwen@...on.cn>
[Upstream commit a5ef7d68cea1344cf524f04981c2b3f80bedbb0d]
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
Signed-off-by: Ashwin Dayanand Kamat <ashwin.kamat@...adcom.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 4ecc6072e..8aa43c8ca 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1168,7 +1168,7 @@ static const struct x86_cpu_id cpu_vuln_blacklist[] __initconst = {
VULNBL_AMD(0x15, RETBLEED),
VULNBL_AMD(0x16, RETBLEED),
VULNBL_AMD(0x17, RETBLEED | SRSO),
- VULNBL_HYGON(0x18, RETBLEED),
+ VULNBL_HYGON(0x18, RETBLEED | SRSO),
VULNBL_AMD(0x19, SRSO),
{}
};
--
2.35.6
Powered by blists - more mailing lists