What’s Vulnerable › Vulnerabilities

CVE-2022-49122: dm ioctl: prevent potential spectre v1 gadget

Description

In the Linux kernel, the following vulnerability has been resolved: dm ioctl: prevent potential spectre v1 gadget It appears like cmd could be a Spectre v1 gadget as it's supplied by a user and used as an array index. Prevent the contents of kernel memory from being leaked to userspace via speculative execution by using array_index_nospec.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.276, 4.19.238, 4.9.311, 5.10.111. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49122 or the next vulnerability affects your stack