cve.bz

CVE-2023-1998 Observable Discrepancy

5.6 mediumExploitEPSS 1.6%Fix available

Medium (5.6). EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.6 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
EPSS
1.6% (unchanged from 1.6% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-02-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-203 Observable Discrepancy
CWE-1303 Non-Transparent Sharing of Microarchitectural Resources
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-1998 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1998?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1998?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-1998 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux Kernelbefore 6.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.282-1DLA-3403-1
Debian10linux-5.105.10.178-3~deb10u1DLA-3404-1
Debian12, 13, 14linux6.1.20-1DEBIAN-CVE-2023-1998
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-1998
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2023-1998
Ubuntu20.04:LTSlinux5.4.0-152.169UBUNTU-CVE-2023-1998 USN-6172-1
Ubuntu20.04:LTSlinux-aws5.4.0-1104.112UBUNTU-CVE-2023-1998 USN-6185-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1038.43~20.04.1UBUNTU-CVE-2023-1998 USN-6172-1
Ubuntu20.04:LTSlinux-azure5.4.0-1110.116UBUNTU-CVE-2023-1998 USN-6185-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1040.47~20.04.1UBUNTU-CVE-2023-1998 USN-6172-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1040.47~20.04.1.1USN-6172-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1065.71UBUNTU-CVE-2023-1998 USN-6185-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1107.116UBUNTU-CVE-2023-1998 USN-6185-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1036.44~20.04.1UBUNTU-CVE-2023-1998 USN-6172-1
Ubuntu20.04:LTSlinux-gke5.4.0-1102.109UBUNTU-CVE-2023-1998 USN-6185-1
69 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-513.5.1.rt7.307.el8_9RHSA-2023:6901
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-513.5.1.rt7.307.el8_9RHSA-2023:6901
Red Hatenterprise_linux:9::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.25.1.el9_2RHSA-2023:4377
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crbbpftool-debuginfo0:7.0.0-284.25.1.el9_2RHSA-2023:4377
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.0.0-284.25.1.el9_2RHSA-2023:4377
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.25.1.el9_2RHSA-2023:4377
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, kernel-64k-debuginfo and 10 more0:5.14.0-284.25.1.el9_2RHSA-2023:4377
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 14 more0:5.14.0-284.25.1.rt14.310.el9_2RHSA-2023:4378
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 12 more0:5.14.0-284.25.1.rt14.310.el9_2RHSA-2023:4378
Red Hatrhel_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.87.1.el8_6RHSA-2024:0412
9 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-default-base5.3.18-150200.24.151.1.150200.9.73.1SUSE-SU-2023:2146-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.151.1SUSE-SU-2023:2146-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-source and 3 more5.3.18-150300.59.121.2SUSE-SU-2023:2148-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 morekernel-default-base5.3.18-150300.59.121.2.150300.18.70.2SUSE-SU-2023:2148-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 3 morekernel-syms5.3.18-150300.59.121.1SUSE-SU-2023:2148-1
SUSELinux Enterprise High Availability Extension 12 SP4drbd9.0.14+git.62f906cf-4.26.2SUSE-SU-2023:2232-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.125.1SUSE-SU-2023:2232-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.159.1SUSE-SU-2023:2163-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.145.1SUSE-SU-2023:2151-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.151.1SUSE-SU-2023:2146-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.121.2SUSE-SU-2023:2148-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.63.1SUSE-SU-2023:2140-1
36 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.121.1SUSE-SU-2023:2148-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.63.1SUSE-SU-2023:2140-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.49.1SUSE-SU-2023:2141-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.145.1SUSE-SU-2023:2151-1
openSUSELeap 15.4kernel-rt, kernel-rt_debug5.14.21-150400.15.28.2SUSE-SU-2023:2231-1
openSUSELeap 15.4kernel-syms-rt, kernel-source-rt5.14.21-150400.15.28.1SUSE-SU-2023:2231-1
openSUSELeap 15.4, Leap Micro 5.3kernel-default-base5.14.21-150400.24.63.1.150400.24.27.1SUSE-SU-2023:2140-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.3.1SUSE-SU-2023:2646-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.7.1.150500.6.2.5SUSE-SU-2023:2871-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.5.1SUSE-SU-2023:2809-1
openSUSELeap Micro 5.3kernel-default5.14.21-150400.24.63.1SUSE-SU-2023:2140-1
1 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-513.5.1.el8_9ALSA-2023:7077
AlmaLinux9bpftool7.0.0-284.25.1.el9_2ALSA-2023:4377
AlmaLinux9kernel-rt, kernel-rt-kvm, kernel-rt-core and 11 more5.14.0-284.25.1.rt14.310.el9_2ALSA-2023:4378
AlmaLinux9perf, rtla, kernel and 43 more5.14.0-284.25.1.el9_2ALSA-2023:4377
Rocky Linux9kernel-rt0:5.14.0-284.25.1.rt14.310.el9_2RLSA-2023:4378
Azure Linux2hyperv-daemons5.15.118.1-1AZL-26234
Azure Linux2kernel5.15.111.1-1AZL-26368

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

This flaw can be mitigated by disabling Simultaneous Multithreading (SMT). For instructions on how to disable SMT in RHEL, please see https://access.redhat.com/solutions/rhel-smt.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.5.1.rt7.307.el8_9Fixed 2023-11-14RHSA-2023:6901
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.5.1.el8_9Fixed 2023-11-14RHSA-2023:7077
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.58.1.el8_8Fixed 2024-06-11RHSA-2024:3810
Red Hat Enterprise Linux 9kernel-0:5.14.0-284.25.1.el9_2Fixed 2023-08-01RHSA-2023:4377
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-284.25.1.rt14.310.el9_2Fixed 2023-08-01RHSA-2023:4378
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.75.1.el9_0Fixed 2023-10-10RHSA-2023:5604
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.75.1.rt21.146.el9_0Fixed 2023-10-10RHSA-2023:5603
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-1998.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-189 Black Box Reverse Engineering Severity: Low
  • CAPEC-663 Exploitation of Transient Instruction Execution Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON