CVE-2023-52687

published 17 May 2024 · updated 5 Aug 2026

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

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 4c0ac81a172a69a7733290915276672787e904ec, Kernel 8084b788c2fb1260f7d44c032d5124680b20d2b2, Kernel 87e02063d07708cac5bfe9fd3a6a242898758ac8 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.1, >=49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1 <4c0ac81a172a69a7733290915276672787e904ec, >=49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1 <8084b788c2fb1260f7d44c032d5124680b20d2b2, >=49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1 <87e02063d07708cac5bfe9fd3a6a242898758ac8, >=49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1 <fc0b785802b856566df3ac943e38a072557001c44c0ac81a172a69a7733290915276672787e904ec, 8084b788c2fb1260f7d44c032d5124680b20d2b2, 87e02063d07708cac5bfe9fd3a6a242898758ac8, fc0b785802b856566df3ac943e38a072557001c4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52687 severity on Zeptric[![CVE-2023-52687](https://zeptric.io/badge/cve/CVE-2023-52687.svg)](https://zeptric.io/cve/CVE-2023-52687)