Review reviewHigh

CVE-2023-52517

Linux Linux, linux kernel

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...

CVSS
7
EPSS
0.18%
8.00% percentile
CISA KEV
Not listed
Published
2024.03.03
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.18%
Technical severityCVSS 7

Vulnerability 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...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 345980a3a5e5e1c99fc621e2ce878fb150ad2287 < bd1ec7f9983b5cd3c77e0f7cda3fa8aed041af2f, >= 345980a3a5e5e1c99fc621e2ce878fb150ad2287 < 36b29974a7ad2ff604c24ad348f940506c7b1209, >= 345980a3a5e5e1c99fc621e2ce878fb150ad2287 < 4e149d524678431638ff378ef6025e4e89b71097, >= 345980a3a5e5e1c99fc621e2ce878fb150ad2287 < 1f11f4202caf5710204d334fe63392052783876d, >= 5.11, < 5.15.134, >= 5.16 < 6.1.56, >= 6.2 < 6.5.6
Fixed versions
5.15.134, 6.1.56, 6.5.6

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-362
CVE-2023-52517 — Linux Linux, linux kernel | SECUFOCUS NOW