CVE-2023-52474
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Mitigation and workarounds

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).

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-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-oem-6.14
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-core
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • linux-aws-fips
NoYesJan 05, 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