cveboard RSS feed

CVE-2023-52517

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2023
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
345980a3a5e5e1c99fc621e2ce878fb150ad2287affectedgitbd1ec7f9983b5cd3c77e0f7cda3fa8aed041af2fUnavailableNone listed
345980a3a5e5e1c99fc621e2ce878fb150ad2287affectedgit36b29974a7ad2ff604c24ad348f940506c7b1209UnavailableNone listed
345980a3a5e5e1c99fc621e2ce878fb150ad2287affectedgit4e149d524678431638ff378ef6025e4e89b71097UnavailableNone listed
345980a3a5e5e1c99fc621e2ce878fb150ad2287affectedgit1f11f4202caf5710204d334fe63392052783876dUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5.11affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver5.11UnavailableNone listed
5.15.134unaffectedsemverUnavailable5.15.*None listed
6.1.56unaffectedsemverUnavailable6.1.*None listed
6.5.6unaffectedsemverUnavailable6.5.*None listed
6.6unaffectedoriginal_commit_for_fixUnavailable*None listed