All reports
Medium

kernel: usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-74681

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-21

Description

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 bulk IN (receive) buffer size, but the EMSGSIZE check in usbio_bulk_msg() compares it against txbuf_len — the bulk OUT endpoint size. Both are taken independently from different endpoints in usbio_probe(), so the check is wrong when they differ. Use rxbuf_len for the IN direction. This matches the buffer that actually holds the response data.

A flaw was found in the Linux kernel's USB subsystem, specifically within the usbio module. An incorrect buffer size validation occurs in the usbio_bulk_msg() function, where the bulk IN (receive) buffer size is mistakenly compared against the bulk OUT endpoint size instead of the actual receive buffer size. This discrepancy can lead to an erroneous size check, potentially causing unexpected behavior or a denial of service when processing USB bulk messages.