Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-52517— spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于DMA RX 传输完成和 RX FIFO 耗尽之间存在竞争。

CVSS 7.8 · High EPSS 0.18% · P7

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux 345980a3a5e5e1c99fc621e2ce878fb150ad2287< bd1ec7f9983b5cd3c77e0f7cda3fa8aed041af2f affected
345980a3a5e5e1c99fc621e2ce878fb150ad2287< 36b29974a7ad2ff604c24ad348f940506c7b1209 affected
345980a3a5e5e1c99fc621e2ce878fb150ad2287< 4e149d524678431638ff378ef6025e4e89b71097 affected
345980a3a5e5e1c99fc621e2ce878fb150ad2287< 1f11f4202caf5710204d334fe63392052783876d affected
5.11 affected
< 5.11 unaffected
5.15.134≤ 5.15.* unaffected
6.1.56≤ 6.1.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-52517

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain
Source: CVE Program / CVE List V5
Vulnerability 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 memory buffer.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于DMA RX 传输完成和 RX FIFO 耗尽之间存在竞争。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 345980a3a5e5e1c99fc621e2ce878fb150ad2287 ~ bd1ec7f9983b5cd3c77e0f7cda3fa8aed041af2f -
Linux Linux 5.11 -

II. Public POCs for CVE-2023-52517

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52517

请登录查看更多情报信息。

Other References for CVE-2023-52517 (4)

Same Patch Batch · Linux · 2024-03-02 · 57 CVEs total

CVE-2023-52515 9.8 CRITICAL RDMA/srp: Do not call scsi_done() from srp_abort()
CVE-2023-52522 8.8 HIGH net: fix possible store tearing in neigh_periodic_work()
CVE-2023-52530 8.8 HIGH wifi: mac80211: fix potential key use-after-free
CVE-2023-52502 8.8 HIGH net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
CVE-2024-26621 8.2 HIGH mm: huge_memory: don't force huge page alignment on 32 bit
CVE-2023-52523 7.8 HIGH bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets
CVE-2023-52509 7.8 HIGH ravb: Fix use-after-free issue in ravb_tx_timeout_work()
CVE-2023-52572 7.8 HIGH cifs: Fix UAF in cifs_demultiplex_thread()
CVE-2023-52574 7.8 HIGH team: fix null-ptr-deref when team device type is changed
CVE-2023-52503 7.8 HIGH tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
CVE-2023-52513 7.5 HIGH RDMA/siw: Fix connection failure handling
CVE-2023-52565 7.1 HIGH media: uvcvideo: Fix OOB read
CVE-2023-52560 mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()
CVE-2023-52563 drm/meson: fix memory leak on ->hpd_notify callback
CVE-2023-52518 Bluetooth: hci_codec: Fix leaking content of local_codecs
CVE-2023-52561 arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved
CVE-2023-52559 iommu/vt-d: Avoid memory allocation in iommu_suspend()
CVE-2023-52582 netfs: Only call folio_start_fscache() one time for each folio
CVE-2023-52562 mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()
CVE-2023-52566 nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()

Showing top 20 of 57 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2023-52517

No comments yet


Leave a comment