usb: usbtmc: check URB actual_length for interrupt-IN notifications
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 52f2ad3f7e5eb3b5908e1d685d4342519dc9cfcd, Kernel 5de7df75ef3a2756b25fe3d582a4a2970444fe5a, Kernel 69020fa089f1bf0e1a10a15265f31b143a846409 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: usb: usbtmc: check URB actual_length for interrupt-IN notifications USBTMC devices can use an optional interrupt endpoint for notification messages. These typically contain two-byte headers indicating the payload format, but the driver does not check if these headers are present before accessing the data buffers. In cases where the URB actual_length is not enough to fit these headers, the driver will either cause an out-of-bounds read, or consume stale leftover data from a previous notification. Fix by checking if actual_data contains enough bytes for the headers, otherwise resubmit URB to the interrupt endpoint.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.6, >=dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 <52f2ad3f7e5eb3b5908e1d685d4342519dc9cfcd, >=dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 <5de7df75ef3a2756b25fe3d582a4a2970444fe5a, >=dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 <69020fa089f1bf0e1a10a15265f31b143a846409, >=dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 <75f6d3da2cc646983f41807ef98851569c12bca9, >=dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 <ae87f505917e703ae3b487d9663d78826ff43608, >=dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 <e3eec3005de44e7f37d8d7724be636446516ab42, >=dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 <e794bd67b3faf98af46f958897f6b91412c7d2a9, >=dbf3e7f654c0f06a932b8fcafac78de9d0b81d68 <f141b01eaa58ac7e323931d670318aa247bff087 | 52f2ad3f7e5eb3b5908e1d685d4342519dc9cfcd, 5de7df75ef3a2756b25fe3d582a4a2970444fe5a, 69020fa089f1bf0e1a10a15265f31b143a846409, 75f6d3da2cc646983f41807ef98851569c12bca9, ae87f505917e703ae3b487d9663d78826ff43608, e3eec3005de44e7f37d8d7724be636446516ab42, e794bd67b3faf98af46f958897f6b91412c7d2a9, f141b01eaa58ac7e323931d670318aa247bff087 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket