CVE-2023-1998

Updated: 2025-02-13 22:00:13.090061

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.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0
CVSS Version 3.x MEDIUM 5.6000000000000005

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 5.6 MEDIUM Released CLSA-2024:1710164161 2024-03-11 09:55:21
CentOS 6 ELS kernel 2.6.32 5.6 MEDIUM Ignored 2023-05-05 04:17:32
CentOS 7 ELS kernel 3.10.0 5.6 MEDIUM Ignored 2023-09-19 05:07:24
CentOS 8.4 ELS kernel 4.18.0 5.6 MEDIUM Ignored 2024-06-24 11:36:18
CentOS 8.5 ELS kernel 4.18.0 5.6 MEDIUM Ignored 2024-06-24 11:36:18
CentOS Stream 8 ELS kernel 4.18.0 5.6 MEDIUM Ignored 2025-01-28 02:25:57
CloudLinux 6 ELS kernel 2.6.32 5.6 MEDIUM Ignored 2023-05-05 04:17:32
Oracle Linux 6 ELS kernel 2.6.32 5.6 MEDIUM Ignored 2023-05-05 05:04:44
Ubuntu 16.04 ELS linux-hwe 4.15.0 5.6 MEDIUM Released CLSA-2024:1714065365 2024-04-25 21:53:33
Ubuntu 16.04 ELS linux 4.4.0 5.6 MEDIUM Released CLSA-2024:1714073393 2024-04-25 21:53:31
Total: 11