CVE-2023-52511

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

Medium · published March 2, 2024

CVSS v3.1
5.3
EPSS
1%
Percentile
56.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00811 · 56.5th percentile
Published
2024-03-02T21:52Z
EPSS history
Timeline
  • 02 MAR 21:52Z
    spi: sun6i: reduce DMA RX transfer width to single byte
    cvelistv5