CVE-2023-52511

Source
https://cve.org/CVERecord?id=CVE-2023-52511
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52511.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52511
Downstream
Related
Published
2024-03-02T21:52:23.277Z
Modified
2026-03-14T12:16:47.159624Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
spi: sun6i: reduce DMA RX transfer width to single byte
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52511.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
345980a3a5e5e1c99fc621e2ce878fb150ad2287
Fixed
ff05ed4ae214011464a0156f05cac1b0b46b5fbc
Fixed
e15bb292b24630ee832bfc7fd616bd72c7682bbb
Fixed
b3c21c9c7289692f4019f163c3b06d8bdf78b355
Fixed
171f8a49f212e87a8b04087568e1b3d132e36a18

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52511.json"