CVE-2023-0045

published 25 Apr 2023 · updated 13 Feb 2025

Incorrect indirect branch prediction barrier in the Linux Kernel

4.7MediumCVSS 4.7EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in Kernel a664ec9158eeddd75121d39c9a0758016097fa96.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=9137bb27e60e <a664ec9158eeddd75121d39c9a0758016097fa96a664ec9158eeddd75121d39c9a0758016097fa96

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-0045 severity on Zeptric[![CVE-2023-0045](https://zeptric.io/badge/cve/CVE-2023-0045.svg)](https://zeptric.io/cve/CVE-2023-0045)