Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3201839pxk; Mon, 5 Oct 2020 04:01:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3IDkDTn2Qi0UL9QRppH1tr8+Ddx5EFqV8RJio6srJWut73LNkx2zzQ1DhUBxgIieSCHvb X-Received: by 2002:adf:fd49:: with SMTP id h9mr6976453wrs.115.1601895682612; Mon, 05 Oct 2020 04:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601895682; cv=none; d=google.com; s=arc-20160816; b=PJJVS57gsvLeQYfz18aMt77P5Pl/JU+NUe5n1Ylgn5JAHC4jLBLNgQXh1bsBlSCzc3 I1T8d8AVI84JeNIZRcmJEOnBLMEnUhYJAQkYnl5umFuker7Tc9nqZj/IlDutaJ651fXH HcmOYBIEBiT9f+s5W7FV5c+BqcqIxD7gvccVeWg2d6hQsq2NyjbKAldBn8h2Yp32UxdG XfNNkyVsnXYAd91ioQtRFFZsC3B7cM3dBTuN0LBQE5YkD0wNwxiLic2td+YcEPAPYOSD 01WPM8VHV9LWWKCbcwgwwqS/bdp10Wq5odzj6PDjPitf91ycHcHbPUeyBs9C/RdRSzHI 3uWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=c9vd2UcblXQIBzNNLiatAPji5mQAzL0haYoV14rIOGU=; b=kDL1OC49GYoicuWnlMwjjJSI4vjf2JxiGPXlExkJFXSE18PtjHEvpetbsW4D9mWVH3 nJZJaZC5ldKfv6yrqLkstyg/FbN9r8yRfgjmlb0LEpGm38one1EfsuG9PRgPcwz+RGpl yfWe14EgCKckbnGWjyyASOmM+t8GhBfTaXjmcVb1KaFAhRy0gPZ9qhUW0MdA4nmMbnEb d1mC2sk7p/dr4CUNdzwD+FhByAvW2ZPiueZYAJCjZwnwgmVkIdxAhW1hYM0W4hRFAp7p sDnKumDq6+V55RWm0uq0aW1duxgsJytF0yzftiXJ9RFjkk4m/fOEUVQ5XFcy+uGQIxN/ Zltw== 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 q4si6969610ejr.240.2020.10.05.04.00.59; Mon, 05 Oct 2020 04:01:22 -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 S1726000AbgJEK70 (ORCPT + 99 others); Mon, 5 Oct 2020 06:59:26 -0400 Received: from mail-il1-f207.google.com ([209.85.166.207]:33405 "EHLO mail-il1-f207.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726003AbgJEK7Z (ORCPT ); Mon, 5 Oct 2020 06:59:25 -0400 Received: by mail-il1-f207.google.com with SMTP id e73so6938358ill.0 for ; Mon, 05 Oct 2020 03:59:23 -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:message-id:subject:from:to; bh=c9vd2UcblXQIBzNNLiatAPji5mQAzL0haYoV14rIOGU=; b=gJIyJnBBJ8QX+D5TWOFBSNy2NFV35/ryrHJO21rLyXv0M+9eYEUZ+DBHic4yAxHOAA BPmegV2mA8dg+45KqWjW96hc7uulVBy/lGLc8eerJ92NQMStb7y5CPUuk8sSGxm3LhcG ZZsTcNWFM5gTphQ3Ps3LdlMtOMRQPa7GvXLkEi30+PJh8fJNm3fRZDAlRpV66sItQude PTr0Jqz0CW2kTp68NmXAb8U978q/2M0tyufR4T6jb8Oakl4idyv613osw+egtjiJhiHr aD29yetm5RugSr1OH/0FBJzcV4XWb56RXrjeH1lDVE8ey194beRjHX4kx9OI8DBMK+aZ K3yw== X-Gm-Message-State: AOAM531Px21NoBlWBP07Ix3T5csQ7d34oRLeDJiZXcye16tihfnE70Gp q/yG2nuhrUckdmc6fd6wFGXubmO9jE0KZOtdBLG0FVjjVqvZ MIME-Version: 1.0 X-Received: by 2002:a92:c94d:: with SMTP id i13mr11957755ilq.102.1601895562933; Mon, 05 Oct 2020 03:59:22 -0700 (PDT) Date: Mon, 05 Oct 2020 03:59:22 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000fefa4f05b0ea5fcd@google.com> Subject: WARNING in handle_bug/usb_submit_urb From: syzbot To: andreyknvl@google.com, eli.billauer@gmail.com, gregkh@linuxfoundation.org, gustavoars@kernel.org, ingrassia@epigenesys.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, oneukum@suse.com, syzkaller-bugs@googlegroups.com, tiwai@suse.de Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 168ae5a7 Merge 5.9-rc8 into usb-next git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=12bec877900000 kernel config: https://syzkaller.appspot.com/x/.config?x=5429f3643ebc37a dashboard link: https://syzkaller.appspot.com/bug?extid=9b802f11efb574105ec5 compiler: gcc (GCC) 10.1.0-syz 20200507 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=120aa50b900000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=134fa5c0500000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+9b802f11efb574105ec5@syzkaller.appspotmail.com usb 1-1: Manufacturer: syz usb 1-1: SerialNumber: syz usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 ------------[ cut here ]------------ usb 1-1: BOGUS urb xfer, pipe 1 != type 3 WARNING: CPU: 1 PID: 21 at drivers/usb/core/urb.c:493 usb_submit_urb+0xce2/0x14e0 drivers/usb/core/urb.c:493 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 21 Comm: kworker/1:1 Not tainted 5.9.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events request_firmware_work_func Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x16e lib/dump_stack.c:118 panic+0x2cb/0x702 kernel/panic.c:231 __warn.cold+0x20/0x44 kernel/panic.c:600 report_bug+0x1bd/0x210 lib/bug.c:198 handle_bug+0x41/0x80 arch/x86/kernel/traps.c:234 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:254 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536 RIP: 0010:usb_submit_urb+0xce2/0x14e0 drivers/usb/core/urb.c:493 Code: 84 04 03 00 00 e8 3e 98 c6 fd 4c 89 ef e8 66 b6 12 ff 41 89 d8 44 89 e1 4c 89 f2 48 89 c6 48 c7 c7 20 b3 5d 86 e8 d0 ba 9a fd <0f> 0b e9 c6 f8 ff ff e8 12 98 c6 fd 48 81 c5 40 06 00 00 e9 f2 f7 RSP: 0018:ffff8881da33f808 EFLAGS: 00010286 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches