linux_dsm_epyc7002/drivers/net/can
Richard Palethorpe b9258a2cec slcan: Don't transmit uninitialized stack data in padding
struct can_frame contains some padding which is not explicitly zeroed in
slc_bump. This uninitialized data will then be transmitted if the stack
initialization hardening feature is not enabled (CONFIG_INIT_STACK_ALL).

This commit just zeroes the whole struct including the padding.

Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
Fixes: a1044e36e4 ("can: add slcan driver for serial/USB-serial CAN adapters")
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: linux-can@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: security@kernel.org
Cc: wg@grandegger.com
Cc: mkl@pengutronix.de
Cc: davem@davemloft.net
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-04-01 11:22:35 -07:00
..
c_can
cc770 remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
ifi_canfd
m_can can: tcan4x5x: tcan4x5x_parse_config(): fix inconsistent IS_ERR and PTR_ERR 2020-01-02 15:34:26 +01:00
mscan can: mscan: mscan_rx_poll(): fix rx path lockup when returning from polling to irq mode 2020-01-02 15:34:27 +01:00
peak_canfd
rcar
sja1000 remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
softing remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
spi
usb can: gs_usb: gs_usb_probe(): use descriptors of current altsetting 2020-01-02 15:34:27 +01:00
at91_can.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
dev.c can: add missing attribute validation for termination 2020-03-03 13:28:48 -08:00
flexcan.c
grcan.c
janz-ican3.c
Kconfig
kvaser_pciefd.c
led.c
Makefile
pch_can.c
rx-offload.c
slcan.c slcan: Don't transmit uninitialized stack data in padding 2020-04-01 11:22:35 -07:00
sun4i_can.c
ti_hecc.c
vcan.c
vxcan.c
xilinx_can.c