CVE-2023-52511

published 2 Mar 2024 · updated 11 May 2026

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

5.3MediumCVSS 5.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 171f8a49f212e87a8b04087568e1b3d132e36a18, Kernel b3c21c9c7289692f4019f163c3b06d8bdf78b355, Kernel e15bb292b24630ee832bfc7fd616bd72c7682bbb and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.11, >=345980a3a5e5e1c99fc621e2ce878fb150ad2287 <171f8a49f212e87a8b04087568e1b3d132e36a18, >=345980a3a5e5e1c99fc621e2ce878fb150ad2287 <b3c21c9c7289692f4019f163c3b06d8bdf78b355, >=345980a3a5e5e1c99fc621e2ce878fb150ad2287 <e15bb292b24630ee832bfc7fd616bd72c7682bbb, >=345980a3a5e5e1c99fc621e2ce878fb150ad2287 <ff05ed4ae214011464a0156f05cac1b0b46b5fbc171f8a49f212e87a8b04087568e1b3d132e36a18, b3c21c9c7289692f4019f163c3b06d8bdf78b355, e15bb292b24630ee832bfc7fd616bd72c7682bbb, ff05ed4ae214011464a0156f05cac1b0b46b5fbc

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52511 severity on Zeptric[![CVE-2023-52511](https://zeptric.io/badge/cve/CVE-2023-52511.svg)](https://zeptric.io/cve/CVE-2023-52511)