Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp94699lqq; Wed, 12 Jun 2024 18:23:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXp/v3U8w4TtKjnp7lFz7mtG8Q+TdiVYqyim/UOFqGB7X8eYoJjKSkazpeV9Dcf9kNZ4doXbBc0w7DdbnqgGXVGz2RvcKUtltqG+YENUA== X-Google-Smtp-Source: AGHT+IFNSTYNxZlXdvwHlwVwvPFN88Tp0QJevUZ+/XRAOctcGInC275q0lI4Xg6S7Owsh5XryVY6 X-Received: by 2002:a05:620a:3187:b0:795:967d:b1f4 with SMTP id af79cd13be357-797f60f6d6bmr409704585a.70.1718241810888; Wed, 12 Jun 2024 18:23:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718241810; cv=pass; d=google.com; s=arc-20160816; b=JGSSIBeUHR5jlP3SndK7Ei875glQm0ZfgdDrezXpu1e9IC566ObSEbcPtsNZt8lOP5 dS4qLDDQicpgVLYJ+eDFvI6xQ1/uPEyF8yeFy0Srzo/thot7IMWHB0+GM2Wewvn2QS11 shvKdaw5bBnZmTCHFMJOyCA6V4HdHF46ToPLaqXVznGiniExP1ydyLLrK/567BplPb7v PhyhNtO8ZUxhxrau1wM66V+ixTBL1g/79fY6yjjz81ybZqo4R0YOKZwJmQRpYHsMt/bm FmJz6LINbZvlU6IHVIhuf7dTXxhN4foJ7ZAoQ9/PIM00ndhyKcW87RtYlboogUOsINg5 b3NA== 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=m7w8WI2n9o6MHQhXAC0LH1/3wgz1jklgvbbOqZSjJW0=; fh=az2dZpEYiEm4vtTr4+qsX4XJoeJGU4fUES6heyq65CU=; b=gwdrxwpVMrVHBaRI5rIAgM5n+9ZS8OeJsQPzLckQCtZoozL3l76fuOSmMh/V8OmiLi Ux6NkDhbEX5jSnZVErPuClecLfgI2X49dgVrmy3/Lhwysmls8kzY4an3IGDwEJsRxQci JWnEn+/cKtYlgMDAXYzVtfEjeyuQvNbW+WmrCrYKFuDLG4+GnFqFBzBhP/TuXy3+hUFI WfDNJ4Gf7RBnfvo0bnnbHwZCecQDjFvDhrbteZ9xn5PaquzdBeYMxPlKKSyiRPBS7gAL cEJj/G5ndFuVd26Yv46L927EFmnyNiu/OwndBgJ2sDfCBTzaOKWlj+a1ZDNorwXFrvqR w4aA==; 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-212430-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212430-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-798aac9bac9si31193685a.21.2024.06.12.18.23.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 18:23:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212430-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-212430-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212430-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 336C91C2140F for ; Thu, 13 Jun 2024 01:23:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7649CDF5C; Thu, 13 Jun 2024 01:23:22 +0000 (UTC) Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by smtp.subspace.kernel.org (Postfix) with SMTP id AF479C2D6 for ; Thu, 13 Jun 2024 01:23:18 +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=1718241802; cv=none; b=YwX390Lk0kL1Jl94X+oTjMEsaMQ0dV0rMaJj8F1hyiWh4qH1qxA0cvepGz1wfVLLlaWr8rD5oHL2oaFsYEcpcCrfmSXB6/mueSYyXKr8n/tC7b2GwhxKXPDflzS1j4TLzKqlb/0d5c9eUAQ0UfeLIQRmCpd+oK3fuB3KK2YWH40= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718241802; c=relaxed/simple; bh=tl13HOFJCymRly5X6WxSw4qih6uoNtD88ObLIrANbDo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=a5WOgv+c9Zj2TKo0OivkJzL+BCr54MGk3edmSCEotwT2uqhemsiEGrQIgyMsKXmYYycqYIaeKD7+5/cXRAHXrjmGLz2yJUJJMADCELSt1NcyyvWVx+DGRceBjtcNL0/9W437vZFVDonjLK6CW397OgJEktA8TLHXJPe6xFYt5FI= 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 244083 invoked by uid 1000); 12 Jun 2024 21:23:17 -0400 Date: Wed, 12 Jun 2024 21:23:17 -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: <871507d8-b4ff-4af8-8bba-9a3149c41e8a@rowland.harvard.edu> References: <684687e4-8be4-42ee-a125-8ef9acc3fec9@rowland.harvard.edu> <000000000000babbf8061aa113df@google.com> <2bfca69a-b7e0-4f66-9025-1324af803318@rowland.harvard.edu> 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: <2bfca69a-b7e0-4f66-9025-1324af803318@rowland.harvard.edu> Try again, with the "#syz test:" command present this time. Sigh. On Tue, Jun 11, 2024 at 11:03:03AM -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=14e092de980000 > 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=137c697e980000 > > Note: testing is done by a robot and is best-effort only. Let's try Greg's suggestion to replace dev_err() with dev_err_ratelimited(). 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_err_ratelimited(&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_err_ratelimited(&desc->intf->dev, "wdm_int_callback - %d bytes\n", urb->actual_length); goto exit; }