# CVE-2023-52511: spi: sun6i: reduce DMA RX transfer width to single byte

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2024-03-02T21:52:23.277Z
- Modified: 2026-06-17T06:42:54.010Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: before 5.15.134; from 5.16 before 6.1.56; from 6.2 before 6.5.6

## References

- <https://git.kernel.org/stable/c/ff05ed4ae214011464a0156f05cac1b0b46b5fbc> (patch)
- <https://git.kernel.org/stable/c/e15bb292b24630ee832bfc7fd616bd72c7682bbb> (patch)
- <https://git.kernel.org/stable/c/b3c21c9c7289692f4019f163c3b06d8bdf78b355> (patch)
- <https://git.kernel.org/stable/c/171f8a49f212e87a8b04087568e1b3d132e36a18> (patch)

## Sources

- CVE List: [CVE-2023-52511](https://www.cve.org/CVERecord?id=CVE-2023-52511), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52511](https://nvd.nist.gov/vuln/detail/CVE-2023-52511), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52511 · Whole record: https://cve.day/CVE-2023-52511.json · Rebuilt by cve.day 2026-11-25T22:58:33.157Z
