CVE-2023-52511
JSON

5.3medium

spi: sun6i: reduce DMA RX transfer width to single byte

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.80% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 345980a3a5e5e1c99fc621e2ce878fb150ad2287 before ff05ed4ae214011464a0156f05cac1b0b46b5fbc, from 345980a3a5e5e1c99fc621e2ce878fb150ad2287 before e15bb292b24630ee832bfc7fd616bd72c7682bbb, from 345980a3a5e5e1c99fc621e2ce878fb150ad2287 before b3c21c9c7289692f4019f163c3b06d8bdf78b355, from 345980a3a5e5e1c99fc621e2ce878fb150ad2287 before 171f8a49f212e87a8b04087568e1b3d132e36a18, 5.11
Not affected: before 5.11, from 5.15.134 up to 5.15.*, from 6.1.56 up to 6.1.*, from 6.5.6 up to 6.5.*, from 6.6 up to *
CVE List
linux linux_kernelbefore 5.15.134, from 5.16 before 6.1.56, from 6.2 before 6.5.6NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: spi: sun6i: reduce el ancho de transferencia DMA RX a un solo byte. Mediante pruebas empíricas se ha determinado que a veces las transferencias RX SPI con DMA habilitado devuelven datos corruptos. Esto se debe a la pérdida de uno o incluso varios bytes durante la transferencia DMA desde el periférico SPI a la memoria. Parece que el RX FIFO dentro del periférico SPI puede confundirse cuando se realizan accesos de lectura al bus de más de un byte durante una transferencia SPI activa. Este parche reduce el ancho de los accesos de lectura de DMA individuales al RX FIFO a un solo byte para mitigar ese problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52511 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52511 changed 2026-06-17Public domain