Kind
Transient execution
CVEs
2
Published
2022–2024
IBPB is the barrier an operating system or hypervisor issues when it switches between processes or guests that must not steer each other’s indirect branches. On some Intel and AMD processors it does not stop return instructions from using predictions made before it, so Spectre v2 style attacks through returns stay possible where software relies on IBPB alone. Linux 7.3 marks AMD processors whose IBPB does not clear the return predictor, as CPUID reports it, with the bug ibpb_no_ret.

CVEs

CVENameVendorsPublished
CVE-2022-23824IBPB and Return Stack Buffer InteractionsAMD2022-11-09
CVE-2023-38575Incomplete Branch Prediction Barrier: IntelIntel2024-03-14

Advisories

AMD-SB-1040: IBPB and Return Stack Buffer Interactions

CVE-2022-23824

Sources

  1. INTEL-SA-00982: 2024.1 IPU - Intel Processor Return Predictions Advisory
  2. AMD-SB-1040: IBPB and Return Stack Buffer Interactions
  3. Linux 7.3 arch/x86/kernel/cpu/common.c: X86_BUG_IBPB_NO_RET