From: Pu Wen <pu_wen@foxmail.com>
To: bp@alien8.de, mingo@redhat.com, dave.hansen@linux.intel.com,
x86@kernel.org, hpa@zytor.com, peterz@infradead.org,
kim.phillips@amd.com
Cc: linux-kernel@vger.kernel.org, Pu Wen <puwen@hygon.cn>,
stable@vger.kernel.org
Subject: [PATCH] x86/srso: Add SRSO mitigation for Hygon processors
Date: Thu, 28 Sep 2023 14:59:16 +0800 [thread overview]
Message-ID: <tencent_4A14812842F104E93AA722EC939483CEFF05@qq.com> (raw)
From: Pu Wen <puwen@hygon.cn>
Add mitigation for the speculative return stack overflow vulnerability
which exists on Hygon processors.
Signed-off-by: Pu Wen <puwen@hygon.cn>
Cc: <stable@vger.kernel.org>
---
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 382d4e6b848d..4e5ffc8b0e46 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),
{}
};
--
2.23.0
next reply other threads:[~2023-09-28 7:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-28 6:59 Pu Wen [this message]
2023-09-28 7:30 ` [PATCH] x86/srso: Add SRSO mitigation for Hygon processors Borislav Petkov
2023-09-28 8:00 ` [tip: x86/urgent] " tip-bot2 for Pu Wen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_4A14812842F104E93AA722EC939483CEFF05@qq.com \
--to=pu_wen@foxmail.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kim.phillips@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=puwen@hygon.cn \
--cc=stable@vger.kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.