
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-52474 affects the Linux kernel's hfi1 user SDMA request processing. The vulnerability was discovered in the handling of multiple payload iovecs where an iovec other than the tail iovec does not run up to the page boundary for the buffer. Two specific bugs were identified: 1) user_sdma_txadd() does not use struct user_sdma_iovec->iov.iov_len and adds up to PAGE_SIZE bytes even if some bytes are past the intended length, and 2) failure to advance to the next iovec when the current iovec is not PAGE_SIZE and lacks sufficient data to complete the packet (Kernel Patch).
The vulnerability exists in the Linux kernel's IB/hfi1 driver and has a CVSS v3.1 base score of 7.8 (HIGH) with vector: AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The issue exposes multiple bugs in the SDMA pin cache (struct mmu_rb_handler) that affect user SDMA requests with multiple payload iovecs whose buffers do not end at PAGE_SIZE. These include overlapping memory ranges resulting in duplicate pinnings, race conditions in mmu_rb_handler entry management, and improper refcount handling (NVD).
The vulnerability can lead to data corruption for user SDMA requests with multiple payload iovecs. When exploited, it can cause incorrect data transmission from iovec pages, memory corruption due to use-after-free conditions, and potential system crashes. The issue affects system stability and data integrity, particularly in systems using the hfi1 driver for InfiniBand communications (Kernel Patch).
The vulnerability has been fixed in the Linux kernel through patches that address both the immediate SDMA request processing issues and the underlying mmu_rb_handler bugs. Users should update to patched kernel versions. The fix includes changes to properly handle iovec lengths, improve memory management, and correct the SDMA pin cache handling (Kernel Patch).
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."