Vulnerability · Published Apr 25, 2023 · Assigned by Google

CVE-2023-0045Incorrect indirect branch prediction barrier in the Linux Kernel

Medium 4.7

In plain English

A medium-severity security flaw in Linux Kernel from Linux. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.7Medium
Exploit odds (30 days)2.4%top 15.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

The current implementation of the prctl syscall does not issue an IBPB immediately during the syscall. The ib_prctl_set  function updates the Thread Information Flags (TIFs) for the task and updates the SPEC_CTRL MSR on the function __speculation_ctrl_update, but the IBPB is only issued on the next schedule, when the TIF bits are checked. This leaves the victim vulnerable to values already injected on the BTB, prior to the prctl syscall.  The patch that added the support for the conditional mitigation via prctl (ib_prctl_set) dates back to the kernel 4.9.176. We recommend upgrading past commit a664ec9158eeddd75121d39c9a0758016097fa96

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux6.1.7-1DEBIAN-CVE-2023-0045
Debian:13linux6.1.7-1DEBIAN-CVE-2023-0045
Debian:14linux6.1.7-1DEBIAN-CVE-2023-0045
Ubuntu:22.04:LTSlinux5.15.0-69.76UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux5.15.0-69.76USN-5982-1
Ubuntu:22.04:LTSlinux-aws5.15.0-1033.37UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-aws5.15.0-1033.37USN-5982-1
Ubuntu:22.04:LTSlinux-azure5.15.0-1035.42USN-5982-1
Ubuntu:22.04:LTSlinux-azure5.15.0-1035.42UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-azure-5.195.19.0-1022.23~22.04.1UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1035.42.1USN-5982-1
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1035.42.1UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-gcp5.15.0-1031.38USN-5982-1
Ubuntu:22.04:LTSlinux-gcp5.15.0-1031.38UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-gke5.15.0-1030.35USN-5987-1
Ubuntu:22.04:LTSlinux-gke5.15.0-1030.35UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1017.22USN-5982-1
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1017.22UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-hwe-5.195.19.0-38.39~22.04.1USN-5979-1
Ubuntu:22.04:LTSlinux-hwe-5.195.19.0-38.39~22.04.1UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-ibm5.15.0-1027.30USN-5987-1
Ubuntu:22.04:LTSlinux-ibm5.15.0-1027.30UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1027.32USN-6004-1
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1027.32UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-kvm5.15.0-1030.35UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-kvm5.15.0-1030.35USN-5987-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-69.76USN-5982-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-69.76UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.195.19.0-1021.22~22.04.1UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1023.23UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1028.29UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1028.29USN-5913-1
Ubuntu:22.04:LTSlinux-oem-6.06.0.0-1012.12UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-oem-6.06.0.0-1012.12USN-5914-1
Ubuntu:22.04:LTSlinux-oem-6.16.1.0-1007.7UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-oem-6.16.1.0-1007.7USN-5915-1
Ubuntu:22.04:LTSlinux-oracle5.15.0-1032.38USN-5982-1
Ubuntu:22.04:LTSlinux-oracle5.15.0-1032.38UBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-raspi5.15.0-1026.28USN-5982-1
Ubuntu:22.04:LTSlinux-raspi5.15.0-1026.28UBUNTU-CVE-2023-0045
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-0045
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-0045

Affected products (as reported)

VendorProductVersions
Linux Linux Kernel 9137bb27e60e – before a664ec9158eeddd75121d39c9a0758016097fa96

Weakness: CWE-610 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

References