Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2001158ybh; Tue, 14 Jul 2020 12:48:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDnELlETPM+clsyBcVKmQ9r7ibXxPOsgXyCyz8Sjq+70cBLuedyTrt/M4wwWthzv+RHVLr X-Received: by 2002:aa7:d2c9:: with SMTP id k9mr5997338edr.98.1594756109321; Tue, 14 Jul 2020 12:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594756109; cv=none; d=google.com; s=arc-20160816; b=EYjGJGWM4q+Q9m2K4/m1gj2aKFUMeOm7Id/6vVJubkwLdchXrxaWdT9WHeHPZHRxQH Iz1qY5d7vQkMBRlE9L8fyn4+Q9zAIpupPm92a/GXuhjSFuvL3nn0SQ/tYzxDPPeZ5um2 AQ+K7YtKK55v7Wt4r1kJv9Xuaye0WqYIFUJk9uvPYInmCLtDm/mrIMoZROXHjE2T391b FUbYG0JGsYMd+GVRWE6wDYE33KJVUYimoAQ5G/YBmTANDQZRcqSNLcW6xG/Ck2fojRN+ NeUZE65GYubtjyClwDOlC00wTJ+brSo7yqucnoDrCBcDTCCFhbzQC0fh1ofY0RdXC/y8 Stpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=UzWp1Quzj+3IIlnKOZl//WSeRiBidAQQqgHFD43psw4=; b=GrQt2lfMiHWkiw+ksppgNRFWDC4ZgGMzD7Z1bDhyPkHjlCsF61PXoH6suIZzwXncpT 0TT3An/wDt74Ss3m/XXaGfIgqnprtOAiSmJrXt+2QQAUPIwJtAJxEFesbuK/eiQ8LWxl 0h6m95jA4yHdK4ccvpBJjq/rdVvRJTf2cM+E+67h+sByYcq6MUsQMB0uLMNtJ6H5f7Tn 5oFOEjrQjqFrZSC5e009+cGu4T8pq3iWJXcbwiZRYBMhsxMyG+RxjZwjQicHQZlErd9T bLPWgmqmlfBQKJQ7ZR96l6X1VH5PdmthHDHYKDgxuunGlyUQD24ltJQnaVyrHfou/ajd DmUQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k4si11969548eds.446.2020.07.14.12.48.05; Tue, 14 Jul 2020 12:48:29 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726634AbgGNTrz (ORCPT + 99 others); Tue, 14 Jul 2020 15:47:55 -0400 Received: from netrider.rowland.org ([192.131.102.5]:34411 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1729442AbgGNTry (ORCPT ); Tue, 14 Jul 2020 15:47:54 -0400 Received: (qmail 1035129 invoked by uid 1000); 14 Jul 2020 15:47:53 -0400 Date: Tue, 14 Jul 2020 15:47:53 -0400 From: Alan Stern To: syzbot Cc: andreyknvl@google.com, fweisbec@gmail.com, Jarod Wilson , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, mingo@kernel.org, syzkaller-bugs@googlegroups.com, tglx@linutronix.de Subject: Re: INFO: rcu detected stall in dummy_timer (3) Message-ID: <20200714194753.GA1033470@rowland.harvard.edu> References: <000000000000e7493205aa694785@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000000000000e7493205aa694785@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 14, 2020 at 09:27:18AM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit: 25051b55 udc: lpc32xx: make symbol 'lpc32xx_usbddata' static > 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=12e0ba00900000 > kernel config: https://syzkaller.appspot.com/x/.config?x=999be4eb2478ffa5 > dashboard link: https://syzkaller.appspot.com/bug?extid=4d3749e9612c2cfab956 > compiler: gcc (GCC) 10.1.0-syz 20200507 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=127354e7100000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10ba8500900000 > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+4d3749e9612c2cfab956@syzkaller.appspotmail.com > > mceusb 5-1:0.0: Error: urb status = -71 > mceusb 3-1:0.0: Error: urb status = -71 > mceusb 4-1:0.0: Error: urb status = -71 > mceusb 6-1:0.0: Error: urb status = -71 > mceusb 5-1:0.0: Error: urb status = -71 > rcu: INFO: rcu_sched self-detected stall on CPU This looks like an error in mceusb_dev_recv() in drivers/media/rc/mceusb.c. In the case of a -EPROTO error (indeed, any error code it doesn't recognize), the routine immediately resubmits the URB. Instead it should do the same thing as in the other error cases: return without resubmitting. (Incidentally, the calls to usb_unlink_urb() in that routine are useless and look very strange. The URB is already unlinked, since mceusb_dev_recv() is the completion handler.) Alan Stern