spi: sun6i: reduce DMA RX transfer width to single byte
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.134, 6.1.56, 6.5.6
- CVEs
- CVE-2023-52511
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 10:37 UTC · Revision 1
Source evidence
spi: sun6i: reduce DMA RX transfer width to single byte
core-osv · Original sourcePublished 2 Mar 2024, 21:52 UTC
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.
osv:CVE-2023-52511
Kernel
Fixed versions: 5.15.134, 6.1.56, 6.5.6
Complete source record
{
"id": "d5579ca059abb29654b207e1a2d4c785df721a03265e3f3f13ef9025abb5d73a",
"url": "https://osv.dev/vulnerability/CVE-2023-52511",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "spi: sun6i: reduce DMA RX transfer width to single byte",
"summary": "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.",
"evidence": "osv:CVE-2023-52511",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.134",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.56",
"evidence": "/affected/1/ranges"
},
{
"value": "6.5.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2023-52511",
"aliases": [
"CVE-2023-52511"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.134"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.56"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.5.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52511.json"
}
}
],
"modified": "2026-10-28T02:30:28.117786388Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/171f8a49f212e87a8b04087568e1b3d132e36a18",
"https://git.kernel.org/stable/c/b3c21c9c7289692f4019f163c3b06d8bdf78b355",
"https://git.kernel.org/stable/c/e15bb292b24630ee832bfc7fd616bd72c7682bbb",
"https://git.kernel.org/stable/c/ff05ed4ae214011464a0156f05cac1b0b46b5fbc",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52511.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-52511",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52511.json"
}
},
"related_cves": [
{
"value": "CVE-2023-52511",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494594,
"published_at": "2024-03-02T21:52:23.277+00:00"
}