CVE-2023-52687

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

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 02:24 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.1 ≤ v < 6.1.756.1 ≤ v < 6.6.146.1 ≤ v < 6.7.26.1 ≤ v < 6.86.2 ≤ v < 6.6.146.7 ≤ v < 6.7.249186a7d9e46ff132a0ed9b721ad6b6a58dba6c16.1
Vendor states this is fixed in 4c0ac81a172a69a7733290915276672787e904ec (fixed)
Vendor states this is fixed in 8084b788c2fb1260f7d44c032d5124680b20d2b2 (fixed)
Vendor states this is fixed in 87e02063d07708cac5bfe9fd3a6a242898758ac8 (fixed)
Vendor states this is fixed in fc0b785802b856566df3ac943e38a072557001c4 (fixed)
Vendor states this is fixed in 6.1 (unaffected)
Vendor states this is fixed in 6.1.75 (unaffected)
Vendor states this is fixed in 6.6.14 (unaffected)
Vendor states this is fixed in 6.7.2 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4c0ac81a172a69a7733290915276672787e904ec
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8084b788c2fb1260f7d44c032d5124680b20d2b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/87e02063d07708cac5bfe9fd3a6a242898758ac8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fc0b785802b856566df3ac943e38a072557001c4

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-252

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card