CVE-2023-1998: Spectre v2 SMT mitigations problem in Linux kernel
Vulnerability summary
CVE-2023-1998 is a medium (CVSS 5.6) vulnerability in debian debian_linux. EPSS estimates a 1.38% chance of exploitation in the next 30 days, higher than 72.1% of scored vulnerabilities. 2 public exploits are recorded.
Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 35 · Related 25Timeline
- 21-04-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
The Linux kernel allows userspace processes to enable mitigations by calling prctl with PR_SET_SPECULATION_CTRL which disables the speculation feature as well as by using seccomp. We had noticed that on VMs of at least one major cloud provider, the kernel still left the victim process exposed to attacks in some cases even after enabling the spectre-BTI mitigation with prctl. The same behavior can be observed on a bare-metal machine when forcing the mitigation to IBRS on boot command line. This happened because when plain IBRS was enabled (not enhanced IBRS), the kernel had some logic that determined that STIBP was not needed. The IBRS bit implicitly protects against cross-thread branch target injection. However, with legacy IBRS, the IBRS bit was cleared on returning to userspace, due to performance reasons, which disabled the implicit STIBP and left userspace threads vulnerable to cross-thread branch target injection against which STIBP protects.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
- NVDNIST5.6MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
EPSS trend
Probability
1.38%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.38% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundSecurity Research
Maturity: poc
Linux Kernel 6.2 - Userspace Processes To Enable Mitigation
Maturity: poc
Weaknesses
CWE · root cause- CWE-1303Non-Transparent Sharing of Microarchitectural ResourcesHardware structures shared across execution contexts (e.g., caches and branch predictors) can violate the expected architecture isolation between contexts.
- CWE-203Observable DiscrepancyThe product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu89 products
- linux< 4.4.0-253.287 | < 4.15.0-224.236 | < 5.4.0-152.169 | < 5.15.0-75.82
- linux-aws< 4.4.0-1130.136 | < 4.4.0-1168.183 | < 4.15.0-1167.180 | < 5.4.0-1104.112 | < 5.15.0-1038.43
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
- linux-aws-5.13All versions (No fix recorded)
Debian2 products
- linux< 6.1.20-1
- debian_linuxEOL10.0
Linux1 product
- linux_kernel< 6.3
3 vendors · 92 products
References
21 links- github.com/google/security-research/security/advisories/GHSA-mj4w-6495-6crxREPORTExploitThird Party Advisory