android_kernel_motorola_sm6375/net/can
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Oliver Hartkopp d0513b095e can: j1939: j1939_send_one(): fix missing CAN header initialization
commit 3eb3d283e8579a22b81dd2ac3987b77465b2a22f upstream.

The read access to struct canxl_frame::len inside of a j1939 created
skbuff revealed a missing initialization of reserved and later filled
elements in struct can_frame.

This patch initializes the 8 byte CAN header with zero.

Fixes: 9d71dd0c70 ("can: add support of SAE J1939 protocol")
Cc: Oleksij Rempel <[email protected]>
Link: https://lore.kernel.org/linux-can/[email protected]
Reported-by: [email protected]
Signed-off-by: Oliver Hartkopp <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Cc: [email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-11-25 17:42:10 +01:00
..
j1939 can: j1939: j1939_send_one(): fix missing CAN header initialization 2022-11-25 17:42:10 +01:00
af_can.c can: af_can: fix NULL pointer dereference in can_rx_register() 2022-11-25 17:42:05 +01:00
af_can.h
bcm.c can: bcm: check the result of can_send() in bcm_can_tx() 2022-10-26 13:22:50 +02:00
gw.c
Kconfig
Makefile
proc.c
raw.c