Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4953249ybv; Tue, 11 Feb 2020 06:28:52 -0800 (PST) X-Google-Smtp-Source: APXvYqxktCzcZEfGQX6LQ52tR06QteaNycrS593hVXaMvQi1/sTrc5MRF3ZB7qX6uJ63Kgw396KC X-Received: by 2002:a9d:5888:: with SMTP id x8mr5184165otg.361.1581431332230; Tue, 11 Feb 2020 06:28:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581431332; cv=none; d=google.com; s=arc-20160816; b=0y++gctf/6gvA/Qf792imGjY67CMV/vQFSfKhGl+NRYaYRwr9AJJ4USvl5OpvmUSuX hLxNERFpd4DL0+kUr21AONYOvIzsaps9mq7qa7PekNP+r7dsRz+6dWNq/o02rqMQbs3R FvBLhwdYcue9HLmSvI4AyDVtcXJzUdPX8lTIPyZhcWnPI2aBm8DpPjGdaevDxs+19vFq MdJH6QmR9jPhTzKNHOUpjNla4+QgzZYqzWsqtYw2fUslbi6Cz3Bwmgar3VkZy+lrl2R1 jGaNA+cQA2I+a2DIkDawDQp7AlbFE9hqnSBB0PTA5gnMHwPEDkM/YcFz2GN3+lo7mY3n K67A== 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=Y/BadYpECLUdWrQWnEHX25mgncmJfuysCIDqnuczrAk=; b=So44akHlrAcfpS0lqcAhAN0mg2leoZZPW+27xNbgUtN5RLLdk05yDYe6hVRzIkOASd muoaUIghX4u8sQHsSlL5Os5FXMA/kxsXKk/x5EZUXjwxjT7PVq7g4I6yIa7Lni/QMSRn xm4EQ4EAOS/kPZcrBv33sVDZTHNKaAe/rWx7t6B5BEaigMezCqYlNevVcLDDNcsVucwM uWLaM8NENiUsExjG21aZgXv1tk8cc08udiWZlXR/jEys1tzMPEgvyBfTTUxC965eiElq jY6uge3xh2oZROieaedvkN2pEJN7UfYtZCO73U+BZpH3qAFILTPbv8tNt4GxBnUWMOl3 lJpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=sl6W4amj; 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 n2si1868981otk.177.2020.02.11.06.28.39; Tue, 11 Feb 2020 06:28:52 -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=sl6W4amj; 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 S1729766AbgBKOBy (ORCPT + 99 others); Tue, 11 Feb 2020 09:01:54 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:38399 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729742AbgBKOBx (ORCPT ); Tue, 11 Feb 2020 09:01:53 -0500 Received: by mail-qt1-f194.google.com with SMTP id c24so7976168qtp.5 for ; Tue, 11 Feb 2020 06:01:52 -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=Y/BadYpECLUdWrQWnEHX25mgncmJfuysCIDqnuczrAk=; b=sl6W4amjj3ULSa0duaz/GaF9sRD+HniXTrk8LTBCboI2KvwvnyLMORWRCs4K+dZlZT T1f9kHEjuIh0lz3PEVYPSTz9R1ZmiQHUBePJXucm2un8ygS+PNn3ffjpTm3rIEVzdRxi s9naMaPNWn6wkFShRl4LkpK239QTPDlj8gKZqa+GfFO2vg+ePKFMtRVY0BcMqOB3ruMK oXl13ab9Iu9fud1YExcjkncZbggZOQcvRZ1F2LGfkfalU6/wTaoGTLs5ZSFl8WpPmyCa 1fE4W5Z6TNZ6CAoYfaZsaIKgj4lkrazjDRerS/EwbkNHjqu7ct46GnmsVkD4x12QUHj8 mxVQ== 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=Y/BadYpECLUdWrQWnEHX25mgncmJfuysCIDqnuczrAk=; b=rEA/+pOyv5BmMWjEfRWlll/dwDeN0I7/VITZEWYXOBl0wwz+FGBTJpXeAeDdFqhCaz Y+GId1GrekADahG8/rg95nwG5NPrk27BdAeh/eYh3w+jLzHgCsli4E0gyaO4U9vvQdda GuXODqxFa9DSOyzvFkvy/1B/FM5SkTJPkm3AANcaJTPJI3iQOzfvvVoBazh5XXZOlo3+ cfoTDPRqhQwretm+9K1/eZuBMv5iC1bRvmmKvLydT8zGYT11ttfkefSe5bMCnYOl6sSh ZBS38Dny8xYooOilBV48suSEvF3aqr/s5s4KXwoChsSPGqxvLqMSmX8YWXVMhVMo0dLa 2B/g== X-Gm-Message-State: APjAAAVltBeEa79U9erMptsE2Nug5isObB7Hrsbdg1j5BoJzScgBIUjC eO5OB23G4OVmqjH3YTIMiOAdDthdbrqi40mmSZ6b7w== X-Received: by 2002:ac8:340c:: with SMTP id u12mr2498173qtb.257.1581429711919; Tue, 11 Feb 2020 06:01:51 -0800 (PST) MIME-Version: 1.0 References: <0000000000003313f0058fea8435@google.com> <8736ek9qir.fsf@miraculix.mork.no> <1574159504.28617.5.camel@suse.de> <87pnho85h7.fsf@miraculix.mork.no> In-Reply-To: From: Dmitry Vyukov Date: Tue, 11 Feb 2020 15:01:37 +0100 Message-ID: Subject: Re: INFO: task hung in wdm_flush To: Tetsuo Handa Cc: Oliver Neukum , syzbot , Andrey Konovalov , Jia-Ju Bai , Sebastian Andrzej Siewior , Colin King , Greg Kroah-Hartman , LKML , USB list , syzkaller-bugs , yuehaibing@huawei.com, =?UTF-8?Q?Bj=C3=B8rn_Mork?= 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 Mon, Feb 10, 2020 at 4:22 PM Tetsuo Handa wrote: > > On 2020/02/11 0:06, Dmitry Vyukov wrote: > >> On Mon, Feb 10, 2020 at 4:03 PM Tetsuo Handa > >> wrote: > >>> > >>> On 2020/02/10 21:46, Tetsuo Handa wrote: > >>>> On 2020/02/10 19:09, Dmitry Vyukov wrote: > >>>>> You may also try on the exact commit the bug was reported, because > >>>>> usb-fuzzer is tracking branch, things may change there. > >>>> > >>>> OK. I explicitly tried > >>>> > >>>> #syz test: https://github.com/google/kasan.git e5cd56e94edde38ca4dafae5a450c5a16b8a5f23 > >>>> > >>>> but syzbot still cannot reproduce this bug using the reproducer... > >>> > >>> It seems that there is non-trivial difference between kernel config in dashboard > >>> and kernel config in "syz test:" mails. Maybe that's the cause... > > > > > > syzkaller runs oldconfig when building any kernels: > > https://github.com/google/syzkaller/blob/master/pkg/build/linux.go#L56 > > Is that difference what oldconfig produces? > > > > Here is the diff (with "#" lines excluded) between dashboard and "syz test:" mails. > I feel this difference is bigger than what simple oldconfig would cause. > > $ curl 'https://syzkaller.appspot.com/text?tag=KernelConfig&x=8cff427cc8996115' | sort > dashboard I think you took a wrong config as a base. This 8cff427cc8996115 was only used for crashes without reproducers as far as I see, so it can't be used for patch testing. I would expect the one used for last patch testing is this one: https://syzkaller.appspot.com/text?tag=KernelConfig&x=8847e5384a16f66a associated with this crash: ci2-upstream-usb2019/09/23 13:26https://github.com/google/kasan.git usb-fuzzere0bd8d79d96e88f3 I checked at least CONFIG_DYNAMIC_DEBUG, and it matches what was used for patch testing. So everything seems right to me as far as I see. > $ curl 'https://syzkaller.appspot.com/x/.config?x=c372cdb7140fc162' | sort > syz-test > $ diff -u dashboard syz-test | grep -vF '#' | grep '^[+-]' > --- dashboard 2020-02-11 00:19:14.793977153 +0900 > +++ syz-test 2020-02-11 00:19:15.659977108 +0900 > -CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 > +CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 > -CONFIG_BUG_ON_DATA_CORRUPTION=y > -CONFIG_DEBUG_CREDENTIALS=y > -CONFIG_DEBUG_PER_CPU_MAPS=y > -CONFIG_DEBUG_PLIST=y > -CONFIG_DEBUG_SG=y > -CONFIG_DEBUG_VIRTUAL=y > +CONFIG_DEVMEM=y > +CONFIG_DEVPORT=y > +CONFIG_DMA_OF=y > -CONFIG_DYNAMIC_DEBUG=y > -CONFIG_DYNAMIC_MEMORY_LAYOUT=y > +CONFIG_HID_REDRAGON=y > +CONFIG_IRQCHIP=y > -CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity,selinux,smack,tomoyo,apparmor" > +CONFIG_LSM="yama,loadpin,safesetid,integrity,selinux,smack,tomoyo,apparmor" > -CONFIG_MAC80211_HWSIM=y > +CONFIG_MAGIC_SYSRQ=y > +CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 > +CONFIG_MAGIC_SYSRQ_SERIAL=y > +CONFIG_NET_TC_SKB_EXT=y > +CONFIG_OF=y > +CONFIG_OF_ADDRESS=y > +CONFIG_OF_GPIO=y > +CONFIG_OF_IOMMU=y > +CONFIG_OF_IRQ=y > +CONFIG_OF_KOBJ=y > +CONFIG_OF_MDIO=y > +CONFIG_OF_NET=y > -CONFIG_PGTABLE_LEVELS=5 > +CONFIG_PGTABLE_LEVELS=4 > +CONFIG_PWRSEQ_EMMC=y > +CONFIG_PWRSEQ_SIMPLE=y > +CONFIG_RTLWIFI_DEBUG=y > -CONFIG_SECURITYFS=y > +CONFIG_STRICT_DEVMEM=y > +CONFIG_THERMAL_OF=y > +CONFIG_USB_CHIPIDEA_OF=y > +CONFIG_USB_DWC3_OF_SIMPLE=y > -CONFIG_USB_RAW_GADGET=y > +CONFIG_USB_SNP_UDC_PLAT=y > -CONFIG_VIRTIO_BLK_SCSI=y > -CONFIG_VIRT_WIFI=y > -CONFIG_X86_5LEVEL=y