CVE & CISA-KEV Catalog

CVE-2023-52687

CRITICAL
9.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
linuxDebian
Fixed in:6.1.76-1CVE-2023-52687
Fixed in:6.6.15-1CVE-2023-52687
Fixed in:6.6.15-1CVE-2023-52687
linuxUbuntu
Fixed in:6.5.0-41.41USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-awsUbuntu
Fixed in:6.5.0-1021.21USN-6819-2

This Ubuntu release reached end-of-life on 2024-07-12.

linux-azureUbuntu
Fixed in:6.5.0-1022.23USN-6819-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-azure-6.5Ubuntu
Fixed in:6.5.0-1022.23~22.04.1USN-6819-1
linux-gcpUbuntu
Fixed in:6.5.0-1022.24USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-gcp-6.5Ubuntu
Fixed in:6.5.0-1022.24~22.04.1USN-6818-1
linux-hwe-6.5Ubuntu
Fixed in:6.5.0-41.41~22.04.2USN-6818-4
linux-image-6.5.0-1015-starfiveUbuntu
Fixed in:6.5.0-1015.16~22.04.1USN-6819-1
Fixed in:6.5.0-1015.16USN-6819-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-1017-laptopUbuntu
Fixed in:6.5.0-1017.20USN-6818-2

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-1018-raspiUbuntu
Fixed in:6.5.0-1018.21USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-1021-awsUbuntu
Fixed in:6.5.0-1021.21USN-6819-2

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-1021-nvidiaUbuntu
Fixed in:6.5.0-1021.22USN-6818-3
linux-image-6.5.0-1021-nvidia-64kUbuntu
Fixed in:6.5.0-1021.22USN-6818-3
linux-image-6.5.0-1022-azureUbuntu
Fixed in:6.5.0-1022.23~22.04.1USN-6819-1
Fixed in:6.5.0-1022.23USN-6819-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-1022-azure-fdeUbuntu
Fixed in:6.5.0-1022.23~22.04.1USN-6819-1
Fixed in:6.5.0-1022.23USN-6819-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-1022-gcpUbuntu
Fixed in:6.5.0-1022.24~22.04.1USN-6818-1
Fixed in:6.5.0-1022.24USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-1024-oemUbuntu
Fixed in:6.5.0-1024.25USN-6819-3
linux-image-6.5.0-1024-oracleUbuntu
Fixed in:6.5.0-1024.24~22.04.1USN-6819-4
Fixed in:6.5.0-1024.24USN-6819-2

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-1024-oracle-64kUbuntu
Fixed in:6.5.0-1024.24~22.04.1USN-6819-4
Fixed in:6.5.0-1024.24USN-6819-2

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-41-genericUbuntu
Fixed in:6.5.0-41.41~22.04.2USN-6818-4
Fixed in:6.5.0-41.41USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-41-generic-64kUbuntu
Fixed in:6.5.0-41.41~22.04.2USN-6818-4
Fixed in:6.5.0-41.41USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-41-lowlatencyUbuntu
Fixed in:6.5.0-41.41.1~22.04.1USN-6818-1
Fixed in:6.5.0-41.41.1USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-6.5.0-41-lowlatency-64kUbuntu
Fixed in:6.5.0-41.41.1~22.04.1USN-6818-1
Fixed in:6.5.0-41.41.1USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-awsUbuntu
Fixed in:6.5.0.1021.21USN-6819-2

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-azureUbuntu
Fixed in:6.5.0.1022.23~22.04.1USN-6819-1
Fixed in:6.5.0.1022.26USN-6819-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-azure-fdeUbuntu
Fixed in:6.5.0.1022.23~22.04.1USN-6819-1
Fixed in:6.5.0.1022.26USN-6819-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-gcpUbuntu
Fixed in:6.5.0.1022.24~22.04.1USN-6818-1
Fixed in:6.5.0.1022.24USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-genericUbuntu
Fixed in:6.5.0.41.41USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

linux-image-generic-64kUbuntu
Fixed in:6.5.0.41.41USN-6818-1

This Ubuntu release reached end-of-life on 2024-07-12.

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

0.60%probability of exploitation in 30 days
47thpercentile

Moderate risk: more likely to be exploited than 47% of all known CVEs.

References

Related Vulnerabilities

Other CWE-252 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2005-4360High7.887%--
CVE-2007-3798Critical9.870%-Fix
CVE-2010-0211Critical9.828%-Fix
CVE-2022-23626High8.59.9%-Fix
CVE-2019-10902High7.54.7%--
CVE-2018-20216High7.53.9%-Fix

Common questions

How do I fix CVE-2023-52687?

Published advisories record a fix for 65 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2023-52687 being actively exploited?

Not that we know of. CVE-2023-52687 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.60% is the estimated probability that it will be exploited in the next 30 days. That is higher than 47% of all scored CVEs.

How severe is CVE-2023-52687?

CVE-2023-52687 has a CVSS v3 base score of 9.8, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2023-52687 affect?

Published advisories record a fix for linux (Debian), linux (Ubuntu), linux-aws (Ubuntu), linux-azure (Ubuntu), and 61 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2023-52687
CVE-2023-52687 severity badge

Markdown

[![CVE-2023-52687](https://tridentstack.com/cve/badge/CVE-2023-52687.svg)](https://tridentstack.com/cve/CVE-2023-52687)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-52687"><img src="https://tridentstack.com/cve/badge/CVE-2023-52687.svg" alt="CVE-2023-52687"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-08-04.