Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2842988rwb; Mon, 19 Sep 2022 10:46:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7MmwiQ1vGA+/yWA4/ujsDB8o27pLuBH4S4jmdg0F2rAHdWq2mgh6lHQ2vtTl4EjCH2gxpa X-Received: by 2002:a17:902:8c81:b0:178:a33f:8b8f with SMTP id t1-20020a1709028c8100b00178a33f8b8fmr925740plo.50.1663609583802; Mon, 19 Sep 2022 10:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663609583; cv=none; d=google.com; s=arc-20160816; b=uPtd+tzbyAPIesYYlKehnH01X4WABpMy9SNFnM7O8eEIcldWd2JzFoUvFDXSxHSqV3 4JsNmTXpschcxCca8SvTRH+hCr7mYIIeH2T53BWafBguFtJ4hwvVpTLb3S5tzKBj8CyY sNpoJmjH5wRicynQOPH3UB7BwX4vCJPMHIYLMpYTIWJMAY8MvFNDLsavcoC7qKCvbqBQ Jcgo3zBGFWUtRUkPNhlZxn3Zq09yxA4ugoXlvhBG5CjuPVb1MoZVQ6T2K6iqbe35Zi08 QDP+DWde3PBlGH9kp802LaZd6zlYhC7sYgeKdagGTflOJIW8rR62kSNyAh0Vk9LAJ0n8 uHbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=oSVAv/HdLb4kJEkLSzKOG6D8XgWYIzZSvgcKR67LwuA=; b=x8PciZaOYsdGbkk7YiYYdH0UuMpWj7Zrd0KWhg5Yzy9EEKAsCKyLvlAgq6Ony3nPWu YziHwYuQrZhyT1gfNi4bh47vN2fODHewCNDRXSN7ibnCv1m6wRSWR13t+3hyNobBj1A0 EWoU8yTfpPAdf4p+UiCYYf8PWMPKoYnfIsmu6VgmAPnuJRXbeDzoet+47TFAy8ADigYX pf4w0N7G25YfyMTF3vF2t5Az0wWByh3A0jZIjU4nx4K1GhfW+dxqJu3Ftd9U0Lke1EWD eVDn3+eFQcgKiaY2wW2ydMVDxQj5bvkN4pXFrO1lIHjaJkxLUhErZO07reQDzLPDV8BZ W/Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mM/9cihf"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m4-20020a6545c4000000b004206ecd8f9esi269354pgr.552.2022.09.19.10.46.01; Mon, 19 Sep 2022 10:46:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mM/9cihf"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229566AbiISRaW (ORCPT + 99 others); Mon, 19 Sep 2022 13:30:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230083AbiISRaU (ORCPT ); Mon, 19 Sep 2022 13:30:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E8E71CFC1 for ; Mon, 19 Sep 2022 10:30:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5BCE2615F8 for ; Mon, 19 Sep 2022 17:30:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id BEB28C433D7; Mon, 19 Sep 2022 17:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663608616; bh=48ePgsw+46qV4yHihCNPg91nmcMTeUltXkR0/3095ss=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=mM/9cihfPC68it6iHfYwkWeVts5CeCe+xTC3ddKbPtV8SkE0rTuBkbhNMeWX93NCq IzwIDRp3psWdUEE/X1McCtclgRPB9k7mMcKNEMTJicr1UzFQF2GbgaSfy7wrUavTU1 9y1W/pLQ5pciJs1Eg0Cw6ZL56wRpX/thHOQO/vMQHxdb5DVf4jPZSdVw87yIbO+7l+ ejC3bhBwoTyZUOZQ//78EXnyu4HbXJnnY+Cu8t61TvkcGlDdgbTXy00jcpmJuXIa+P DI4k4ytoQ1nGFaL8aPiVWcWfhbcEYgrgFO4JbupCJoQMufu6qMC4sqMmSKGQVpd/hh HToBrup1mZ1Rw== 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 94F72E21ED4; Mon, 19 Sep 2022 17:30:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: use hdev->workqueue when queuing hdev->{cmd,ncmd}_timer works From: patchwork-bot+bluetooth@kernel.org Message-Id: <166360861658.29822.12630760382749336060.git-patchwork-notify@kernel.org> Date: Mon, 19 Sep 2022 17:30:16 +0000 References: <733e6931-aa66-5295-d8a8-49063b7347f1@I-love.SAKURA.ne.jp> In-Reply-To: <733e6931-aa66-5295-d8a8-49063b7347f1@I-love.SAKURA.ne.jp> To: Tetsuo Handa Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, schspa@gmail.com, syzbot+243b7d89777f90f7613b@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com, jiangshanlai@gmail.com, tj@kernel.org, linux-bluetooth@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Fri, 2 Sep 2022 20:23:48 +0900 you wrote: > syzbot is reporting attempt to schedule hdev->cmd_work work from system_wq > WQ into hdev->workqueue WQ which is under draining operation [1], for > commit c8efcc2589464ac7 ("workqueue: allow chained queueing during > destruction") does not allow such operation. > > The check introduced by commit 877afadad2dce8aa ("Bluetooth: When HCI work > queue is drained, only queue chained work") was incomplete. > > [...] Here is the summary with links: - Bluetooth: use hdev->workqueue when queuing hdev->{cmd,ncmd}_timer works https://git.kernel.org/bluetooth/bluetooth-next/c/deee93d13d38 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html