CVE
CVE-2023-0045
CNA description
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 versions
All Linux kernel vulnerabilities →
- ≥ 6.1, < 6.1.5Fixed in 6.1.5
- ≥ 5.16, < 6.0.19Fixed in 6.0.19
- ≥ 5.11, < 5.15.87Fixed in 5.15.87
- ≥ 5.5.0, < 5.10.163Fixed in 5.10.163
- ≥ 4.20, < 5.4.229Fixed in 5.4.229
- ≥ 4.19.7, < 4.19.270Fixed in 4.19.270
- ≥ 4.14.86, < 4.14.303Fixed in 4.14.303
- ≥ 4.9.176, < 4.10Fixed in 4.10
- ≥ 4.4.180, < 4.5Fixed in 4.5
- ≥ 3.16.68, < 3.17Fixed in 3.17
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/tip/a664ec9158eeddd75121d39c9a0758016097fa96 · Patch
- lists.debian.org/debian-lts-announce/2023/05/msg00005.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2023/05/msg00006.html · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.