What’s Vulnerable › Vulnerabilities

CVE-2022-48730: dma-buf: heaps: Fix potential spectre v1 gadget

Description

In the Linux kernel, the following vulnerability has been resolved: dma-buf: heaps: Fix potential spectre v1 gadget It appears like nr 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. [sumits: added fixes and cc: stable tags]

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.99, 5.15.22, 5.16.8. Check the vendor advisory for mitigations.

References

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