Menu

Star on GitHub · 3.2k

CVE-2023-52517

7.8 · HIGH

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 drai…

Published Mar 2, 2024CWE-362EPSS 0.18%

Overview

CVE-2023-52517 is a high-severity vulnerability. It was published on March 2, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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 memor

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-52517?

CVE-2023-52517 is a high-severity vulnerability. It was published on March 2, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2023-52517?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-52517?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52517?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52517 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2023

View all