Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9963767rwl; Wed, 11 Jan 2023 12:27:56 -0800 (PST) X-Google-Smtp-Source: AMrXdXvTJeGCYtYU+cOKzAcMWwAduUiZu9XUipXBCt8IZpVd/8u0CYeQXOgDdQ6Y5ttjpLA4wm0l X-Received: by 2002:a05:6a20:d685:b0:ac:83e:a9dc with SMTP id it5-20020a056a20d68500b000ac083ea9dcmr87988308pzb.13.1673468876709; Wed, 11 Jan 2023 12:27:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673468876; cv=none; d=google.com; s=arc-20160816; b=VawhDSieP9FHpB2TnoVtI3qoq7bP2xQVzD1bmLXLEngDWISHN0n8NcjDu1H8BzW5uS 7eWVjGXi1hPkVZsEfpyuouJWD/Ci3OnOo6sBSNkehegBWFbrO+Cj3RtqBbkY8cVF038A 3xpKs1GVvlkCaU7Tuj3mLAb8t7Jq0XC/NjEf9sJ+gLU14P0UmAlJLiVhRdbxwu+UCExG 9RZkZ5WRDVS5yyGOV51Wm7cQ6XdPdXE5YjC+2i4QYH+fLLm2EMh9YjuLcpl5mmA4X9ME POKKtyml/qsUDCFQwY/XvzEpiJi7CM6J6tMk7+DV0ZxveAE5tjXCKkw9Uc7Iu5dZtz7k 1O1A== 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=91mEqkNBAgZWwMfc8hIx+6WzmKuvR2leMJlkZ2/3/SI=; b=fNQrzA+oViDH5B5x7APfPBpjKvODiNt778YtBg/B8hCX9ZGs/KrgVCn0PrqJt3hcfP KnLAuDIYvoo7ekteuV6+LPeoQJzhhL88lDOF99YHchKL7dJrBIjvk9OCzdQUD3OjD1aB c39F9U1/UkCF9p4uzh2bjhr/EWLOiBChjvsY755oPq3zUrkKTyInEgBr/JgVy/2zMPbU VXvwYgOpMfif30PcWAfNMIOnHKbh+mC1hs9nXcdv/O0LS/sFeSXVvG39+ob+LI/BDDB0 tAz/QTe+pGisBpHL/u/mmwyQ3imHap9qxxt+7QlagW4esYai4dCnUT700CwJlI7lXlCz ZkNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZbGuZXtI; 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 i64-20020a638743000000b004b5b1c44f6csi2801757pge.183.2023.01.11.12.27.42; Wed, 11 Jan 2023 12:27:56 -0800 (PST) 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=ZbGuZXtI; 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 S232344AbjAKUKW (ORCPT + 99 others); Wed, 11 Jan 2023 15:10:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232233AbjAKUKT (ORCPT ); Wed, 11 Jan 2023 15:10:19 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36D3BCC; Wed, 11 Jan 2023 12:10:18 -0800 (PST) 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 CF58861D9E; Wed, 11 Jan 2023 20:10:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 203C0C433F0; Wed, 11 Jan 2023 20:10:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673467817; bh=IqUrYkAjm4CwMRnnIvaM2uflzYQogPf66FSQYPlF+7I=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=ZbGuZXtI/BqFEze9TAwX6kmMqCpkQJCR/p41+5rcb72RzkpFsFvaeHEslA0Q1R48w VCJhmuakQF82BWrINEcsdwReJ+Cv048YDYm7/FdIknUUopdK4Zxj5nh0Ng/3roH6UG 61vlpQWuOzb0bHNQbAek12ULy2ImpoFdL47lT7ATkEgB+GRngNvZDXZj9abxX8BEH/ jnCFxRu5bfThbFcdMdc4vLN5saDEm0WEit/ZRdIGp0RMYpjSbBrhKKrPWJOFQJCsRA GW3JXRceFFdV08DGd4wrDlImyoMIIX/p3NHaKmzi4kuPgJWra7MH+4RW1vc1V3JbDt G53Puri+iE0Ow== 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 F1902E270F6; Wed, 11 Jan 2023 20:10:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3] Bluetooth: Fix possible deadlock in rfcomm_sk_state_change From: patchwork-bot+bluetooth@kernel.org Message-Id: <167346781697.28484.18153858601113924457.git-patchwork-notify@kernel.org> Date: Wed, 11 Jan 2023 20:10:16 +0000 References: <20230111031540.v3.1.I1f29bb547a03e9adfe2e6754212f9d14a2e39c4b@changeid> In-Reply-To: <20230111031540.v3.1.I1f29bb547a03e9adfe2e6754212f9d14a2e39c4b@changeid> To: Ying Hsu Cc: linux-bluetooth@vger.kernel.org, marcel@holtmann.org, leon@kernel.org, luiz.dentz@gmail.com, chromeos-bluetooth-upstreaming@chromium.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, johan.hedberg@gmail.com, pabeni@redhat.com, tedd.an@intel.com, linux-kernel@vger.kernel.org, netdev@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 Wed, 11 Jan 2023 03:16:14 +0000 you wrote: > syzbot reports a possible deadlock in rfcomm_sk_state_change [1]. > While rfcomm_sock_connect acquires the sk lock and waits for > the rfcomm lock, rfcomm_sock_release could have the rfcomm > lock and hit a deadlock for acquiring the sk lock. > Here's a simplified flow: > > rfcomm_sock_connect: > lock_sock(sk) > rfcomm_dlc_open: > rfcomm_lock() > > [...] Here is the summary with links: - [v3] Bluetooth: Fix possible deadlock in rfcomm_sk_state_change https://git.kernel.org/bluetooth/bluetooth-next/c/7ed38304a633 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html