CVE-2023-0045

Medium

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

SeverityMedium
CVSS4.7
Exploit probability—
ProductLinux Kernel
PublishedApr 25, 2023
First seenApr 25, 2023
Weakness typeCWE-610CWE-610

How to fix

Update
  • linux linux_kernel3.17, 4.5, 4.10, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.87, 6.0.19, 6.1.5 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel3.16.68 ≤ v < 3.17, 4.4.180 ≤ v < 4.5, 4.9.176 ≤ v < 4.10, 4.14.86 ≤ v < 4.14.303, 4.19.7 ≤ v < 4.19.270, 4.20 ≤ v < 5.4.229, 5.5.0 ≤ v < 5.10.163, 5.11 ≤ v < 5.15.87, 5.16 ≤ v < 6.0.19, 6.1 ≤ v < 6.1.53.17, 4.5, 4.10, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.87, 6.0.19, 6.1.5
debian debian_linux10.0—
netapp active_iq_unified_managerNo range specified—
netapp h300s_firmwareNo range specified—
netapp h500s_firmwareNo range specified—
netapp h700s_firmwareNo range specified—
netapp h410s_firmwareNo range specified—
netapp h410c_firmwareNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.