CVE & CISA-KEV Catalog

CVE-2023-1998

MEDIUM
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
linuxDebian
Fixed in:5.10.178-1CVE-2023-1998
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-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-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
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
bpftoolRocky
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-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
Fixed in:0:4.18.0-372.87.1.el8_6RHSA-2024:0412
bpftool-debuginfoRed Hat / RHEL
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-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
bpftool-debuginfoRocky
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
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
kernelRed Hat / RHEL
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
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
kernelRocky
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-477.58.1.el8_8RHSA-2024:3810
Fixed in:0:4.18.0-477.58.1.el8_8RHSA-2024:3810
kernel-64kRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64kRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-coreRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-coreRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debugRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debugRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-coreRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-coreRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-debuginfoRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-debuginfoRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-develRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-develRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-devel-matchedRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-devel-matchedRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-modulesRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-modulesRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-modules-coreRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-modules-coreRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-modules-extraRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debug-modules-extraRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debuginfoRed Hat / RHEL
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-debuginfoRocky
Fixed in:0:5.14.0-284.25.1.el9_2RHSA-2023:4377
kernel-64k-develRocky
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
69thpercentile

Moderate risk: more likely to be exploited than 69% of all known CVEs.

References

Exploit1
Other references1

Related Vulnerabilities

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

CVESeverityCVSSEPSSExploitedFix
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 308 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 69% 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 linux (Debian), bpftool (Red Hat / RHEL), bpftool (Rocky), bpftool-debuginfo (Red Hat / RHEL), and 304 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>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart 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 2025-02-13.