CVE-2023-0045
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-devel | Amazon Linux | 4.14.304-226.531.amzn2 |
| kernel-headers | Amazon Linux | 4.14.304-226.531.amzn2 |
| kernel | Amazon Linux | 4.14.304-226.531.amzn2 |
| kernel-tools | Amazon Linux | 4.14.304-226.531.amzn2 |
| perf | Amazon Linux | 4.14.304-226.531.amzn2 |
| kernel-devel | Amazon Linux | 4.14.304-226.531.amzn2 |
| kernel-livepatch-4.14.304-226.531 | Amazon Linux | 1.0-0.amzn2 |
| python-perf | Amazon Linux | 4.14.304-226.531.amzn2 |
| linux_kernel | linux | 6.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 |
| kernel | Linux | a664ec9158eeddd75121d39c9a0758016097fa96 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | 9137bb27e60e |
| Linux | Linux Kernel | 9137bb27e60e |
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