Vulnerability in Linux Kernel
CVE-2023-0045
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
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.024, 84.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- es0j/CVE-2023-0045 (14 stars, last pushed 2023-02-07)
- ASkyeye/CVE-2023-0045 (3 stars, last pushed 2023-02-03)
Also mentioned in 8 other repositories (Ji82466dx21ohnDavi69no0dinans/awesome-security-vul-llm, k0mi-tg/CVE-POC, manas3c/CVE-POC, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/tip/a664ec9158eeddd75121d39c9a0758016097fa96 (Patch, Mailing List)
- lists.debian.org/debian-lts-announce/2023/05/msg00005.html (Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/05/msg00006.html (Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230714-0001/ (Third Party Advisory)
- github.com/google/security-research/security/advisories/GHSA-9x5g-vmxf-4qj8 (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.