CVE-2023-1998
Spectre v2 SMT mitigations problem in Linux kernel
Also known as EDB-51384
Mitigation
- Upgrade Linux Kernel to 6.3 or later.
Who should check
- Anyone running Linux Kernel < 6.3
Vulnerability facts
- Affected
- Linux Kernel < 6.3
- Fixed in
- Linux Kernel 6.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.6 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.74% chance of exploitation in 30 days (percentile 78, 2026-11-26)
- CWE
- CWE-1303
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux Kernel | < 6.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-1998. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-1998.md Affected: Linux Kernel < 6.3 Fixed in: Linux Kernel 6.3 Steps: 1. Search this machine and project for Linux Kernel: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
FAQ
Is CVE-2023-1998 being exploited?
There is no confirmed exploitation: CVE-2023-1998 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.74% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-1998?
Medium: CVSS 5.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-1998?
Linux Kernel < 6.3.
Is there a fix for CVE-2023-1998?
Yes. Fixed in Linux Kernel 6.3. Upgrade Linux Kernel to 6.3 or later.
How do I check if I'm affected by CVE-2023-1998?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.