Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751515AbeAPSIS (ORCPT + 1 other); Tue, 16 Jan 2018 13:08:18 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:43793 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751309AbeAPSIO (ORCPT ); Tue, 16 Jan 2018 13:08:14 -0500 Subject: Re: WARNING in can_rcv To: syzbot , davem@davemloft.net, linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, socketcan@hartkopp.net, syzkaller-bugs@googlegroups.com References: <001a11c16b40d795350562e878cc@google.com> From: Marc Kleine-Budde Message-ID: Date: Tue, 16 Jan 2018 19:07:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <001a11c16b40d795350562e878cc@google.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3jcJliiHDas2jApTjLZAJ24OLXrfls366" X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3jcJliiHDas2jApTjLZAJ24OLXrfls366 Content-Type: multipart/mixed; boundary="hoJXd0KgtsRR2rnrQhh4rBOcScsKsCVZk"; protected-headers="v1" From: Marc Kleine-Budde To: syzbot , davem@davemloft.net, linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, socketcan@hartkopp.net, syzkaller-bugs@googlegroups.com Message-ID: Subject: Re: WARNING in can_rcv References: <001a11c16b40d795350562e878cc@google.com> In-Reply-To: <001a11c16b40d795350562e878cc@google.com> --hoJXd0KgtsRR2rnrQhh4rBOcScsKsCVZk Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable On 01/16/2018 06:58 PM, syzbot wrote: > Hello, >=20 > syzkaller hit the following crash on =20 > a8750ddca918032d6349adbf9a4b6555e7db20da > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master= > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached. > C reproducer is attached > syzkaller reproducer is attached. See https://goo.gl/kgGztJ > for information about syzkaller reproducers >=20 >=20 > IMPORTANT: if you fix the bug, please add the following tag to the comm= it: > Reported-by: syzbot+4386709c0c1284dca827@syzkaller.appspotmail.com > It will help syzbot understand when the bug is fixed. See footer for =20 > details. > If you forward the report, please keep this part and the footer. >=20 > device eql entered promiscuous mode > ------------[ cut here ]------------ > PF_CAN: dropped non conform CAN skbuf: dev type 65534, len 42, datalen = 0 > WARNING: CPU: 0 PID: 3650 at net/can/af_can.c:729 can_rcv+0x1c5/0x200 = > net/can/af_can.c:724 > Kernel panic - not syncing: panic_on_warn set ... Invalid packages generate a warning (WARN_ONCE()), and you have panic_on_warn active. Should we better silently drop these CAN packages? Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --hoJXd0KgtsRR2rnrQhh4rBOcScsKsCVZk-- --3jcJliiHDas2jApTjLZAJ24OLXrfls366 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE4bay/IylYqM/npjQHv7KIOw4HPYFAlpeP3IACgkQHv7KIOw4 HPaYjggAqDJGD9BukUtf1dVA89P7I1wi5ZaeEwwU2dU1XYYG77doZ4DLOQtF5Qa3 6qcTXepSpzOL6DecMbK+V4Pa3mAWUVbgZr5EFB8AzpGW92QBUoINH6qsU8/zQjHa T9zIRUekzJM0MOX+rlwvBrdq5iGlSrSUplzid2DSqrGT8+nSJdwHRdyRbrfvAseZ Eq8NSohKe9kKNq3IYwLiw7stjEJ2v3lVBxuZ9NsezDRE5MoCcb2b/M46bMa3JZRt /j1dCjP9WkpxgpVHbyxrigflrzIGSFTpm9BSJaXnEmguolhkDbhA6XGvkeSY0M5r DZh3J1Pmeug8D8J3+nAyraMZAhU4Kw== =+sBq -----END PGP SIGNATURE----- --3jcJliiHDas2jApTjLZAJ24OLXrfls366--