Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp198252lqs; Thu, 13 Jun 2024 07:48:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVBrf3q9yZXp20S31yTauqsHmZI6LAxPcoEomEQ25qh9bVSutaPAjb9cy991bO6G85269Xq5x3T0eLsKzSCw6l6kR1B5Nk7fsD308+9nw== X-Google-Smtp-Source: AGHT+IEkGSoEqnmB0UKOugZs8novGp4foh1NxLB7XaxhteOhJPCBpGaGTdjq49moDTa40MPEwKs/ X-Received: by 2002:ac8:5d15:0:b0:441:519e:c40a with SMTP id d75a77b69052e-442160b4481mr300651cf.31.1718290137439; Thu, 13 Jun 2024 07:48:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718290137; cv=pass; d=google.com; s=arc-20160816; b=nWiJj6gi8hpQusz/s4UptR6oM0YSk5maq3piYWmyzSW3lA87vF+fgNmFPamJSNyrdk QspyoCYK2U3TA3tJUbEzpCpuIfMcMbVWNBDThdDdYl4+mJnN/3VEu9MvW8EfG8MY99Fe N1JmOQI8u3ew5uuhSn2cEv83GqeeKe2DNhj0cTtaXOU8uMS+zCVNAHRsa2UAz+GfnaC9 K59lPPjH5rFTNeCl4B3Niu7bWi/EHi/uItnd8sgSb4IzpWfnPkURlq0Po4KFRUw5epvj mO9xfhvrujJLi+gEJzKUaEn8XYzfhA2GJw3/IIUye5un+S4i+f9AfqlvZbvUT8UWrRcd PfLA== 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=DcUhiWeacxCxPKM5wGv+vkjx28F+dymAdvxsuP3pXP0=; fh=x6Uyt3uGZNAT5TIuRXH8JZxaozdY0TsO191l/n+SQgo=; b=0SKV3yBDdCCS3vurot3Cy5kVJ3SYejjuYcpaobRBNNfG7atbrYJOv6bxxv9SJvQHo2 Hd3e7gJTu8W4rIBOs4PMO6QU1WezbaCCC/oLFAWV7vTPNW4UeGJKNR6dkmWjoycE84RD 69WbSTz3YNDvOuB4P7aVfM79XVY/Ioc4Xqeorgx36jQxrMGMBn4xoyRQDAZNokVpp9sg ddrb4JfhSWxeS3TbA880P9OnrgtK1HtTKKv5fWpPVSALiVsT/1R6uiYG9puNuaepiIQX 94aMj9DzIzS8B7s41IKbNH/XfSSl0m0L+P6KR+116wjU8IxdZ8HOxaGhDmuQ0QjOXWnI qK5A==; 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-bluetooth+bounces-5298-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5298-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 d75a77b69052e-441ef3bb15bsi15956701cf.63.2024.06.13.07.48.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 07:48:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-5298-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-bluetooth+bounces-5298-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5298-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 9A4E51C23068 for ; Thu, 13 Jun 2024 14:48:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2FF814658B; Thu, 13 Jun 2024 14:48:29 +0000 (UTC) X-Original-To: linux-bluetooth@vger.kernel.org Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by smtp.subspace.kernel.org (Postfix) with SMTP id B7E6413C69C for ; Thu, 13 Jun 2024 14:48:27 +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=1718290109; cv=none; b=YzBpNirzeNXdFgHZLIsBL0mlqc0Qs6IshEWUnZjVf6mTv7GEaBPdYb+IAu4W3PvfzP34XDJ6zOmolrRepda4WYR9jbk/EWUtgQs8M9PlEx/5TxShTFiKbt6zmvltU5UZhfB8CdKy8m2bOTf7nhtvQmbjFuXFKzEnUddZ/NS6DLQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718290109; c=relaxed/simple; bh=WJfygxCiIGV+LFOhGdFIBNXZJXjEjMO9dlxerVwEtX0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hjwX4hqPoM0Ugj7B8ewz3jfU47yI05yAnEybZrZF/n6D3i96KKsXg8E10+rrJp9yE0h0hDPg0spcgIip9S0FHkIoCyzRMTn1MmR4zo0+9+lwMV0i3ncshXGBAufzaiPOEtbsYvMf0NlhQi49+77UbysXZHDjPiS+insFLs4mMKg= 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 263793 invoked by uid 1000); 13 Jun 2024 10:48:24 -0400 Date: Thu, 13 Jun 2024 10:48:24 -0400 From: Alan Stern To: syzbot Cc: johan.hedberg@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, luiz.dentz@gmail.com, marcel@holtmann.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [bluetooth?] [usb?] BUG: soft lockup in hci_cmd_timeout Message-ID: <4e155544-60df-42d2-89ea-924ebc9f7057@rowland.harvard.edu> References: <000000000000f45085061aa9b37e@google.com> Precedence: bulk X-Mailing-List: linux-bluetooth@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: <000000000000f45085061aa9b37e@google.com> On Tue, Jun 11, 2024 at 09:20:31PM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: 8867bbd4a056 mm: arm64: Fix the out-of-bounds issue in con.. > git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci > console output: https://syzkaller.appspot.com/x/log.txt?x=112ad20a980000 > kernel config: https://syzkaller.appspot.com/x/.config?x=3b4350cf56c61c80 > dashboard link: https://syzkaller.appspot.com/bug?extid=1b2abad17596ad03dcff > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 > userspace arch: arm64 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1112d2ce980000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12c37286980000 > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/6ea21f50498b/disk-8867bbd4.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/e2fed09364aa/vmlinux-8867bbd4.xz > kernel image: https://storage.googleapis.com/syzbot-assets/4860173c7a18/Image-8867bbd4.gz.xz > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+1b2abad17596ad03dcff@syzkaller.appspotmail.com > > cdc_wdm 1-1:1.0: nonzero urb status received: -71 > cdc_wdm 1-1:1.0: wdm_int_callback - 0 bytes > cdc_wdm 1-1:1.0: nonzero urb status received: -71 > cdc_wdm 1-1:1.0: wdm_int_callback - 0 bytes > watchdog: BUG: soft lockup - CPU#0 stuck for 27s! [kworker/u9:2:6293] > CPU#0 Utilization every 4s during lockup: > #1: 97% system, 1% softirq, 4% hardirq, 0% idle > #2: 98% system, 1% softirq, 3% hardirq, 0% idle > #3: 97% system, 0% softirq, 3% hardirq, 0% idle > #4: 98% system, 1% softirq, 3% hardirq, 0% idle > #5: 98% system, 1% softirq, 3% hardirq, 0% idle > Modules linked in: > irq event stamp: 150196 This patch fixed the problem in a different syzbot lockup. Let's see if it also fixes this one. The console log output suggests that it will. 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; }