Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp495847ybx; Tue, 5 Nov 2019 00:41:06 -0800 (PST) X-Google-Smtp-Source: APXvYqzK5n84oIwlSHvdsa/Re7M2hv46jqBvYJR+zvZnEnkLsudJYeOFnz7+f9A68tYGQe/TKKXz X-Received: by 2002:aa7:de92:: with SMTP id j18mr14614499edv.119.1572943266253; Tue, 05 Nov 2019 00:41:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572943266; cv=none; d=google.com; s=arc-20160816; b=HlYqhEGX6UJtEUCUcnH3kEuXzJbOJLlfGX43oMqzfUwRU9TCvZUK4kjB0vfqDeuhrK uEgst5B9w5/HzVhEbupvW2JndnE3oF0k9/FQHlOJwdUmPw6FITE8bcUX46LMD3IHPGDQ 250bBwTpZeCAKoogJuV/VV5umGer35xzHzStYWX2cYUWFivcQIXPvJ9829pCqgT6NkF6 Sw1q1pQjXoLT3muMrncglnYRdvT412ykuctA9cTHP+TFZMd/YY5RPBnpJsZzP0OC8yNR iEiZ9NXcsOG1sfSnLjgF7x2gKdUEmQjKeJjRPJRMTQdNEJz5OlT+x9gdtVSEz4ioYO59 Ty/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PRYNbG5QNqFG128DjZPqd8sFESURUG3UtspoRmOBrrA=; b=Fj+V7r9k5/S0aod7kOae6654/g0E9cQikC0vDLDQPVf4Wil3nbAKLpiz0+4MVDfEWr 4OPRQAFJwYli1n11x1qPKPd++OWHjm3QxgEdrq0VuV9T/8L3CrRDCk2nD0qrhanVwgwS iN8ObOzS5gX7+1o0p34Clh/TrOgnS9HR/Bn5zJt9F90G2kl6y+wS5CEakCZHDleXwEAP vSjKaMpvHsezYj30aWrttrI2uoK9Um0pB3Dud0IkJSb1q4Ske+yvGDDpHUJ1ri3P8xQf ysmPjt/0zorHnQhrLlgPIc5i9xgzq9RUeq5sWrrQxSciktQVOopHNzqCA5Rg/1O5gf96 A/oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=LTH5MH7Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si6608274ejx.38.2019.11.05.00.40.41; Tue, 05 Nov 2019 00:41:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=LTH5MH7Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730541AbfKEIjl (ORCPT + 99 others); Tue, 5 Nov 2019 03:39:41 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:36918 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730512AbfKEIjk (ORCPT ); Tue, 5 Nov 2019 03:39:40 -0500 Received: by mail-qk1-f196.google.com with SMTP id e187so7679081qkf.4 for ; Tue, 05 Nov 2019 00:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PRYNbG5QNqFG128DjZPqd8sFESURUG3UtspoRmOBrrA=; b=LTH5MH7ZAzm0mUlaa9ZRsoQN6SuoAu77crA2KANEa+TsjOsmVOrZfqU8TmrAweKOtj Pp3rCJ0Zg210f0W7/MZSWOFFlUI6WaEaVxJku//rUB38V8QoX+KFoun5XZfRulSqOhYE 9CGw3TId+2WjPbtcOFIOmpMtD6DaOHg3KsVDrMHWQ8vpDBqSwU6ncFEY96jKEPUcoA5d JSgauFt4wasEaP4niqeVx3gt7ZMEZ/3KMxGOYDE085QR1UwyFc1X+FzsH5Pr9p2AVN4R BcvyMF3Qcq32etyGx4E0APTzVCCD1bVnq4pEv0Loy2njx6i/omS5o0IAvpFiywrWqmyC IhNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PRYNbG5QNqFG128DjZPqd8sFESURUG3UtspoRmOBrrA=; b=bOZ3Q8FQ7zadr0QgNW8BfDNT6jhaZOcayNRGNGm2mtmY3UIia9iXRO+rXyWOzcwwA+ EK6nbPsgMOOCwRwvRy4yfkxbNSs8IEyUgF+FfMmgIesbgIFLmLQkghoq1I3mZ8h98di+ 4eXehnJ1SytCIklnnZwZym/xkajPXoPstNWc70jaM7cDjIuT1VGpPy2wH5zKA1Ku9ClY GxpML63pm3KI5UXFDm+RhgR0+oodtNZth6jt0439tr6Ey4Yn5Rgo6LKoB7DJyN5e3VKX 59faOKT10OdPJdgm1E8/xWonoF9TuzvI6RGtcqu4/TKGxnS5DM2ZBqOI1jgqpuzYZS+5 xBGQ== X-Gm-Message-State: APjAAAUmSG6Vs5ymkeBqeTw16OSf0Gm4wUiv+Th8wZ55O1o8diBBR+K+ JXGUTAIH5YOWW9MBXlm168uDQOT3rIzQJzGlDaqnNg== X-Received: by 2002:a37:6845:: with SMTP id d66mr11846617qkc.407.1572943177401; Tue, 05 Nov 2019 00:39:37 -0800 (PST) MIME-Version: 1.0 References: <0000000000009393ba059691c6a3@google.com> <0000000000009427b5059694e33c@google.com> <969f940b-05ba-3fbf-79ba-95dc1cebc40d@pengutronix.de> In-Reply-To: <969f940b-05ba-3fbf-79ba-95dc1cebc40d@pengutronix.de> From: Dmitry Vyukov Date: Tue, 5 Nov 2019 09:39:26 +0100 Message-ID: Subject: Re: KASAN: use-after-free Read in j1939_session_get_by_addr To: Marc Kleine-Budde Cc: Jose Abreu , syzbot , "arvid.brodin@alten.se" , "davem@davemloft.net" , "ilias.apalodimas@linaro.org" , "kernel@pengutronix.de" , "linux-can@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux@rempel-privat.de" , "netdev@vger.kernel.org" , "robin@protonic.nl" , "socketcan@hartkopp.net" , "syzkaller-bugs@googlegroups.com" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 5, 2019 at 9:35 AM Marc Kleine-Budde wrote: > > On 11/5/19 9:21 AM, Jose Abreu wrote: > > From: syzbot > > Date: Nov/05/2019, 08:05:01 (UTC+00:00) > > > >> syzbot has bisected this bug to: > >> > >> commit 2af6106ae949651d529c8c3f0734c3a7babd0d4b > >> Author: Jose Abreu > >> Date: Tue Jul 9 08:03:00 2019 +0000 > >> > >> net: stmmac: Introducing support for Page Pool > > > > From the config provided, stmmac driver is not even enabled. Can you > > please confirm the bisection process ? > > Looks like a false positive, as j1939 (net/can/j1939/) hit mainline with > v5.4-rc1~131^2~78^2. > > While the bisected commit is v5.3-rc1~140^2~13^2. Yes, the commit is most likely irrelevant. As you can see in the bisection log the process was diverged by "WARNING: ODEBUG bug in netdev_freemem". I think it's not the first and not the second time I see that crash breaks bisection: https://syzkaller.appspot.com/bug?id=96a64fde216dca408a5c25db4e57838c51e435aa