USB: serial: mct_u232: fix memory corruption with small endpoint
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < d8fdf33d6fcfb90cbec26299baf2352c84b2d768| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
USB: serial: mct_u232: fix memory corruption with small endpoint
The driver overrides the maximum transfer size for a specific device which only accepts 16 byte packets for its 32 byte bulk-out endpoint.
Make sure to never increase the maximum transfer size to prevent slab corruption should a malicious device report a smaller endpoint max packet size than expected.
From the CVE record · Linux
The Linux kernel's USB serial mct_u232 driver can increase a device's maximum transfer size beyond its reported endpoint packet size. A malicious USB device that reports a smaller-than-expected packet size can trigger slab memory corruption when connected.
Teams running the Linux kernel with the USB serial mct_u232 driver should check their versions; affected versions were not specified.