Messages in this thread | | | Date | Mon, 8 Aug 2022 09:56:45 +0200 | From | Marc Kleine-Budde <> | Subject | Re: [PATCH] can: j1939: fix memory leak of skbs |
| |
On 05.08.2022 18:02:16, Fedor Pchelkin wrote: > We need to drop skb references taken in j1939_session_skb_queue() when > destroying a session in j1939_session_destroy(). Otherwise those skbs > would be lost. > > Link to Syzkaller info and repro: https://forge.ispras.ru/issues/11743. > > Found by Linux Verification Center (linuxtesting.org) with Syzkaller. > > Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") > Suggested-by: Oleksij Rempel <o.rempel@pengutronix.de> > Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru> > Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Added to can/master
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 | [unhandled content-type:application/pgp-signature] | |