From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3EC5C4363D for ; Mon, 5 Oct 2020 10:59:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B413020848 for ; Mon, 5 Oct 2020 10:59:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726363AbgJEK70 (ORCPT ); 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 X-Google-Smtp-Source: ABdhPJzAiJhD6tR1ZaTphNYg6sbm2z671lO6Vg5hBrz5SVvd29Mt5LBcNC2VC7to1fyCITMOzfUm2CA8HOGN8L/uH9z85yrTXM8F 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