Critical · published May 17, 2024
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 6.1, < 6.1.75 | 6.1.75 |
| linux/linux_kernel | ≥ 6.2, < 6.6.14 | 6.6.14 |
| linux/linux_kernel | ≥ 6.7, < 6.7.2 | 6.7.2 |