Skip to main content
← All vulnerabilities
CVE-2023-0045

Incorrect indirect branch prediction barrier in the Linux Kernel

Published
Last modified
published
Not listed in CISA KEV
2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • kernel

    Version range not reported

References 7

git.kernel.org

lists.debian.org

security.netapp.com

GitHub · google/security-research

GitHub · ASkyeye/CVE-2023-0045

GitHub · es0j/CVE-2023-0045