Linux
usb: usbtmc: check URB actual_length for interrupt-IN notifications
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= dbf3e7f654c0f06a932b8fcafac78de9d0b81d68, < e794bd67b3faf98af46f958897f6b91412c7d2a9
- >= dbf3e7f654c0f06a932b8fcafac78de9d0b81d68, < e3eec3005de44e7f37d8d7724be636446516ab42
- >= dbf3e7f654c0f06a932b8fcafac78de9d0b81d68, < ae87f505917e703ae3b487d9663d78826ff43608
- >= dbf3e7f654c0f06a932b8fcafac78de9d0b81d68, < 5de7df75ef3a2756b25fe3d582a4a2970444fe5a
- >= dbf3e7f654c0f06a932b8fcafac78de9d0b81d68, < 69020fa089f1bf0e1a10a15265f31b143a846409
- >= dbf3e7f654c0f06a932b8fcafac78de9d0b81d68, < 75f6d3da2cc646983f41807ef98851569c12bca9
- >= dbf3e7f654c0f06a932b8fcafac78de9d0b81d68, < f141b01eaa58ac7e323931d670318aa247bff087
- >= dbf3e7f654c0f06a932b8fcafac78de9d0b81d68, < 52f2ad3f7e5eb3b5908e1d685d4342519dc9cfcd
Fixed in e794bd67b3faf98af46f958897f6b91412c7d2a9, e3eec3005de44e7f37d8d7724be636446516ab42, ae87f505917e703ae3b487d9663d78826ff43608, 5de7df75ef3a2756b25fe3d582a4a2970444fe5a, 69020fa089f1bf0e1a10a15265f31b143a846409, 75f6d3da2cc646983f41807ef98851569c12bca9, f141b01eaa58ac7e323931d670318aa247bff087, 52f2ad3f7e5eb3b5908e1d685d4342519dc9cfcd
- 4.6
Fixed in 0, 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12, 7.1
Mitigation
Upgrade Linux to e794bd67b3faf98af46f958897f6b91412c7d2a9 or e3eec3005de44e7f37d8d7724be636446516ab42 or ae87f505917e703ae3b487d9663d78826ff43608 or 5de7df75ef3a2756b25fe3d582a4a2970444fe5a or 69020fa089f1bf0e1a10a15265f31b143a846409 or 75f6d3da2cc646983f41807ef98851569c12bca9 or f141b01eaa58ac7e323931d670318aa247bff087 or 52f2ad3f7e5eb3b5908e1d685d4342519dc9cfcd or later.
Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.93 or 6.18.35 or 7.0.12 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.