CVE-2023-1998: Spectre v2 SMT mitigations problem in Linux kernel

Published Apr 17, 2023
·
Updated

Last updated 25 April 2025

Other sources

Linux Kernel could allow a local authenticated attacker to obtain sensitive information, caused by a flaw in the spectrev2userselectmitigation function in arch/x86/kernel/cpu/bugs.c in the Spectre Mitigation component . By sending a specially crafted request, an attacker could exploit this vulnerability to obtain sensitive information, and use this information to launch further attacks against the affected system.

IBM

The Linux kernel allows userspace processes to enable mitigations by calling prctl with PRSETSPECULATIONCTRL which disables the speculation feature as well as by using seccomp [..] The kernel failed to protect applications that attempted to protect against Spectre v2 leaving them open to attack from other processes running on the same physical core in another hyperthread.

Reference: https://github.com/google/security-research/security/advisories/GHSA-mj4w-6495-6crx

Upstream fix: https://github.com/torvalds/linux/commit/6921ed9049bc7457f66c1596c5b78aec0dae4a9d

Red Hat

The Linux kernel allows userspace processes to enable mitigations by calling prctl with PRSETSPECULATIONCTRL 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.

MITRE

Affected Software

6 affected componentsFixes available
redhat/kernel<6.3
6.3
IBM Security Verify Governance, Identity Manager software component<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager virtual appliance component<=ISVG 10.0.2
Linux Linux kernel<6.3
Debian Debian Linux=10.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1

Event History

Apr 17, 2023
Data Sourced
via Red Hat·09:19 AM
DescriptionSeverityAffected Software
Apr 21, 2023
CVE Published
via MITRE·02:51 PM
Data Sourced
via MITRE·02:51 PM
DescriptionSeverityWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:15 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·02:10 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-1998?

CVE-2023-1998 has a high severity rating due to its potential to expose sensitive information to local authenticated attackers.

2

How do I fix CVE-2023-1998?

To mitigate CVE-2023-1998, update the Linux kernel to version 6.3 or apply the recommended patches for affected systems.

3

What software is affected by CVE-2023-1998?

CVE-2023-1998 affects various software including certain versions of the Linux kernel, IBM Security Verify Governance, and Debian Linux.

4

Can CVE-2023-1998 be exploited remotely?

CVE-2023-1998 requires local authenticated access, thus it cannot be exploited remotely.

5

What impact does CVE-2023-1998 have on system security?

CVE-2023-1998 can lead to leakage of sensitive information, which poses a significant risk to system security if exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203