In the Linux kernel, the following vulnerability has been resolved: spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain Previously the transfer complete IRQ immediately drained to RX FIFO to read any data remaining in FIFO to the RX buffer.
Overview
In the Linux kernel, the following vulnerability has been resolved: spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain Previously the transfer complete IRQ immediately drained to RX FIFO to read any data remaining in FIFO to the RX buffer. This behaviour is correct when dealing with SPI in interrupt mode. However in DMA mode the transfer complete interrupt still fires as soon as all bytes to be transferred have been stored in the FIFO. At that point data in the FIFO still needs to be picked up by the DMA engine. Thus the drain procedure and DMA engine end up racing to read from RX FIFO, corrupting any data read. Additionally the RX buffer pointer is never adjusted according to DMA progress in DMA mode, thus calling the RX FIFO drain procedure in DMA mode is a bug. Fix corruptions in DMA RX mode by draining RX FIFO only in interrupt mode. Also wait for completion of RX DMA when in DMA mode before returning to ensure all data has been copied to the supplied memory buffer.
- Published
- 3/2/2024
- Last modified
- 8/4/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | < 5.15.134 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.1.56 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.5.6 | Verify advisory | Source |
Linux Linux | ≥ 345980a3a5e5e1c99fc621e2ce878fb150ad2287, < bd1ec7f9983b5cd3c77e0f7cda3fa8aed041af2f | Verify advisory | Source |
Linux Linux | ≥ 345980a3a5e5e1c99fc621e2ce878fb150ad2287, < 36b29974a7ad2ff604c24ad348f940506c7b1209 | Verify advisory | Source |
Linux Linux | ≥ 345980a3a5e5e1c99fc621e2ce878fb150ad2287, < 4e149d524678431638ff378ef6025e4e89b71097 | Verify advisory | Source |
Linux Linux | ≥ 345980a3a5e5e1c99fc621e2ce878fb150ad2287, < 1f11f4202caf5710204d334fe63392052783876d | Verify advisory | Source |
Linux Linux | 5.11 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.