CVE & CISA-KEV Catalog

CVE-2023-1998

MEDIUMEPSS 71th pctl
5.6
CVSS v3
NVD

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.

How to fix

Remediation Available
bpftoolAmazon
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
bpftool-debuginfoAmazon
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
kernelAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
kernel-debuginfoAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
kernel-debuginfo-common-aarch64Amazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
kernel-debuginfo-common-x86_64Amazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
kernel-develAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
kernel-headersAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
kernel-libbpfAmazon
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
kernel-libbpf-develAmazon
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
kernel-libbpf-staticAmazon
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
kernel-livepatch-4.14.309-231.529Amazon
Fixed in:0:1.0-0.amzn2
kernel-livepatch-6.1.19-30.43Amazon
Fixed in:0:1.0-0.amzn2023
Fixed in:0:1.0-0.amzn2023
kernel-toolsAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
kernel-tools-debuginfoAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
kernel-tools-develAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
perfAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
perf-debuginfoAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
python-perfAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
python-perf-debuginfoAmazon
Fixed in:0:4.14.309-231.529.amzn2
Fixed in:0:4.14.309-231.529.amzn2
python3-perfAmazon
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
python3-perf-debuginfoAmazon
Fixed in:0:6.1.19-30.43.amzn2023
Fixed in:0:6.1.19-30.43.amzn2023
linuxDebian
Fixed in:6.1.20-1CVE-2023-1998
Fixed in:6.1.20-1CVE-2023-1998
Fixed in:6.1.20-1CVE-2023-1998
bpftoolRed Hat / RHEL
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
bpftoolRocky
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
bpftool-debuginfoRocky
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
bpftool-debuginfoRed Hat / RHEL
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
kernelRed Hat / RHEL
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
kernelRocky
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
kernel-64kRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

Exploit Intelligence

1.38%probability of exploitation in 30 days
71stpercentile

Elevated risk: more likely to be exploited than 71% of all known CVEs.

References

Exploit1
Other references1

Related Vulnerabilities

Other CWE-1303 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2026-59130High5.60.3%-Fix
CVE-2026-59131High5.60.3%-Fix
CVE-2023-38575Medium5.50.3%-Fix
CVE-2023-40540Medium4.10.2%--

Common questions

How do I fix CVE-2023-1998?

Published advisories record a fix for 330 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2023-1998 being actively exploited?

Not that we know of. CVE-2023-1998 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 71% of all scored CVEs.

How severe is CVE-2023-1998?

CVE-2023-1998 has a CVSS v3 base score of 5.6, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2023-1998 affect?

Published advisories record a fix for bpftool (Amazon), bpftool-debuginfo (Amazon), kernel (Amazon), kernel-debuginfo (Amazon), and 326 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2023-1998
CVE-2023-1998 severity badge

Markdown

[![CVE-2023-1998](https://tridentstack.com/cve/badge/CVE-2023-1998.svg)](https://tridentstack.com/cve/CVE-2023-1998)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-1998"><img src="https://tridentstack.com/cve/badge/CVE-2023-1998.svg" alt="CVE-2023-1998"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.