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

CVE-2023-52687
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 0.60 % · centile 49 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-252 — Valeur de retour non vérifiée

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1 < 4c0ac81a172a69a7733290915276672787e904ec ; affected 49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1 < 8084b788c2fb1260f7d44c032d5124680b20d2b2 ; affected 49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1 < fc0b785802b856566df3ac943e38a072557001c4 ; affected 49186a7d9e46ff132a0ed9b721ad6b6a58dba6c1 < 87e02063d07708cac5bfe9fd3a6a242898758ac8
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.75 ≤ 6.1.* ; unaffected 6.6.14 ≤ 6.6.* ; unaffected 6.7.2 ≤ 6.7.* ; unaffected 6.8 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD