CVE-2023-52980
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2023-52980 is a vulnerability discovered in the Linux kernel's block subsystem, specifically in the ublk (userspace block) driver. The issue was identified when validating drafted SPDK ublk target with large queue depth configurations for multiqueue ublk devices (NVD).

Technical details

The vulnerability stems from an overflow bug in the ublk driver where UBLKMAXQUEUEDEPTH is set to 4096 in ublkcmd.h. When setting queue depth (qd) for a ublk device, if qd is larger than 2728, the calculation of sizeof(struct ublkqueue) + depth * sizeof(struct ublkio) exceeds 65535, causing queuesize to overflow. This overflow results in ublkget_queue() referencing an incorrect pointer position (NVD).

Impact

The vulnerability can lead to out-of-bounds memory access due to incorrect pointer referencing caused by the queuesize overflow. This occurs when the wrong content of ublkqueue elements is accessed (NVD).

Mitigation and workarounds

The fix involves extending the queuesize variable in ublkdevice to 'unsigned int' type to prevent the overflow condition (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40289N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40288N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40287N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40286N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40285N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025

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