In the Linux kernel, the following vulnerability has been resolved: usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg ibuf_len is the… (CVE-2026-74681)
A vulnerability in the Linux kernel's USB subsystem was resolved by correcting a buffer size check in usbio_bulk_msg(). The issue involved comparing the bulk IN buffer size (ibuf_len) against the bulk OUT endpoint size (txbuf_len), which are independent and can differ. This incorrect check could lead to improper handling of bulk IN messages. The fix ensures the IN buffer size is correctly checked against the receive buffer length (rxbuf_len), matching the actual response data buffer.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's USB I/O code stemmed from an incorrect buffer size validation in the usbio_bulk_msg() function. Specifically, the EMSGSIZE error check compared the bulk IN buffer size (ibuf_len) against the bulk OUT endpoint size (txbuf_len), which are independently obtained from different endpoints during usbio_probe(). This mismatch could cause erroneous behavior when the IN and OUT buffer sizes differ. The resolution involved changing the check to compare ibuf_len against rxbuf_len, the bulk IN endpoint size, aligning the validation with the actual buffer holding the response data.
Potential Impact
The vulnerability could cause incorrect handling of USB bulk IN messages due to improper buffer size validation. This may lead to unexpected errors or potentially unstable behavior in the USB subsystem. No specific exploitation details or impacts such as privilege escalation or code execution are provided.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to correct the buffer size check in usbio_bulk_msg(). Users should update to the kernel version that includes this fix once available. Patch status is not explicitly confirmed; check the Linux kernel vendor advisory or source repository for the exact fixed version and apply the update accordingly.
In the Linux kernel, the following vulnerability has been resolved: usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg ibuf_len is the… (CVE-2026-74681)
Description
A vulnerability in the Linux kernel's USB subsystem was resolved by correcting a buffer size check in usbio_bulk_msg(). The issue involved comparing the bulk IN buffer size (ibuf_len) against the bulk OUT endpoint size (txbuf_len), which are independent and can differ. This incorrect check could lead to improper handling of bulk IN messages. The fix ensures the IN buffer size is correctly checked against the receive buffer length (rxbuf_len), matching the actual response data buffer.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's USB I/O code stemmed from an incorrect buffer size validation in the usbio_bulk_msg() function. Specifically, the EMSGSIZE error check compared the bulk IN buffer size (ibuf_len) against the bulk OUT endpoint size (txbuf_len), which are independently obtained from different endpoints during usbio_probe(). This mismatch could cause erroneous behavior when the IN and OUT buffer sizes differ. The resolution involved changing the check to compare ibuf_len against rxbuf_len, the bulk IN endpoint size, aligning the validation with the actual buffer holding the response data.
Potential Impact
The vulnerability could cause incorrect handling of USB bulk IN messages due to improper buffer size validation. This may lead to unexpected errors or potentially unstable behavior in the USB subsystem. No specific exploitation details or impacts such as privilege escalation or code execution are provided.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to correct the buffer size check in usbio_bulk_msg(). Users should update to the kernel version that includes this fix once available. Patch status is not explicitly confirmed; check the Linux kernel vendor advisory or source repository for the exact fixed version and apply the update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-c35q-c6r4-9764
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74681"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f1acd9273b499bc768
Added to database: 08/22/2026, 22:51:29 UTC
Last enriched: 08/23/2026, 00:24:26 UTC
Last updated: 08/23/2026, 01:52:01 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.