Skip to contentSkip to conversation

x86/bugs: Add missing NO_SSB flag

PATCH Superseded Daniel Sneddon 2 participants 5 messages Aug 28, 2024 – Aug 29, 2024 x86

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/bugs: Add missing NO_SSB flag

The Moorefield and Lightning Mountain Atom processors are missing the NO_SSB flag in the vulnerabilities whitelist. This will cause unaffected parts to incorrectly be reported as vulnerable. Add the missing flag.

---
 arch/x86/kernel/cpu/common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/cpu/common.c +2 -2
index d4e539d4e158..be307c9ef263 100644
@@ -1165,8 +1165,8 @@ static const __initconst struct x86_cpu_id cpu_vuln_whitelist[] = {
 
 	VULNWL_INTEL(INTEL_CORE_YONAH,		NO_SSB),
 
-	VULNWL_INTEL(INTEL_ATOM_AIRMONT_MID,	NO_L1TF | MSBDS_ONLY | NO_SWAPGS | NO_ITLB_MULTIHIT),
-	VULNWL_INTEL(INTEL_ATOM_AIRMONT_NP,	NO_L1TF | NO_SWAPGS | NO_ITLB_MULTIHIT),
+	VULNWL_INTEL(INTEL_ATOM_AIRMONT_MID,	NO_SSB | NO_L1TF | NO_SWAPGS | NO_ITLB_MULTIHIT | MSBDS_ONLY),
+	VULNWL_INTEL(INTEL_ATOM_AIRMONT_NP,	NO_SSB | NO_L1TF | NO_SWAPGS | NO_ITLB_MULTIHIT),
 
 	VULNWL_INTEL(INTEL_ATOM_GOLDMONT,	NO_MDS | NO_L1TF | NO_SWAPGS | NO_ITLB_MULTIHIT | NO_MMIO),
 	VULNWL_INTEL(INTEL_ATOM_GOLDMONT_D,	NO_MDS | NO_L1TF | NO_SWAPGS | NO_ITLB_MULTIHIT | NO_MMIO),
Signature · 1 line
2.25.1
#1 lore raw
Quoted 4 lines · Daniel Sneddon

The Moorefield and Lightning Mountain Atom processors are missing the NO_SSB flag in the vulnerabilities whitelist. This will cause unaffected parts to incorrectly be reported as vulnerable. Add the missing flag.

It'd be really cool to add two things to these changelogs: First, who figured this out and how? Basically, who cares and why? Second, what public Intel documentation supports this change?

#2 lore raw
Quoted 9 lines · Dave Hansen
Quoted 4 lines · Daniel Sneddon

The Moorefield and Lightning Mountain Atom processors are missing the NO_SSB flag in the vulnerabilities whitelist. This will cause unaffected parts to incorrectly be reported as vulnerable. Add the missing flag.

It'd be really cool to add two things to these changelogs: First, who figured this out and how? Basically, who cares and why? Second, what public Intel documentation supports this change?

The first thing I can do no problem. The second..... :(

#3 lore raw
Quoted 10 lines · Daniel Sneddon
Quoted 8 lines · Dave Hansen
Quoted 4 lines · Daniel Sneddon

The Moorefield and Lightning Mountain Atom processors are missing the NO_SSB flag in the vulnerabilities whitelist. This will cause unaffected parts to incorrectly be reported as vulnerable. Add the missing flag.

It'd be really cool to add two things to these changelogs: First, who figured this out and how? Basically, who cares and why? Second, what public Intel documentation supports this change?

The first thing I can do no problem. The second..... 🙁

Heh, I went looking just after I asked. These CPUs are ghosts as far as the docs are concerned. I assume because they are end-of-life'd (or whatever the proper name is). But even saying _that_ in the changelog would be helpful.

#4 lore raw
Quoted 10 lines · Dave Hansen
Quoted 9 lines · Daniel Sneddon
Quoted 8 lines · Dave Hansen
Quoted 4 lines · Daniel Sneddon

The Moorefield and Lightning Mountain Atom processors are missing the NO_SSB flag in the vulnerabilities whitelist. This will cause unaffected parts to incorrectly be reported as vulnerable. Add the missing flag.

It'd be really cool to add two things to these changelogs: First, who figured this out and how? Basically, who cares and why? Second, what public Intel documentation supports this change?

Quoted 6 lines
Quoted 1 line

The first thing I can do no problem. The second..... 🙁

Heh, I went looking just after I asked. These CPUs are ghosts as far as the docs are concerned. I assume because they are end-of-life'd (or whatever the proper name is). But even saying _that_ in the changelog would be helpful.

Will do!