[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221104120430.2e6gbglqvv2hex4v@pengutronix.de>
Date: Fri, 4 Nov 2022 13:04:30 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Oliver Hartkopp <socketcan@...tkopp.net>
Cc: netdev@...r.kernel.org, linux-can@...r.kernel.org,
linux-kernel@...r.kernel.org,
Oleksij Rempel <o.rempel@...gutronix.de>,
syzbot+d168ec0caca4697e03b1@...kaller.appspotmail.com
Subject: Re: [PATCH] can: j1939: fix missing CAN header initialization
On 04.11.2022 08:50:00, Oliver Hartkopp wrote:
> 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: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
> Cc: Oleksij Rempel <o.rempel@...gutronix.de>
> Link: https://lore.kernel.org/linux-can/20221104052235.GA6474@pengutronix.de/T/#t
> Reported-by: syzbot+d168ec0caca4697e03b1@...kaller.appspotmail.com
> Signed-off-by: Oliver Hartkopp <socketcan@...tkopp.net>
Applied to linux-can + add stable on Cc.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists