Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp504543lqp; Tue, 11 Jun 2024 10:26:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVhbgP6ay6epELV+/GE292vo0ltl9V+xe9GXgRa5TjtFyVTzl2x7k7YgQqlp5JJoDnwTQ3nWF8XudOAUvC2oY2UKiJlESACxhYu/7MDkQ== X-Google-Smtp-Source: AGHT+IEY7FzWRmQ+YnpnMSV6aiAgMRBodksOJKApM/5pd6mbDpfORJMxsjbi4M4xWw52RMmSO/zw X-Received: by 2002:a81:a908:0:b0:615:1a0:78ea with SMTP id 00721157ae682-62cd5662dfemr125721277b3.34.1718126789640; Tue, 11 Jun 2024 10:26:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718126789; cv=pass; d=google.com; s=arc-20160816; b=se3vMZap2IFw4o/ot/YNBu5gkRUMxNK+QM75P/QNbxheCWR2dBPkHe8HElJ8SUyoPy Pm84BU4cPr08Mvp0x2OPEHwn+BqJnOpLERH0MtnFWWMgyMIoe6FdQRdkVjH1c4qCm42h sB6Kl+ww8MSv105J0Fp1WfsY5zOjq6DGmM9/g+jpDSRBOe+2ZIWuQMqiUCdzK5PZuCme WyplWA1kG0EwbgNvXzhASXxN9cHly7inxxbBOKjcytq2jhiWv5cs7M8zwQzGfmsL8VMK pwrkB0bUFtewAzJlTAQfIkNIb4kJ6vD1ixJpQbc4O2NfLfpuVce4ukiQIhjyGhr1fNoX myXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=67IIO4wHAzLr6dN896UbYyZzBeZuorz5F5nFrnJic6w=; fh=az2dZpEYiEm4vtTr4+qsX4XJoeJGU4fUES6heyq65CU=; b=DCQ8YxPiukDosmTyCnt1lmhAc/m18++ZK68WhDgdm7wmN6w+RMYj+D2KvaV8SL1eqG yUqiNV8ue7OXNZ85jMt3fEN4c19uVPVlRei+W4/3A3xRP8Gp+tT6b1yRDV7iggV8pAzu 7N0TykTufWrRgEQTa2IwjB5+95tnAg/x1gbicoHIeD7GeApo3N6iGSpfnqfOr1fxFh0Q IcEjqEvaBHOEQmqi0Iz6b7wFZYCqJzOfudWQhU+6Sd7gpL7DS6HLjqlqDJ5JKrIV3pOL N+vVjDaiJ9kCjR5TNG2jHqx5y7cNgYL7611Byc4MfH3rcqNK13TVu9aSoEd8gr+PV636 dcfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-210328-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f632952si112434436d6.43.2024.06.11.10.26.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 10:26:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210328-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-210328-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4861C1C24435 for ; Tue, 11 Jun 2024 17:26:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 302A84CB55; Tue, 11 Jun 2024 17:26:18 +0000 (UTC) Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by smtp.subspace.kernel.org (Postfix) with SMTP id 808BE376E9 for ; Tue, 11 Jun 2024 17:26:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.131.102.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718126777; cv=none; b=rhvEyNJlb4LrIm3b34Ypcgy9lpWzYGSgmuinTDfuWLELjn6A7VM63cZbYOcjySGLFHlnSil+mslVozga0srCGoDo/Dxo5ymxnzPn4wPswRbktEjVpV8i3/wxs4sn6/oKNh/lUaI/em235NcNVL2vqt5Fh6esE7ZpMKB69AdU5zk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718126777; c=relaxed/simple; bh=Bm1Z5h2HDtU+JljYzebjngJn8fDNKlnAEInmNdApScw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ly1VK4MNWH0BXimnIZNKY8z2pozmoCYGEdVPEM/ADo3qjq2kz5NpuiA8TFEPRcxF6n6NQqt5nq7Fe3u22WuB+ra1t2uEfVMY8HYgTMtUrhQO1rYKx+uJGS+5BLYnZ8xREJr+tcLnRZBiiq89WDCGt7DSKgRmhM6yblmRUPsjGLE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu; spf=pass smtp.mailfrom=netrider.rowland.org; arc=none smtp.client-ip=192.131.102.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netrider.rowland.org Received: (qmail 194347 invoked by uid 1000); 11 Jun 2024 13:26:09 -0400 Date: Tue, 11 Jun 2024 13:26:09 -0400 From: Alan Stern To: syzbot Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [usb?] INFO: rcu detected stall in raw_ioctl Message-ID: <684687e4-8be4-42ee-a125-8ef9acc3fec9@rowland.harvard.edu> References: <23b1962c-044d-4dbd-a705-58754f0914cb@rowland.harvard.edu> <000000000000c7e169061a9f42e8@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000000000000c7e169061a9f42e8@google.com> On Tue, Jun 11, 2024 at 08:53:02AM -0700, syzbot wrote: > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger any issue: > > Reported-and-tested-by: syzbot+5f996b83575ef4058638@syzkaller.appspotmail.com > > Tested on: > > commit: 8867bbd4 mm: arm64: Fix the out-of-bounds issue in con.. > git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git > console output: https://syzkaller.appspot.com/x/log.txt?x=11bcfa36980000 > kernel config: https://syzkaller.appspot.com/x/.config?x=3b4350cf56c61c80 > dashboard link: https://syzkaller.appspot.com/bug?extid=5f996b83575ef4058638 > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 > userspace arch: arm64 > patch: https://syzkaller.appspot.com/x/patch.diff?x=17790922980000 > > Note: testing is done by a robot and is best-effort only. The interval between adjacent timer interrupts is consistently 20 ms. Longer than expected, but it shouldn't be deadly. Perhaps it would have been smaller if I hadn't pinned all the interrupts to the same CPU. Anyway, let's see what happens with the dev_err() calls in the interrupt handler changed to dev_dbg(). That ought to reduce the overhead considerably. Alan Stern #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git 8867bbd4a056 Index: usb-devel/drivers/usb/class/cdc-wdm.c =================================================================== --- usb-devel.orig/drivers/usb/class/cdc-wdm.c +++ usb-devel/drivers/usb/class/cdc-wdm.c @@ -266,14 +266,14 @@ static void wdm_int_callback(struct urb dev_err(&desc->intf->dev, "Stall on int endpoint\n"); goto sw; /* halt is cleared in work */ default: - dev_err(&desc->intf->dev, + dev_dbg(&desc->intf->dev, "nonzero urb status received: %d\n", status); break; } } if (urb->actual_length < sizeof(struct usb_cdc_notification)) { - dev_err(&desc->intf->dev, "wdm_int_callback - %d bytes\n", + dev_dbg(&desc->intf->dev, "wdm_int_callback - %d bytes\n", urb->actual_length); goto exit; }