CVE-2023-0045
Last modified
CVE-2023-0045 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 2.40% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.16.68, < 3.17 |
| Linux | Linux Kernel | >= 4.4.180, < 4.5 |
| Linux | Linux Kernel | >= 4.9.176, < 4.10 |
| Linux | Linux Kernel | >= 4.14.86, < 4.14.303 |
| Linux | Linux Kernel | >= 4.19.7, < 4.19.270 |
| Linux | Linux Kernel | >= 4.20, < 5.4.229 |
| Linux | Linux Kernel | >= 5.5.0, < 5.10.163 |
| Linux | Linux Kernel | >= 5.11, < 5.15.87 |
| Linux | Linux Kernel | >= 5.16, < 6.0.19 |
| Linux | Linux Kernel | >= 6.1, < 6.1.5 |
| Debian | Debian Linux | 10.0 |
| Netapp | Active Iq Unified Manager | All versions |
| Netapp | H300s Firmware | All versions |
| Netapp | H500s Firmware | All versions |
| Netapp | H700s Firmware | All versions |
| Netapp | H410s Firmware | All versions |
| Netapp | H410c Firmware | All versions |
References
- https://git.kernel.org/tip/a664ec9158eeddd75121d39c9a0758016097fa96Mailing List, Patch
- https://github.com/google/security-research/security/advisories/GHSA-9x5g-vmxf-4qj8Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00005.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00006.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230714-0001/Third Party Advisory
- https://git.kernel.org/tip/a664ec9158eeddd75121d39c9a0758016097fa96Mailing List, Patch
- https://github.com/google/security-research/security/advisories/GHSA-9x5g-vmxf-4qj8Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00005.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00006.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230714-0001/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-0045?
How severe is CVE-2023-0045?
How do I fix CVE-2023-0045?
Are you affected by CVE-2023-0045?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
