Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6788939ybh; Thu, 8 Aug 2019 05:45:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaBi7/piQeFJnhvIFT3/DwQ/bljYIemLmUZtnR0KYMGHvXLbFpNUn9TevbmsxlBmRGnfaC X-Received: by 2002:a63:5f95:: with SMTP id t143mr12505314pgb.304.1565268345204; Thu, 08 Aug 2019 05:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565268345; cv=none; d=google.com; s=arc-20160816; b=FeM4Kk50aCK4ptk7Dmmw5F0Mii875Qz7OU5NVzqqm63CxzB24Tn5HHyloimdV9Knh0 ecfQd38QZwZ2j2dsknP2xmuCLogCYBZ9zLQkAp242c+s4uE6/QQvsWOEctZqtHilf8pj veaDed8n5rbGcu0MffCEIypQjX5jFtyrEfAWoeoJsG+K380zPUwuoNkt8/TFRi6En9m9 a+DqDVY7A5xsl5g0tfsvtD2cnVWkl3nqNJSuxz03vvTpawu4uSF7pIq4d69LYw7vsGLE 4FQt5yHpFtVZwmH3eeH1I47Ek6Gk21hZC3S37iNzyQYZ4qZkzDYjPaU67vnaJ+haxdYv 5U6A== 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=AqsGEn8rizmWX1sBUGJyfxqTVFx/hWSppDVhCUizhj0=; b=qLcmF+zbV0rw3u7gLqvqFbNIh79HPKcfzvG6T2Re6H7oCsfqJdKGeTcn0FHuqg5hCY pynm3mwqVtQxo4r3MFeyYSp1SrZyek98sFePKc8sSkYt8PeW4kT01+oDRp/Fz6GZGhcI CZvJUdaSeVUVa3ZnI8j0eNHgepcIHf1LmjbjST3L9GyjMLireG2amI4Xr4e0NdNu5Xzq BkdkGVMSBR6XYxsgYvpd0xzb2bS68H0vVqHDHoaSRz2mkVwinQlTtUoKiikkYpaZvvT+ R5vydFlq/cQpRyERDg7hO/ff/F3iWN4t1MkXIjo/z1LGzn/RFWN9dLb5LfTtSb6y4TWF 4PXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=kcWgpNxu; 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 p19si51681486pfn.53.2019.08.08.05.45.29; Thu, 08 Aug 2019 05:45:45 -0700 (PDT) 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=kcWgpNxu; 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 S1732584AbfHHMoM (ORCPT + 99 others); Thu, 8 Aug 2019 08:44:12 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:42986 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728289AbfHHMoM (ORCPT ); Thu, 8 Aug 2019 08:44:12 -0400 Received: by mail-ot1-f68.google.com with SMTP id l15so117963996otn.9 for ; Thu, 08 Aug 2019 05:44:11 -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=AqsGEn8rizmWX1sBUGJyfxqTVFx/hWSppDVhCUizhj0=; b=kcWgpNxuLsqlIeN+bHKdSpfWQbrD8oiKypyumjK3k5/kzTNxb3AQoURhbCK39Sd6Tc P5rMBeJI3GTVUEdTjw2Ifwpj3l/nEom6Jgx4X+YL156jCBD00jAI0I2cKV8c6i+6qb8F vNHLcXmorSzI7Dfa7JznfKLTfoeHKpwe8gofHHK4eBqZtBBm8VahkRj+Vh+D34k1eqJ4 tzNdqSp5Eh5zcOp37YskGxl5BSW6zxhLQk2spv9GWA6zxBMUhk7zN6Cdx0tPNVpwYqwM HoFcYMwR+DLfqXHfC+UrFEtIa4lsexeV32EEKVgcaTpQqHC2YOY6sHkyE1s3I9dbiFpR PiMw== 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=AqsGEn8rizmWX1sBUGJyfxqTVFx/hWSppDVhCUizhj0=; b=FphR4Z9vXoPaqu2n5Q8w7nTMjpdB52G1dPvJMNvc2pfOgQO0A1ffh6u8o646aSgKuI NXWlFF7PbLfJlXxr1MSLeoaieNUwDhPdJ/bE5T3uysv0eaYX9GcvWeCorAbLQaknhomw d/96s6qDKMz1pJjujEmvhkwLBSx+MFbYNtuj2BJJC2jYkHqE4bpXaP1wrKPZeUPkieEC Djbw1HkJioBl9dcJG97wH0uUJW39r2RigLYva9W957PLQa9zcTm3SRrehFG61hMbo5eo TX/vUr2Rtu0488Bck8xOi/7gLT7X7lyRBhby/BxRqx48AnFkW2nkG90estS9qzl8tHSi dv6w== X-Gm-Message-State: APjAAAVtuNURjTr49XMoFh5P5ZoiSF59IeT8EeeUzxPeTsTOFcCyuxPo 4mOpcv5SRCNd1egI3CYYx1dgvT3W7SN5sOmTFoAj7Q== X-Received: by 2002:a5d:80d6:: with SMTP id h22mr15137157ior.231.1565268250720; Thu, 08 Aug 2019 05:44:10 -0700 (PDT) MIME-Version: 1.0 References: <000000000000f365b6058f8b07ca@google.com> In-Reply-To: From: Dmitry Vyukov Date: Thu, 8 Aug 2019 14:43:57 +0200 Message-ID: Subject: Re: KASAN: use-after-free Read in device_release_driver_internal To: Andrey Konovalov Cc: Alan Stern , syzbot , LKML , USB list , Oliver Neukum , syzkaller-bugs 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 Thu, Aug 8, 2019 at 2:28 PM Andrey Konovalov wrote: > > On Wed, Aug 7, 2019 at 8:31 PM Alan Stern wrote: > > > > On Wed, 7 Aug 2019, syzbot wrote: > > > > > Hello, > > > > > > syzbot has tested the proposed patch and the reproducer did not trigger > > > crash: > > > > > > Reported-and-tested-by: > > > syzbot+1b2449b7b5dc240d107a@syzkaller.appspotmail.com > > > > > > Tested on: > > > > > > commit: 6a3599ce usb-fuzzer: main usb gadget fuzzer driver > > > git tree: https://github.com/google/kasan.git > > > kernel config: https://syzkaller.appspot.com/x/.config?x=700ca426ab83faae > > > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > > patch: https://syzkaller.appspot.com/x/patch.diff?x=132eec8c600000 > > > > > > Note: testing is done by a robot and is best-effort only. > > > > Andrey, is there any way to get the console output from this test? > > Dmitry, would it be possible to link console log for successful tests as well? Yes. Start by filing a feature request at https://github.com/google/syzkaller/issues