x86/srso: Add SRSO mitigation for Hygon processors
Subsystems (2)
PATCH 1/1 x86/srso: Add SRSO mitigation for Hygon processors
From: Pu Wen <[email protected]>
[Upstream commit a5ef7d68cea1344cf524f04981c2b3f80bedbb0d]
Add mitigation for the speculative return stack overflow vulnerability which exists on Hygon processors too.
Signed-off-by Pu Wen <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
Cc <[email protected]>
Signed-off-by Ashwin Dayanand Kamat <[email protected]>
--- arch/x86/kernel/cpu/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/common.c +1 -1
@@ -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), {} };
Signature · 1 line
2.35.6
Greg KH
maintainerQuoted 7 lines · Ashwin Dayanand Kamat
From: Pu Wen <[email protected]>
[Upstream commit
a5ef7d68cea1344cf524f04981c2b3f80bedbb0d]Add mitigation for the speculative return stack overflow vulnerability which exists on Hygon processors too.
Quoted 6 lines
Signed-off-by Pu Wen <[email protected]>Signed-off-by Ingo Molnar <[email protected]>Cc <[email protected]>Signed-off-by Ashwin Dayanand Kamat <[email protected]>
Now queued up, thanks.
greg k-h