usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7e22c9f79b200672f3e477421b6c9050d8cf70a5, Kernel 9ad0164f78b66b0b5eca3a5748cc94dd87e28124 and Kernel ebfd1e82ab0a6d26efd9bdd89de899215851f5bf.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.18, >=121a0f839dbb397af5fabb701cea3e9983223e50 <7e22c9f79b200672f3e477421b6c9050d8cf70a5, >=121a0f839dbb397af5fabb701cea3e9983223e50 <9ad0164f78b66b0b5eca3a5748cc94dd87e28124, >=121a0f839dbb397af5fabb701cea3e9983223e50 <ebfd1e82ab0a6d26efd9bdd89de899215851f5bf | 7e22c9f79b200672f3e477421b6c9050d8cf70a5, 9ad0164f78b66b0b5eca3a5748cc94dd87e28124, ebfd1e82ab0a6d26efd9bdd89de899215851f5bf |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket