CVE-2023-0045
Vulnerability Summary
Timeline
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
CVSS Metrics
- v3.1•MEDIUM•Score: 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Trends
Current EPSS score: 0.28%• Percentile: 51%
Techniques & Countermeasures
- CWE-610•Externally Controlled Reference to a Resource in Another Sphere
The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.
Affected Systems
- debian•debian_linux
10.0
- linux•linux_kernel
≥ 9137bb27e60e, < a664ec9158eeddd75121d39c9a0758016097fa96 | ≥ 3.16.68, < 3.17 | ≥ 4.4.180, < 4.5 | ≥ 4.9.176, < 4.10 | ≥ 4.14.86, < 4.14.303 | ≥ 4.19.7, < 4.19.270 | ≥ 4.20, < 5.4.229 | ≥ 5.5.0, < 5.10.163 | ≥ 5.11, < 5.15.87 | ≥ 5.16, < 6.0.19 | ≥ 6.1, < 6.1.5
- netapp•active_iq_unified_manager
na
- netapp•h300s_firmware
na
- netapp•h410c_firmware
na
- netapp•h410s_firmware
na
- netapp•h500s_firmware
na
- netapp•h700s_firmware
na
References (5)
- https://git.kernel.org/tip/a664ec9158eeddd75121d39c9a0758016097fa96
- https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html
- https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html
- https://security.netapp.com/advisory/ntap-20230714-0001/
- https://github.com/google/security-research/security/advisories/GHSA-9x5g-vmxf-4qj8