From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7CEDC38A2A for ; Fri, 8 May 2020 13:51:24 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8A2D6216FD for ; Fri, 8 May 2020 13:51:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="ANvNB+It" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8A2D6216FD Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1E90C22234; Fri, 8 May 2020 13:51:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PV++m6fdG0r8; Fri, 8 May 2020 13:51:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E800620416; Fri, 8 May 2020 13:51:19 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A533A1BF473 for ; Fri, 8 May 2020 13:51:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A1BD288C7B for ; Fri, 8 May 2020 13:51:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LT8f9mXi9brs for ; Fri, 8 May 2020 13:51:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qv1-f66.google.com (mail-qv1-f66.google.com [209.85.219.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id CD2F489285 for ; Fri, 8 May 2020 13:51:15 +0000 (UTC) Received: by mail-qv1-f66.google.com with SMTP id h6so728277qvz.8 for ; Fri, 08 May 2020 06:51:15 -0700 (PDT) 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=GusIZDLyGKObXLaDX4j+AFjvmp6VctXRvo86A2qqRTY=; b=ANvNB+ItxhX0LukDFkSlO2iamrJWhTqBNZPAgLOI6TGvXVQPER9P9dHO9R8MaBHuIy oLGFZJUoXZFa8iwl6dq3NdzLCUqzOffrEczbkWDBaEULHTE8DyRA4gzeIW/0KyUdfoZk 0EN1fAzWX46X7xZc/n6FSXWTN4OqzOka0t/R7AiwOx5u8vrIHWJaEu7/TFd5ArWCSdJE qGBIGF213IBiQEfaVnzFK/7fjksPzih2dpuhG4lUf4DrsHZllxQS9ILc6ZbXo7NHQrpB eZDqHBg2Rl0sOb1Nid4ANC6bx+zqlI94M1gYZQnYiQjzXnOAFoOvuJUj2DRS8/nLUX/x qoTA== 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=GusIZDLyGKObXLaDX4j+AFjvmp6VctXRvo86A2qqRTY=; b=C1xzJNaGgV0yr9aJfdKpRsmLJKnkUcg4GTBvwJeDbKIHU0D+8OxICetjLzy/HnyOqx IhxXH2dgbc7M6xrJgwLGaWeRWiggWVAn36+XyteU6jAR9N/56iOYiGmVisg+s+scyti9 FEhO/d3HRC3T0JQkzBhvWSNs6KLMn6FQ/yEH2G934T7LChjV3vC90fyiaSQAeDn50zHN +37ZML0wEZ3jaEIEufkAyEmgyvs4GZlwYmXqzq6jOBNws6PWPf+NOzhszRX9VfaRdeA6 bmbfp6pfTqwGC4ufoVAOMJ4kUxB2PcEN6eLWefwCYpIIApta3+I5bdcu7O4hQxijoLJL UACQ== X-Gm-Message-State: AGi0PuaR+96hDyIIlnGvGh/FmNVA2FGm+/qipQXqgYXho82cRCE713ya ccZdH8nrJDgr6QDI+DABhqfw+8Vd3f1wtUz3raKEag== X-Google-Smtp-Source: APiQypJg4Ssy15CyoMVkq6xudLjz21kzjN5o45bwMN5wiI7VqSjH9DFdZGHTskHEuLGotdcf0EmU0mry1fYPeJ1gU6c= X-Received: by 2002:ad4:53a2:: with SMTP id j2mr2924644qvv.159.1588945874489; Fri, 08 May 2020 06:51:14 -0700 (PDT) MIME-Version: 1.0 References: <00000000000039420505a14e4951@google.com> <1588755226.13662.17.camel@suse.com> In-Reply-To: From: Dmitry Vyukov Date: Fri, 8 May 2020 15:51:02 +0200 Message-ID: Subject: Re: KASAN: slab-out-of-bounds Read in hfa384x_usbin_callback To: Andrey Konovalov , syzkaller X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:ANDROID DRIVERS" , USB list , syzbot , Greg Kroah-Hartman , Oliver Neukum , syzkaller-bugs , LKML , nishkadg.linux@gmail.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" On Fri, May 8, 2020 at 12:31 PM Dmitry Vyukov wrote: > > On Thu, May 7, 2020 at 5:56 PM 'Andrey Konovalov' via syzkaller-bugs > > wrote: > > > > > > On Wed, May 6, 2020 at 1:50 PM Andrey Konovalov wrote: > > > > > > > > On Wed, May 6, 2020 at 10:54 AM Oliver Neukum wrote: > > > > > > > > > > Am Freitag, den 20.03.2020, 12:28 -0700 schrieb syzbot: > > > > > > Hello, > > > > > > > > > > > > syzbot found the following crash on: > > > > > > > > > > > > HEAD commit: e17994d1 usb: core: kcov: collect coverage from usb comple.. > > > > > > git tree: https://github.com/google/kasan.git usb-fuzzer > > > > > > console output: https://syzkaller.appspot.com/x/log.txt?x=11d74573e00000 > > > > > > kernel config: https://syzkaller.appspot.com/x/.config?x=5d64370c438bc60 > > > > > > dashboard link: https://syzkaller.appspot.com/bug?extid=7d42d68643a35f71ac8a > > > > > > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > > > > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15fa561de00000 > > > > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15d74573e00000 > > > > > > > > > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > > > > > Reported-by: syzbot+7d42d68643a35f71ac8a@syzkaller.appspotmail.com > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > is this bug still active and can a test be run on it? I requested one > > > > > yesterday. If my analysis is correct this bug has security > > > > > implications, so it is kind of important. > > > > > > > > I see your request in the queue and it's been registered and > > > > completed, but for some reason syzbot didn't send an email with a > > > > response. > > > > > > > > Let me try this once again: > > > > > > > > #syz test: https://github.com/google/kasan.git e17994d1 > > > > > > Still no response. Dmitry, any idea what could be wrong here? > > > > I suspect it has something to do with the fact that the bug is already > > fixed (has a fixing commit). > > > > ...right, it was broken by: > > https://github.com/google/syzkaller/commit/f8368f999a1964df6d39a225cd3f5ab3942dd755 > > and we lack a test for this scenario. It was supposed to only disable > > mailing of bisection jobs. > > Fixed in https://github.com/google/syzkaller/commit/2b98fdbcbcac6e99d12c88857406ef446bcac872 > and added a test to fix this behavior for future. > Thanks for the report. syzbot dashboard will now also show patch testing requests on the bug page for better transparency, see e.g. for this bug: https://syzkaller.appspot.com/bug?id=093ce698cf84160a66868dcac5394e105342f8c5#jobs FTR, implemented in: https://github.com/google/syzkaller/commit/e97b06d3cef9296e9d0e827c42bccdd36b555986 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel