Files
erofs-linux/drivers/net/can
Pengpeng Hou 02925f5137 can: ems_usb: validate CPC message lengths
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Fixes: 702171adee ("ems_usb: Added support for EMS CPC-USB/ARM7 CAN/USB interface")
Cc: [email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
2026-07-29 12:00:18 +02:00
..
…
…
…
…
…
…
…
…
…