USB: serial: safe_serial: fix memory corruption with small endpoint
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < f793b67d41e5fab719c5a90baa77cbd2fe259517| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
USB: serial: safe_serial: fix memory corruption with small endpoint
Make sure that the bulk-out buffer size is at least eight bytes to avoid user-controlled slab corruption in "safe" mode should a malicious device report a smaller size.
From the CVE record · Linux
The Linux kernel's USB safe_serial driver can suffer slab memory corruption in "safe" mode if a malicious USB device reports a bulk-out endpoint size smaller than eight bytes. The corruption is user-controlled and requires the malicious device to be connected; the input does not specify an authentication requirement.
Engineers running Linux kernels with the USB safe_serial driver should check their versions; affected versions were not specified.