CVE-2023-0045

HIGHCVSS 7.5/10EPSS 2.40%

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
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS Probability
2.40%

81.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
LinuxLinux Kernel>= 3.16.68, < 3.17
LinuxLinux Kernel>= 4.4.180, < 4.5
LinuxLinux Kernel>= 4.9.176, < 4.10
LinuxLinux Kernel>= 4.14.86, < 4.14.303
LinuxLinux Kernel>= 4.19.7, < 4.19.270
LinuxLinux Kernel>= 4.20, < 5.4.229
LinuxLinux Kernel>= 5.5.0, < 5.10.163
LinuxLinux Kernel>= 5.11, < 5.15.87
LinuxLinux Kernel>= 5.16, < 6.0.19
LinuxLinux Kernel>= 6.1, < 6.1.5
DebianDebian Linux10.0
NetappActive Iq Unified ManagerAll versions
NetappH300s FirmwareAll versions
NetappH500s FirmwareAll versions
NetappH700s FirmwareAll versions
NetappH410s FirmwareAll versions
NetappH410c FirmwareAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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
How severe is CVE-2023-0045?
CVE-2023-0045 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 2.40% probability of exploitation in the next 30 days.
How do I fix CVE-2023-0045?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-0045?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST