What’s Vulnerable › Vulnerabilities

CVE-2023-52687: crypto: safexcel - Add error handling for dma_map_sg() calls

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: safexcel - Add error handling for dma_map_sg() calls Macro dma_map_sg() may return 0 on error. This patch enables checks in case of the macro failure and ensures unmapping of previously mapped buffers with dma_unmap_sg(). Found by Linux Verification Center (linuxtesting.org) with static analysis tool SVACE.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.75, 6.6.14, 6.7.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52687 or the next vulnerability affects your stack