VDB

CVE-2023-52687

CVE-2023-52687 PUBLISHED CVSS 9.8 CRITICAL

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

Reported by linux · 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.7.2, 6.6.14, 6.1.75
LinuxLinuxfc0b785802b856566df3ac943e38a072557001c4, 87e02063d07708cac5bfe9fd3a6a242898758ac8

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1, 49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1, 49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1
LinuxLinux6.1, 0, 6.1.75
LinuxLinux6.8, 0, 6.1.75
linuxlinux_kernel6.1, 6.1, 6.1

Timeline

  • May 17, 2024 CVE Published
  • May 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (20 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 25, 2026 Security Advisory (429 in total, the first dated here)
  • Aug 5, 2026 CVE Updated
  • Nov 17, 2026 Distribution Patch (324 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-52687
vulnetix vdb fixes CVE-2023-52687

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52687/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›