usb: aqc111: check packet for fixup for true limit
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 361459cd9642631f048719169da9ef14cbf4a932 · < ccab434e674ca95d483788b1895a70c21b7f016a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
usb: aqc111: check packet for fixup for true limit
If a device sends a packet that is inbetween 0 and sizeof(u64) the value passed to skb_trim() as length will wrap around ending up as some very large value.
The driver will then proceed to parse the header located at that position, which will either oops or process some random value.
The fix is to check against sizeof(u64) rather than 0, which the driver currently does. The issue exists since the introduction of the driver.
From the CVE record · Linux
The Linux kernel’s USB aqc111 driver mishandles packets shorter than sizeof(u64). If a device sends such a packet, the driver may crash or parse an unrelated value; the input does not specify authentication or user-interaction requirements.
Anyone running a Linux kernel with the USB aqc111 driver should check their exposure; affected versions are not specified.