
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
The vulnerability stems from an overflow bug in the ublk driver where UBLK_MAX_QUEUE_DEPTH is set to 4096 in ublk_cmd.h. When setting queue depth (qd) for a ublk device, if qd is larger than 2728, the calculation of sizeof(struct ublk_queue) + depth * sizeof(struct ublk_io) exceeds 65535, causing queue_size to overflow. This overflow results in ublk_get_queue() referencing an incorrect pointer position (NVD).
The vulnerability can lead to out-of-bounds memory access due to incorrect pointer referencing caused by the queue_size overflow. This occurs when the wrong content of ublk_queue elements is accessed (NVD).
The vulnerability requires local access and can be triggered when configuring ublk devices with large queue depths. The issue was discovered during the validation of drafted SPDK ublk target configurations (NVD).
The fix involves extending the queue_size variable in ublk_device to 'unsigned int' type to prevent the overflow condition (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."