{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52687","id":"CVE-2023-52687","title":"crypto: safexcel - Add error handling for dma_map_sg() calls","description":"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.","descriptionLong":"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.","published":"2024-05-17T14:24:48.665Z","updated":"2026-10-28T02:30:33.025268856Z","reserved":"2024-03-07T14:49:46.888Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1","lessThan":"4c0ac81a172a69a7733290915276672787e904ec","status":"affected","versionType":"git"},{"version":"49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1","lessThan":"8084b788c2fb1260f7d44c032d5124680b20d2b2","status":"affected","versionType":"git"},{"version":"49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1","lessThan":"fc0b785802b856566df3ac943e38a072557001c4","status":"affected","versionType":"git"},{"version":"49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1","lessThan":"87e02063d07708cac5bfe9fd3a6a242898758ac8","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","lessThan":"6.1","status":"unaffected","versionType":"semver"},{"version":"6.1.75","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.14","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.2","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-252"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4c0ac81a172a69a7733290915276672787e904ec","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/8084b788c2fb1260f7d44c032d5124680b20d2b2","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/fc0b785802b856566df3ac943e38a072557001c4","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/87e02063d07708cac5bfe9fd3a6a242898758ac8","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52687.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52687","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00602,"epssPercentile":0.49624,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52687","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52687","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52687","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52687","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}