Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp885400lqs; Fri, 14 Jun 2024 08:20:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXQpCxnwefSnL/lOKqba5xqQm7li2bmvgl0Pri4W9DCgibuDzsEEVhMkv9Khh3Px0xykBVRTHiPWDZvN1/uXm0+cJI1g+C41AeBxYvYA== X-Google-Smtp-Source: AGHT+IEhXzyEv3GONWEcETWSGo3s599OYyaGkJMCKP/PgaIM9VAcSgOFoHZxM56p7IjwFtz0EtX8 X-Received: by 2002:a05:6402:3403:b0:57c:7ed7:897a with SMTP id 4fb4d7f45d1cf-57cbd69e802mr2125203a12.27.1718378453602; Fri, 14 Jun 2024 08:20:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718378453; cv=pass; d=google.com; s=arc-20160816; b=LIw3l22oYyBiJPFwSJdX77b+L33I2hPlE4BCuPudsnbRmD7Acuej00ax0xjVz7iC3Z 1OQ3mypbgBN20y3wQTJM491fY/UIUXS9z2RzUvGycaRc8EmcabB+KIpwgZPecxhmQrPx qJtG8z6Kq2U9+5D4wxoW165ePtipGTUOKcGZPAyM0a+eFc4DDOjd40oSZqZ7qYXli63A OB7sLZ5RFYkAb1aeOWlycmKqNFBOhajx5UZcK1f2T29Eey/JCDUrNmHsVnoC6TqWv7r/ +4x/iR3UIzmQya7AQHx6e1FaGlbqCyyFFAB+fN8N8LtVHilFnCVq8BHzzC0hczNqlkOX WZ3w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=Eu8JIUGJI8/QJQARtoi3eYX6Ku3TyNDVMyTCrFAxs6I=; fh=CIwkFHbJQTmRNfhivekZ5E+iWwUHungkT6Jx7HkAEeM=; b=M7ZlSp4o6CR4GZ+hXDWphdZkZcQKNeg7M7n/saqwDy7mPA2lCwNBwVQCQUoCapCxzP b67GLLX6GFRK1h2ED0qt5aWPzn3gYYzHC4Fi40m/ywJljOvFJJVI2r/ySjmz+RDdFhL/ DT/adQ1Ve2h7Gcr/RodQpOyMWEnBTLGtuQ62F0itqU7AJPxSd0HTkKHwqHzTo22SOCfB NR1CAqHgrwLHqAn8z7UajZHyTQTGQ/siGJZstL+ewEg8o7Ex294iWe5bIZ60oDcGI+Fo sZMVip8sVsEdi+RGrDeTXe9DUJqkpXpE7qAed4LFhhmvzogeNPrCw2Rzzeb0Ri+c94x9 Xg7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=brBXsjD2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-5323-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5323-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57cb8c87073si1776629a12.145.2024.06.14.08.20.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 08:20:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-5323-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=brBXsjD2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-5323-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5323-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 507921F21DAD for ; Fri, 14 Jun 2024 15:20:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0510315F406; Fri, 14 Jun 2024 15:20:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="brBXsjD2" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9711915ECCF for ; Fri, 14 Jun 2024 15:20:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718378443; cv=none; b=P8F3jyrSjyyzsNU3/8o+bBtMl3RCpe4wd+/HJ0TFOqMA9KOOwIAhZjP1DVSAUPMaPBM/FIMNZHyNvmiRDE2jr61zb+mXpVnT0oN588f9NUG6oDlBH4ot/fzLmF35Z1rj9O5+CXFqaxsSq0ZPNcLSMQquEGbuKK9dnWYYLnsjwJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718378443; c=relaxed/simple; bh=CE5XgxySA3EfGtvLNJSEHXtLt37EeoKl5QYIBGyIiP4=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=uwR0Hnbh/xJxm5ivjLXshipLw888UzqW+CnV8vtUndQVLt67jqhdn+MyWewOQvPRIorfYVqEiMqwVlmIuaxrwOleKngtAyFoJQQ61VgbW5T3ur3MyPcLyZ7l0hWnpjcIZxtcMQOQxedKEASxUBMlcraIhQeT6RY1pYInUssM7rE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=brBXsjD2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id CB57FC4AF1A; Fri, 14 Jun 2024 15:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718378442; bh=CE5XgxySA3EfGtvLNJSEHXtLt37EeoKl5QYIBGyIiP4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=brBXsjD2lvAtQzV/r+kJezbBye89GOjmlb3MRMzC3cw7nekcTA0i6kBLDY9AzJLzn q5Spu5r1qGBSBBC8CaYjcyurVlQR8Bji1NmiJGUOH42AiZXYh3EpasLK27+68rth8Y SWSCZ+4YKFQ7urc0guUjzWQX925TUmHOQrZkRo2L7fEE8/OJJWnS7q5j/ERDJOWHTA 5Ny4iudwdBtQl8/fhyARYigVBwKoKHvv4vvh0Q6xXnVV6YP/mEJDKd4MUPpEHc0hq9 IlVhqYLCQfHgpL3MAFHeC5milBr0EkgVAHRTTW26Q6i/lXe9oGbENqVnaXuV4HI6xz r4zWDwBnD9ImA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id BC7A1C43616; Fri, 14 Jun 2024 15:20:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: hci_core: cancel rx_work,cmd_work,tx_work,power_on,error_reset works upon hci_unregister_dev() From: patchwork-bot+bluetooth@kernel.org Message-Id: <171837844276.3654.6537509060028400728.git-patchwork-notify@kernel.org> Date: Fri, 14 Jun 2024 15:20:42 +0000 References: <7d6f0ed3-678e-4fd5-bd64-f980e0035b87@I-love.SAKURA.ne.jp> In-Reply-To: <7d6f0ed3-678e-4fd5-bd64-f980e0035b87@I-love.SAKURA.ne.jp> To: Tetsuo Handa Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org, syzbot+da0a9c9721e36db712e8@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Mon, 10 Jun 2024 20:00:32 +0900 you wrote: > syzbot is reporting that calling hci_release_dev() from hci_error_reset() > due to hci_dev_put() from hci_error_reset() can cause deadlock at > destroy_workqueue(), for hci_error_reset() is called from > hdev->req_workqueue which destroy_workqueue() needs to flush. > > We need to make sure that hdev->{rx_work,cmd_work,tx_work} which are > queued into hdev->workqueue and hdev->{power_on,error_reset} which are > queued into hdev->req_workqueue are no longer running by the moment > > [...] Here is the summary with links: - Bluetooth: hci_core: cancel rx_work,cmd_work,tx_work,power_on,error_reset works upon hci_unregister_dev() https://git.kernel.org/bluetooth/bluetooth-next/c/5b41aa213455 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html