Kernel memory corruption via oversized USB bulk transfer
Published May 22, 2024 · Updated May 11, 2026
Buffer overflow in the Linux vmk80xx Comedi driver allows physically proximate attackers to corrupt kernel memory via a malicious USB device. vmk80xx_do_bulk_msg uses the transmit endpoint's maximum packet size as the receive-transfer length, which can overrun a smaller usb_rx_buf allocation. The device must be attached and trigger a bulk transfer; the resulting kernel-memory corruption can crash the host.
Summary
What happened
Buffer overflow in the Linux vmk80xx Comedi driver allows physically proximate attackers to corrupt kernel memory via a malicious USB device. vmk80xx_do_bulk_msg uses the transmit endpoint's maximum packet size as the receive-transfer length, which can overrun a smaller usb_rx_buf allocation. The device must be attached and trigger a bulk transfer; the resulting kernel-memory corruption can crash the host.
The record
- CVE
- CVE-2021-47474
- Published
- May 22, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1200
- Attack vector
- physical
- Privileges
- Unavailable
Timeline
How it unfolded
- May 22, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.31
- Affected versionversion=985cafccbf9b7f862aa1c5ee566801e18b5161fb <063f576c43d589a4c153554b681d32b3f8317c7b
- Affected versionversion=985cafccbf9b7f862aa1c5ee566801e18b5161fb <0866dcaa828c21bc2f94dac00e086078f11b5772
- Affected versionversion=985cafccbf9b7f862aa1c5ee566801e18b5161fb <1ae4715121a57bc6fa29fd992127b01907f2f993
- Affected versionversion=985cafccbf9b7f862aa1c5ee566801e18b5161fb <47b4636ebdbeba2044b3db937c4d2b6a4fe3d0f2
- Affected versionversion=985cafccbf9b7f862aa1c5ee566801e18b5161fb <78cdfd62bd54af615fba9e3ca1ba35de39d3871d
- Affected versionversion=985cafccbf9b7f862aa1c5ee566801e18b5161fb <7b0e356189327287d0eb98ec081bd6dd97068cd3
- Affected versionversion=985cafccbf9b7f862aa1c5ee566801e18b5161fb <7cfb35db607760698d299fd1cf7402dfa8f09973
- Affected versionversion=985cafccbf9b7f862aa1c5ee566801e18b5161fb <b7fd7f3387f070215e6be341e68eb5c087eeecc0
- Affected versionversion=985cafccbf9b7f862aa1c5ee566801e18b5161fb <e0e6a63fd97ad95fe05dfd77268a1952551e11a7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo