CVE-2021-47475
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47475 addresses a buffer overflow vulnerability in the vmk80xx module of the Linux kernel. The vulnerability was discovered in May 2024 and affects the comedi driver's handling of USB transfer buffers. The driver previously used endpoint-sized USB transfer buffers without proper sanity checks on the sizes (NVD, Red Hat).

Technical details

The vulnerability stems from the vmk80xx driver's handling of USB transfer buffers. The driver uses endpoint-sized buffers but lacked proper size validation. A previous commit (e1f13c879a7c) inadvertently fixed NULL-pointer dereferences for cases with zero wMaxPacketSize, but other buffer access issues remained. The original driver was designed for a low-speed device with 8-byte buffers, and later support was added for a device using bulk transfers with a maximum 64-byte wMaxPacketSize (Kernel Commit).

Impact

Memory buffer allocations with incorrect sizes can result in an out-of-bounds write when performing descriptor fuzzing. This could potentially lead to memory corruption and system instability (Red Hat).

Exploitability

The vulnerability requires physical access to exploit, as it involves USB device interaction. The attack complexity is considered low, and it requires low privileges to execute. However, user interaction is not required for exploitation (Red Hat).

Mitigation and workarounds

The vulnerability has been fixed by implementing proper buffer size checks and ensuring buffers are allocated with sufficient size to handle all accesses. A minimum buffer size of 64 bytes has been established to prevent buffer overflows. The fix involves modifying the vmk80xx_alloc_usb_buffers function to use the maximum of the endpoint's maximum packet size and the minimum buffer size (Kernel Commit).

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-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-headers
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-oracle-5.15
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-uki-virt-addons
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesAug 12, 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