Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp567348ybz; Fri, 24 Apr 2020 05:34:33 -0700 (PDT) X-Google-Smtp-Source: APiQypJyMQojcjw9lphWjd4nsopzur4+BDol+G+4wvBE7EK5avgIoyS1u12Ne5ga7sPC9c+JQhj0 X-Received: by 2002:a17:907:20ce:: with SMTP id qq14mr6566454ejb.10.1587731672858; Fri, 24 Apr 2020 05:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587731672; cv=none; d=google.com; s=arc-20160816; b=BnDwPxZTFkxcj9mR3JxAFTxPmDbydXQ+cHxy+g4lbFeNQJ2gppYMbaOZWXYN/1y0UY 8rMAsGIC/OUyetBhh700ndxxj7gEPeLRdTGo5u2l+9K7MMbraaH3wZlKUaVQP/Wqz012 LuLajOVss6AlOFYq5IuaxFS3TzZt8xgXNZSSAy7MTsYqlOw9gWODDshID6bUAz+WVoun eEOYDQYXM0OzetG2QHPTNjKcP0t4M0mE4HH2ba5GUuTiq9Rg8dtP7QWzHXb/AcW3kJDW Ba9+fF4Uo2LQLboa8XHSM6Rf+9l7E2n1zzle95H+4cEieAJRtFQhOc1Jrlz3y2dvOCSq s1ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:in-reply-to :date:mime-version; bh=yK0wAoGKugNS69+oM9ObjI/OyZcx0KM5Rr5d8hGyhfk=; b=iESirhtfqe/MeZKSDH7eGDyS5pWdjRh+QjIHzUAbDlaTTh1lsgfPeMwsfPNZ/m3Cuz DtGnROhdpm/qQR6XGegOBgtZUahQ9Rer6KPlKnaZH/QT1qPwVK2aVwWPPRV2BaKIXlOb RmgnxFD1iJUdoSWCNm7MJaYVXE4AJKD7/Sz6/UKxUe65DXdUrWnvuUza8AMZ5qeyAkmW HUQOx8vpDa7796YreqhQ7eV52d33eqE0gtHD3t1jc122MQ8daHq/pRHJqzQklhfiak2j 5lO//pl6HLbxz8s0AxKSzLYV3RMaKB8fADOC78wrxeRnseW+gTQMk2k61seH4mw0u4E/ aFbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s2si3334785eds.485.2020.04.24.05.34.09; Fri, 24 Apr 2020 05:34:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728519AbgDXMcI (ORCPT + 99 others); Fri, 24 Apr 2020 08:32:08 -0400 Received: from mail-il1-f198.google.com ([209.85.166.198]:37988 "EHLO mail-il1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728528AbgDXMcG (ORCPT ); Fri, 24 Apr 2020 08:32:06 -0400 Received: by mail-il1-f198.google.com with SMTP id u11so9410540ilg.5 for ; Fri, 24 Apr 2020 05:32:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id:subject :from:to; bh=yK0wAoGKugNS69+oM9ObjI/OyZcx0KM5Rr5d8hGyhfk=; b=GueV5YiP6oECLaDbD32l1k8GvVnmt6cmH2IyWbxYT+ryl0kvvRKtKbawRtCnEw8rB2 OSlWLPEwwoq4QFCcPQR0RLC9SEm/GBYFrB44pzDLh0aSbs887DAOjRcTJ5+ynJ9ar5QO q3ALJePn3DOaCMUTtitfVKxWwZpHuXSLyztNJZ9afVl9+D5CEMsymEb/hJ4qTt7LHT+9 ozQZd7o7xVDqA6Ut5fqp8yTTtR7fODJFVkE+jXjYmPTeYMA+t6C1MkLVEWb9lbLMDQKW PYCE7zMKZG2LnXr+IqMWKKFLxG7WJ0wdmwM6kMNiN0Fl1t2FKMYAXxZW40O99hodtZ43 HUGg== X-Gm-Message-State: AGi0PuaB1y1tXcmW6ebWYoNZEMrSTWPwMIPPaFlLpru/h7RsLVtx1+a+ zKtbXDpF4B3jyU4VkCvTMbHamXt1rueaAarlTgxOR950ATLm MIME-Version: 1.0 X-Received: by 2002:a05:6638:247:: with SMTP id w7mr7991586jaq.128.1587731523959; Fri, 24 Apr 2020 05:32:03 -0700 (PDT) Date: Fri, 24 Apr 2020 05:32:03 -0700 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000007c083305a4088d09@google.com> Subject: Re: WARNING in usbhid_raw_request/usb_submit_urb (3) From: syzbot To: andreyknvl@google.com, gregkh@linuxfoundation.org, ingrassia@epigenesys.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, stern@rowland.harvard.edu, 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 Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: WARNING in usb_queue_reset_device ------------[ cut here ]------------ usbhid 3-1:0.0: Device reset WARNING: CPU: 0 PID: 12 at drivers/usb/core/hub.c:6007 usb_queue_reset_device+0x63/0x130 drivers/usb/core/hub.c:6007 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.6.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events hid_reset Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xef/0x16e lib/dump_stack.c:118 panic+0x2aa/0x6e1 kernel/panic.c:221 __warn.cold+0x2f/0x30 kernel/panic.c:582 report_bug+0x27b/0x2f0 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] fixup_bug arch/x86/kernel/traps.c:169 [inline] do_error_trap+0x12b/0x1e0 arch/x86/kernel/traps.c:267 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:usb_queue_reset_device+0x63/0x130 drivers/usb/core/hub.c:6007 Code: 00 00 4c 8d 6d 30 4d 85 e4 74 72 e8 47 02 e0 fd 4c 89 ef e8 4f d2 19 ff 4c 89 e2 48 c7 c7 20 79 3b 86 48 89 c6 e8 f5 92 b4 fd <0f> 0b 48 8d 95 f0 04 00 00 48 c7 c0 88 2a e6 87 48 b9 00 00 00 00 RSP: 0018:ffff8881da227ce0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8881cd5ae920 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff812974dd RDI: ffffed103b444f8e RBP: ffff8881ce92d000 R08: ffff8881da211880 R09: ffffed103b646248 R10: ffffed103b646247 R11: ffff8881db23123f R12: ffff8881d4c25d80 R13: ffff8881ce92d030 R14: ffff8881da0ef400 R15: ffff8881db233e00 hid_reset+0x219/0x3e0 drivers/hid/usbhid/hid-core.c:138 process_one_work+0x94b/0x1620 kernel/workqueue.c:2266 worker_thread+0x96/0xe20 kernel/workqueue.c:2412 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Kernel Offset: disabled Rebooting in 86400 seconds.. Tested on: commit: 0fa84af8 Merge tag 'usb-serial-5.7-rc1' of https://git.ker.. git tree: https://github.com/google/kasan.git console output: https://syzkaller.appspot.com/x/log.txt?x=147a58a7e00000 kernel config: https://syzkaller.appspot.com/x/.config?x=6b9c154b0c23aecf dashboard link: https://syzkaller.appspot.com/bug?extid=db339689b2101f6f6071 compiler: gcc (GCC) 9.0.0 20181231 (experimental) patch: https://syzkaller.appspot.com/x/patch.diff?x=1131acdfe00000