Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp742299yba; Fri, 12 Apr 2019 12:47:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKULdK1xZlo+EE8BtzpYRTxLufLRvtsRZMnzdXh/7PHoi6phsqS7OtHe4jyR8S+pgM+0oa X-Received: by 2002:aa7:82d6:: with SMTP id f22mr58852503pfn.190.1555098471211; Fri, 12 Apr 2019 12:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555098471; cv=none; d=google.com; s=arc-20160816; b=zOmbsbhzO/obwMXee4vfqkKLR6G7YdsEYKq+ScC+YMk5vKSBKDsF1Q+HElEcssmVac FjQhw2ROmlEhtNuIqICaMQseo8nYDZYtOSgors6q5SMLtxQO0LU3ttjltSF5662d2h8g kenGp9YOMw4VEGURDl6B1nwzLzJK2Sj6VvsFfHwnTDMaJRcDI4gj/B52VUYyzKFzkgaW 0cdwYH8fAlzpIM5UDYd18xje/h6+ZnZayAYqdoTtho1jb1O6mu5hvV11C50/c5nNWch+ fOmD49qs7TKo8pVKxIl3NjcoSIQCifOnq96RWC9or1j/4Gs4o0RGkJ0xmC519WSQlLd8 dRUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=+DJWj+FImev35NBVu5JO+lvg1yCXHhZpxDkk7nMuga4=; b=StGuwvh31FLt95iGvnl6dX50ZSM/bOBZc7MN+0IGWE1M2rE+cLEhL4phPlhk3NSBKK /38O4ya59v2+bQtSdSpml6ZhDoQabGf9+7Z9SNh5BYTmnu6epjvSKqaRbYIUccqGVvLQ GwqEZtF6tKE+IA1tojDvzn0WQz8t3Qs0X5mmjDjYgv9/tXEOx6qHBie+u2n3pwP5ccpG ERKOA3S3g3I/kqkiMWE8WddC6EunWKCf+7EsbKfFuDLDuVelXzLurbmWhIUiWJ+F5vM3 jv5zh56eo/ZaxSARExWF6PJybt/R0KUqcmJ+OhJFyzZk3sxKrwoIjJxr/g0lNfnw6wDA udpw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b68si21283133plb.351.2019.04.12.12.47.34; Fri, 12 Apr 2019 12:47:51 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726981AbfDLTq1 (ORCPT + 99 others); Fri, 12 Apr 2019 15:46:27 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:44364 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726870AbfDLTq0 (ORCPT ); Fri, 12 Apr 2019 15:46:26 -0400 Received: (qmail 2122 invoked by uid 2102); 12 Apr 2019 15:46:25 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Apr 2019 15:46:25 -0400 Date: Fri, 12 Apr 2019 15:46:25 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: andreyknvl@google.com cc: gregkh@linuxfoundation.org, , Kernel development list , USB list , Subject: Re: INFO: task hung in usb_kill_urb In-Reply-To: <0000000000006f1596058653d991@google.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrey: It's really hard to tell just what's going on here. On Fri, 12 Apr 2019, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit: 9a33b369 usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan/tree/usb-fuzzer > console output: https://syzkaller.appspot.com/x/log.txt?x=14c4c1af200000 > kernel config: https://syzkaller.appspot.com/x/.config?x=23e37f59d94ddd15 > dashboard link: https://syzkaller.appspot.com/bug?extid=d919b0f29d7b5a4994b9 > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14410dbb200000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12f0acd3200000 > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+d919b0f29d7b5a4994b9@syzkaller.appspotmail.com > > usb-fuzzer-gadget dummy_udc.0: failed to start USB fuzzer: -22 > usb-fuzzer-gadget dummy_udc.0: failed to start USB fuzzer: -22 > usb-fuzzer-gadget dummy_udc.0: failed to start USB fuzzer: -22 > usb-fuzzer-gadget dummy_udc.0: failed to start USB fuzzer: -22 > usb-fuzzer-gadget dummy_udc.0: failed to start USB fuzzer: -22 > INFO: task kworker/0:2:532 blocked for more than 143 seconds. > Not tainted 5.1.0-rc4-319354-g9a33b36 #3 > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > kworker/0:2 D26656 532 2 0x80000000 > Workqueue: usb_hub_wq hub_event > Call Trace: > schedule+0x8f/0x180 kernel/sched/core.c:3562 > usb_kill_urb drivers/usb/core/urb.c:695 [inline] > usb_kill_urb+0x22a/0x2c0 drivers/usb/core/urb.c:687 > usb_start_wait_urb+0x257/0x4d0 drivers/usb/core/message.c:63 > usb_internal_control_msg drivers/usb/core/message.c:101 [inline] > usb_control_msg+0x321/0x4a0 drivers/usb/core/message.c:152 It looks like something is stuck waiting for usb_kill_urb() to finish. But what happened before that? I can't tell from the reproducer source, because it uses a bunch of special stuff you added in your usb-fuzzer tree. Alan Stern