spi: sun6i: reduce DMA RX transfer width to single byte (Linux Linux)

CVE-2023-52511
MEDIUM 5.3

En bref

Source
NVD
EPSS
EPSS 0.81 % · centile 57 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: spi: sun6i: reduce DMA RX transfer width to single byte Through empirical testing it has been determined that sometimes RX SPI transfers with DMA enabled return corrupted data. This is down to single or even multiple bytes lost during DMA transfer from SPI peripheral to memory. It seems the RX FIFO within the SPI peripheral can become confused when performing bus read accesses wider than a single byte to it during an active SPI transfer. This patch reduces the width of individual DMA read accesses to the RX FIFO to a single byte to mitigate that issue.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LCISA-ADP
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LNVD · 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 345980a3a5e5e1c99fc621e2ce878fb150ad2287 < ff05ed4ae214011464a0156f05cac1b0b46b5fbc ; affected 345980a3a5e5e1c99fc621e2ce878fb150ad2287 < e15bb292b24630ee832bfc7fd616bd72c7682bbb ; affected 345980a3a5e5e1c99fc621e2ce878fb150ad2287 < b3c21c9c7289692f4019f163c3b06d8bdf78b355 ; affected 345980a3a5e5e1c99fc621e2ce878fb150ad2287 < 171f8a49f212e87a8b04087568e1b3d132e36a18
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.134 ≤ 5.15.* ; unaffected 6.1.56 ≤ 6.1.* ; unaffected 6.5.6 ≤ 6.5.* ; unaffected 6.6 ≤ *

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