mirror of
https://github.com/torvalds/linux.git
synced 2026-09-20 01:20:03 +02:00
ems_usb_read_bulk_callback() walks CPC messages packed in one USB
receive buffer.
Check that each declared message fits in the URB payload. Also require the
type-specific payload to cover the fields used by the CAN, state, error and
overrun handlers.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260706092752.79600-1-pengpeng@iscas.ac.cn
Fixes:
|
||
|---|---|---|
| .. | ||
| etas_es58x | ||
| kvaser_usb | ||
| peak_usb | ||
| ems_usb.c | ||
| esd_usb.c | ||
| f81604.c | ||
| gs_usb.c | ||
| Kconfig | ||
| Makefile | ||
| mcba_usb.c | ||
| nct6694_canfd.c | ||
| ucan.c | ||
| usb_8dev.c | ||