NetSight
critical9.8

CVE-2023-52687

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 …

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 6.1 before 6.1.75
from 6.2 before 6.6.14
from 6.7 before 6.7.2

Weakness classification

References