Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.16.68, < 3.17 |
| Debian | Debian Linux | 10.0 |
| Netapp | Active Iq Unified Manager | - |
| Netapp | H300S Firmware | - |
| Netapp | H300S | - |
| Netapp | H500S Firmware | - |
| Netapp | H500S | - |
| Netapp | H700S Firmware | - |
| Netapp | H700S | - |
| Netapp | H410S Firmware | - |
| Netapp | H410S | - |
| Netapp | H410C Firmware | - |
| Netapp | H410C | - |
Related Weaknesses (CWE)
References
- https://git.kernel.org/tip/a664ec9158eeddd75121d39c9a0758016097fa96Mailing ListPatch
- https://github.com/google/security-research/security/advisories/GHSA-9x5g-vmxf-4ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00005.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00006.htmlMailing ListThird Party Advisory
- https://security.netapp.com/advisory/ntap-20230714-0001/Third Party Advisory
- https://git.kernel.org/tip/a664ec9158eeddd75121d39c9a0758016097fa96Mailing ListPatch
- https://github.com/google/security-research/security/advisories/GHSA-9x5g-vmxf-4ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00005.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00006.htmlMailing ListThird Party Advisory
- https://security.netapp.com/advisory/ntap-20230714-0001/Third Party Advisory
FAQ
What is CVE-2023-0045?
CVE-2023-0045 is a vulnerability with a CVSS score of 4.7 (MEDIUM). 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 t...
How severe is CVE-2023-0045?
CVE-2023-0045 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-0045?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel, Debian Debian Linux, Netapp Active Iq Unified Manager, Netapp H300S Firmware, Netapp H300S.