Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3256491pxj; Mon, 24 May 2021 02:23:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwifKyYDXtB9rhqwBo+ndOJfJraXsoTgWnqEYEvePUUjdmZY/h4B7I3X4Y6YVePwQLfxY8N X-Received: by 2002:a05:6638:13c4:: with SMTP id i4mr23675973jaj.37.1621848213634; Mon, 24 May 2021 02:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621848213; cv=none; d=google.com; s=arc-20160816; b=Xmh5JQvW88NZ9oDo8jSgD5L5urtRJ0QfOOVwqSC/fx/gwdXgCsmmwzAVcoWM4o40GV 1fwQHcABKCXt2BJ9yZVGcFPCNDdhSYWX18yX5izmdqqN/M1m43DSdNX0uYbTOzUTikzu YL9nVds27eSDpb5YeTPyJsv/wo8SpFSqM/3z4DI1baGr3JZp5Vmz/24eC/26HlDUFiQ1 SkhZpEaq16LqhZfOXBDyoyWQHcW3SJlJb6VBtM+/wGpUMFkdq9si8GoDssu0qPkZT+5i dKr1xwMlyeFB6E3OSA/Tyanpo9WS2y+QaEbNeqiJeGZc+vqSeTeNb8zuene4HRNiLYZT 8hkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cZXlRBi2KbTUjVqCtZI1of3/IoPSZGmgCvKmmPtkBuI=; b=CrRt8U/kLAvhs6ly4Y7dS9lopjnwCAarm07Bbz5dffirj/cYj/OtzQBPBpOzS6Cwyi 9Tg+/RhDJVcz5Pa2qDN+2CMJxbb6eBSaJuh8UDKZ+hlObFsCawoY9R4o0+0bpH8ZpBHG 1PQLV59nV9LVtN3mrEOm+ekQAIgq0eQ5vwSFCUKSBsxTJ5kDIfkjSHNbxWazuXaXK/lg u3aiAnjbYA4Ezv8as0Hvriv36qpOzDGIipJKl2EuSxJmo1tKIyb1orBB4OepgmfqFtet vTcMT/hZ3gC35ooBGudZKRvegC54BMqhVfDy229l8O+R8lFf+novayJsx0i7S+ARt4/V Ewlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kGBL+/Zs"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m3si13316927ilj.111.2021.05.24.02.23.20; Mon, 24 May 2021 02:23:33 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kGBL+/Zs"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232464AbhEXJXW (ORCPT + 99 others); Mon, 24 May 2021 05:23:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:60620 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232313AbhEXJXW (ORCPT ); Mon, 24 May 2021 05:23:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 424A76105A; Mon, 24 May 2021 09:21:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621848114; bh=WawpMoh5FiYrAkFdIPHHadctgGZLaNZxmVr/DgReqZQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kGBL+/ZsqIHnfDFT+8i0qu4ID4C9dMc9WNHkwas5ox5JXb0x/dHTA+aIlTn6hMi9b Pt4Mcmz4RBHRpjQIyNkp9OUXwg0g5wTo3z0hOJcJjx/K2k4YeR3/G8bgBG96+ZHoAd j4mZMbuo3S0655vY2iGrA0lxAAh5yB2pw1U3+iEDVQ2fjAxBdwxcSgN9aY8T7qJAuZ 3UoRho+DK9UrATKulwXNWkWVAgUcKppZWLJLddWBbMWwv+TrXaOjAt81Q/I/KFSr+Y Dx0++apqtVw2NlPHJZ9v9R+KvHYLIHukYL3Yp2zfK2Kae5gNJT9A89QDmW4k/aA7rm YCoZksA2eW1Gw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1ll6mW-0001Az-1X; Mon, 24 May 2021 11:21:52 +0200 Date: Mon, 24 May 2021 11:21:52 +0200 From: Johan Hovold To: syzbot Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, mathias.nyman@linux.intel.com, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] WARNING in e2i_init/usb_submit_urb Message-ID: References: <000000000000f61b1905c30fd185@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000000000000f61b1905c30fd185@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 24, 2021 at 02:13:18AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: 5cc59c41 USB: core: WARN if pipe direction != setup packet.. > 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=17a30553d00000 > kernel config: https://syzkaller.appspot.com/x/.config?x=1206ee92dd3d988d > dashboard link: https://syzkaller.appspot.com/bug?extid=5d0b6bcdaaa6d1cb6ef3 > > Unfortunately, I don't have any reproducer for this issue yet. > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+5d0b6bcdaaa6d1cb6ef3@syzkaller.appspotmail.com > > ------------[ cut here ]------------ > usb 6-1: BOGUS control dir, pipe 80001d80 doesn't match bRequestType 2 > WARNING: CPU: 0 PID: 7 at drivers/usb/core/urb.c:410 usb_submit_urb+0x14aa/0x1830 drivers/usb/core/urb.c:410 > Modules linked in: > CPU: 0 PID: 7 Comm: kworker/0:1 Not tainted 5.13.0-rc2-syzkaller #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 > Workqueue: usb_hub_wq hub_event > RIP: 0010:usb_submit_urb+0x14aa/0x1830 drivers/usb/core/urb.c:410 > Code: 84 4c 01 00 00 e8 a6 14 b3 fd 4c 89 f7 e8 4e a7 1b ff 45 89 e8 44 89 e1 48 89 ea 48 89 c6 48 c7 c7 c0 09 63 86 e8 18 f1 fb 01 <0f> 0b 49 8d 4f 5c 48 b8 00 00 00 00 00 fc ff df 48 89 ca 48 89 4c > RSP: 0018:ffffc9000007eee0 EFLAGS: 00010286 > RAX: 0000000000000000 RBX: ffff88811f21b058 RCX: 0000000000000000 > RDX: 0000000000040000 RSI: ffffffff812a6013 RDI: fffff5200000fdce > RBP: ffff888100bf5e60 R08: 0000000000000001 R09: 0000000000000000 > R10: ffffffff814b996b R11: 0000000000000000 R12: 0000000080001d80 > R13: 0000000000000002 R14: ffff88811f21b0a8 R15: ffff88813b0c7800 > FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00000000014a53ad CR3: 0000000007825000 CR4: 00000000001506f0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > usb_start_wait_urb+0x101/0x4c0 drivers/usb/core/message.c:58 > usb_internal_control_msg drivers/usb/core/message.c:102 [inline] > usb_control_msg+0x31c/0x4a0 drivers/usb/core/message.c:153 > e2i_init+0xb3/0x150 drivers/input/touchscreen/usbtouchscreen.c:254 > usbtouch_probe+0xfc9/0x1c40 drivers/input/touchscreen/usbtouchscreen.c:1771 Had already found but not yet posted the fix for this one too: https://lore.kernel.org/r/20210524092048.4443-1-johan@kernel.org Johan