Skip to content

Commit a5ef7d6

Browse files
Pu WenIngo Molnar
authored andcommitted
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@hygon.cn> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Borislav Petkov (AMD) <bp@alien8.de> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/tencent_4A14812842F104E93AA722EC939483CEFF05@qq.com
1 parent 94adf49 commit a5ef7d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/cpu/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1303,7 +1303,7 @@ static const struct x86_cpu_id cpu_vuln_blacklist[] __initconst = {
13031303
VULNBL_AMD(0x15, RETBLEED),
13041304
VULNBL_AMD(0x16, RETBLEED),
13051305
VULNBL_AMD(0x17, RETBLEED | SMT_RSB | SRSO),
1306-
VULNBL_HYGON(0x18, RETBLEED | SMT_RSB),
1306+
VULNBL_HYGON(0x18, RETBLEED | SMT_RSB | SRSO),
13071307
VULNBL_AMD(0x19, SRSO),
13081308
{}
13091309
};

0 commit comments

Comments
 (0)