{"id":"CVE-2023-52687","published":"2024-05-17T14:24:48Z","modified":"2026-08-05T09:11:01Z","title":"crypto: safexcel - Add error handling for dma_map_sg() calls","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: safexcel - Add error handling for dma_map_sg() calls\n\nMacro dma_map_sg() may return 0 on error. This patch enables\nchecks in case of the macro failure and ensures unmapping of\npreviously mapped buffers with dma_unmap_sg().\n\nFound by Linux Verification Center (linuxtesting.org) with static\nanalysis tool SVACE.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00602,"percentile":0.49761,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4c0ac81a172a69a7733290915276672787e904ec","tags":[]},{"url":"https://git.kernel.org/stable/c/8084b788c2fb1260f7d44c032d5124680b20d2b2","tags":[]},{"url":"https://git.kernel.org/stable/c/fc0b785802b856566df3ac943e38a072557001c4","tags":[]},{"url":"https://git.kernel.org/stable/c/87e02063d07708cac5bfe9fd3a6a242898758ac8","tags":[]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":9.95},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1, < 4c0ac81a172a69a7733290915276672787e904ec",">= 49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1, < 8084b788c2fb1260f7d44c032d5124680b20d2b2",">= 49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1, < fc0b785802b856566df3ac943e38a072557001c4",">= 49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1, < 87e02063d07708cac5bfe9fd3a6a242898758ac8"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-31T18:46:13.483061Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-57311","exploited":false,"provenance":"source"}}