]> git.baikalelectronics.ru Git - kernel.git/commit
x86/srso: Add SRSO mitigation for Hygon processors
authorPu Wen <puwen@hygon.cn>
Thu, 28 Sep 2023 06:59:16 +0000 (14:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 12:56:59 +0000 (14:56 +0200)
commit6ce2f297a7168274547d0b5aea6c7c16268b8a96
tree6da1c923b562592257c3110749f02d3760de2ec9
parent811ba2ef0cb6402672e64ba1419d6ef95aa3405d
x86/srso: Add SRSO mitigation for Hygon processors

commit a5ef7d68cea1344cf524f04981c2b3f80bedbb0d upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/common.c