mirror-linux/drivers/net/can/usb
Stéphane Grosjean c443be70aa can: peak_usb: fix shift-out-of-bounds issue
Explicitly uses a 64-bit constant when the number of bits used for its
shifting is 32 (which is the case for PC CAN FD interfaces supported by
this driver).

Signed-off-by: Stéphane Grosjean <stephane.grosjean@hms-networks.com>
Link: https://patch.msgid.link/20250918132413.30071-1-stephane.grosjean@free.fr
Reported-by: Marc Kleine-Budde <mkl@pengutronix.de>
Closes: https://lore.kernel.org/20250917-aboriginal-refined-honeybee-82b1aa-mkl@pengutronix.de
Fixes: bb4785551f ("can: usb: PEAK-System Technik USB adapters driver core")
[mkl: update subject, apply manually]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2025-09-19 19:17:37 +02:00
..
etas_es58x can: etas_es58x: populate ndo_change_mtu() to prevent buffer overflow 2025-09-19 19:03:01 +02:00
kvaser_usb can: kvaser_usb: Add devlink port support 2025-07-25 18:01:22 +02:00
peak_usb can: peak_usb: fix shift-out-of-bounds issue 2025-09-19 19:17:37 +02:00
Kconfig can: kvaser_usb: Add devlink support 2025-07-25 18:01:21 +02:00
Makefile
ems_usb.c can: ems_usb: ems_usb_rx_err(): fix {rx,tx}_errors statistics 2024-11-26 10:51:06 +01:00
esd_usb.c can: dev: add struct data_bittiming_params to group FD parameters 2025-05-21 14:33:28 +02:00
f81604.c can: f81604: f81604_handle_can_bus_errors(): fix {rx,tx}_errors statistics 2024-11-26 10:51:12 +01:00
gs_usb.c time/timecounter: Fix the lie that struct cyclecounter is const 2025-07-01 15:38:25 +02:00
mcba_usb.c can: mcba_usb: populate ndo_change_mtu() to prevent buffer overflow 2025-09-19 19:03:01 +02:00
ucan.c can: ucan: fix out of bound read in strscpy() source 2025-03-14 09:44:54 +01:00
usb_8dev.c