Not scored
usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg
- Severity
- Not scored
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 121a0f839dbb397af5fabb701cea3e9983223e50 before ebfd1e82ab0a6d26efd9bdd89de899215851f5bf, from 121a0f839dbb397af5fabb701cea3e9983223e50 before 9ad0164f78b66b0b5eca3a5748cc94dd87e28124, from 121a0f839dbb397af5fabb701cea3e9983223e50 before 7e22c9f79b200672f3e477421b6c9050d8cf70a5, 6.18 Not affected: before 6.18, from 6.18.45 up to 6.18.*, from 7.1.9 up to 7.1.*, from 7.2 up to * | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: usb: misc: usbio: verificar ibuf_len contra rxbuf_len en el mensaje bulk ibuf_len es el tamaño del búfer IN (recepción) bulk, pero la verificación EMSGSIZE en usbio_bulk_msg() lo compara con txbuf_len - el tamaño del endpoint OUT bulk. Ambos se toman independientemente de diferentes endpoints en usbio_probe(), por lo que la verificación es incorrecta cuando difieren. Usar rxbuf_len para la dirección IN. Esto coincide con el búfer que realmente contiene los datos de respuesta.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74681 changed 2026-08-22 | CVE Terms of Use |
| NVD | CVE-2026-74681 changed 2026-10-14 | Public domain |