CVE-2023-0045

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-0045
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-0045.json
Aliases
  • GHSA-9x5g-vmxf-4qj8
Related
Published
2023-04-25T23:15:09Z
Modified
2023-11-29T10:15:50.114700Z
Details

The current implementation of the prctl syscall does not issue an IBPB immediately during the syscall. The ibprctlset  function updates the Thread Information Flags (TIFs) for the task and updates the SPECCTRL MSR on the function _speculationctrlupdate, 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 (ibprctlset) dates back to the kernel 4.9.176.

We recommend upgrading past commit a664ec9158eeddd75121d39c9a0758016097fa96

References

Affected packages

Git / github.com/torvalds/linux

Affected versions

v4.*

v4.20