VDB

CVE-2023-0045

CVE-2023-0045 PUBLISHED CVSS 4.7 MEDIUM

Incorrect indirect branch prediction barrier in the Linux Kernel

Reported by google · Published April 25, 2023

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux4.14.304-226.531.amzn2
kernel-headersAmazon Linux4.14.304-226.531.amzn2
kernelAmazon Linux4.14.304-226.531.amzn2
kernel-toolsAmazon Linux4.14.304-226.531.amzn2
perfAmazon Linux4.14.304-226.531.amzn2
kernel-develAmazon Linux4.14.304-226.531.amzn2
kernel-livepatch-4.14.304-226.531Amazon Linux1.0-0.amzn2
python-perfAmazon Linux4.14.304-226.531.amzn2
linux_kernellinux6.1.5, 6.0.19, 5.15.87, 5.10.163, 5.4.229, 4.19.270, 4.14.303, 4.10, 4.5, 3.17
kernelLinuxa664ec9158eeddd75121d39c9a0758016097fa96

Risk scores

CVSS 3.1
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
LinuxLinux Kernel9137bb27e60e
LinuxLinux Kernel9137bb27e60e

Timeline

  • Feb 4, 2023 PoC Published (8 in total, the first dated here)
  • Feb 5, 2023 CVE Published
  • Apr 26, 2023 EPSS Score (30 in total, the first dated here)
  • Jan 13, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory (64 in total, the first dated here)
  • May 22, 2026 Coalition ESS Score
  • Aug 9, 2026 Distribution Patch (59 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-0045
vulnetix vdb fixes CVE-2023-0045

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-0045/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›