USB: serial: cypress_m8: fix memory corruption with small endpoint
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3416eaa1f8f8d516b77de514e14cf8da256d28fb · < 284105c40fc31fff90cdab8a0377aaeb92f87f0e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
USB: serial: cypress_m8: fix memory corruption with small endpoint
Make sure that the interrupt-out endpoint max packet size is at least eight bytes to avoid user-controlled slab corruption or NULL-pointer dereference should a malicious device report a smaller size.
From the CVE record · Linux
The Linux kernel’s cypress_m8 USB serial driver is vulnerable when a malicious USB device reports an interrupt-out endpoint maximum packet size smaller than eight bytes. An attacker who can present such a device may cause user-controlled slab corruption or a NULL-pointer dereference.
Engineers running Linux kernels with the cypress_m8 USB serial driver should check whether their kernels include the fix; affected versions were not specified.