CVE-2023-52516
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52516 affects the Linux kernel's DMA debugging functionality. The vulnerability was discovered in the way __dma_entry_alloc_check_leak() function is called under free_entries_lock spin lock, which creates a potential deadlock condition. The issue affects Linux kernel versions up to 5.10.198, from 5.11 to 5.15.134, from 5.16 to 6.1.56, and from 6.2 to 6.5.6 (NVD).

Technical details

The vulnerability stems from a locking dependency chain issue where __dma_entry_alloc_check_leak() calls into printk -> serial console output (qcom geni) and acquires port->lock while holding free_entries_lock spin lock. This creates a reverse locking dependency chain as the qcom_geni IRQ handler can call into dma-debug code and grab free_entries_lock under port->lock. The CVSS v3.1 base score is 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a deadlock condition in the Linux kernel when using DMA debugging features with serial consoles that use DMA. This could potentially cause system hangs or denial of service conditions (Kernel Patch).

Exploitability

The vulnerability requires local access with low privileges to trigger. It specifically affects systems using DMA debugging features in combination with serial consoles that use DMA, particularly with QCOM Geni serial drivers (NVD).

Mitigation and workarounds

The issue has been fixed by moving the __dma_entry_alloc_check_leak() call out of the free_entries_lock scope to prevent acquiring the serial console's port->lock under it. The fix is available in the kernel patch fb5a4315591dae307a65fc246ca80b5159d296e1 (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74583NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2026-74582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 21, 2026
CVE-2026-74581NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesAug 21, 2026
CVE-2026-74580NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management