Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp240930rdh; Mon, 21 Aug 2023 13:44:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+dL5JMxVThNXbI5JwCg/F77qENOtiQOi4cdtWQnqiH2bC8qyui3atm4q8rkQgMFP0y4ii X-Received: by 2002:a05:6a00:816:b0:686:6e90:a99b with SMTP id m22-20020a056a00081600b006866e90a99bmr6635354pfk.25.1692650685828; Mon, 21 Aug 2023 13:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692650685; cv=none; d=google.com; s=arc-20160816; b=u5qoPMc8V2f9P9FmD4/H+wM3a3n4yNn07DuaM/S6kTJnE0FVJNBbMM0JzvwSRjDhyv rzLQmV+omHaycupiHMpCnP2DpTZZIhQGc6A0Q3JL6MIuf2bSQK4Y4rmQu6xQ1b8uFl1v nSK+HEI3UmQADZEwV2u1OqMZJnrhRantsEhAy1im7i3UqlGx7cOQmt59ZNXn7vu5Eoxh R/ljVhIERNpYQHfcTE0QZ5VAfQwxP++QWf4YX4tfP60H6VPANiqqmuTfKdLB1ZkOX248 tLRxqqqPefl4bmuzbQWkW5202U7U8dMw6a1arb1i4wqDMEEx5iTLBOzSrs7vfHatLtxz GtdA== 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=aoWKvWmE4BZa5INYQn4pRgfosqHzUHbUcJjpxZTyUgk=; fh=11Q4bFidXw7Vv9kgUjFApfamggecD0kYFMtSm29mgF8=; b=PORhMSn9WUuDZ5LfhUzxSmSg13JtG/l88XXEVPijRAwcoeWiC/p9gpbYO0WpniI/eY d8GqZ13nBkLW7SaIh6K57johH1n00l9m7XnKPvI9Y40M1RD7tuOWBx2AKKeTo1nB/3JN wSJ/uUuXgYF0FlLcDfDOez/UgLDxX98l1+EtDwRwFdMm4B6YhlQoGkCCJAMl6Y93WlA7 pkjntnygaLX3DiM4pz0OsDey0W4xc44WyrLLrobDycusWvvqfTGWz8H9/cyxNcz9Hdel PNKpv8Z+WYHNhDcAhxVSguwUkH1SS3UPpxIeUc4ydH9OFN5fIBBK9dLrYYraboa7DCgW gjMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YXRhTGBS; 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 w185-20020a6382c2000000b00564f223ef05si8033024pgd.11.2023.08.21.13.44.30; Mon, 21 Aug 2023 13:44:45 -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=YXRhTGBS; 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 S231345AbjHUUla (ORCPT + 99 others); Mon, 21 Aug 2023 16:41:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231247AbjHUUkj (ORCPT ); Mon, 21 Aug 2023 16:40:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 971E1CC5 for ; Mon, 21 Aug 2023 13:40:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3AF5961806 for ; Mon, 21 Aug 2023 20:40:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9B23FC433CA; Mon, 21 Aug 2023 20:40:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692650424; bh=v3FXWN76RifE23s4dN597jpRin3YyNdUQL1+6Px0GcA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=YXRhTGBSsGN7Ot7rErCf42d39tu42jD3PprKkkri4OLBM4ynKgam3vBM7fWhwoX/+ I2tInIQPXyQO91jLc263BQR4CAXqbjRfcQgqrJj+kUjzBkvrUx/gnQDOOI3Idkfaqt NniEqD3PwUzPYZPw0W5pBXqXA2aB8mVZqiv7NFmr2Z3ls7hxTWieoCNTcC4TRv3Tys KxujTnusgtmmm5C9LDOTog2kjZCaqKb9K+kVKOMftELqBB5QFPtUik/pyUqsdTh5ER bNgZXN2QQGe1OE/QiE+sBr9gyXassbb/a1nqhEcIxHAHdr0WZWu4cOsaMQf7vq86KJ KtklzT9hOf9JA== 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 7B8CCC3274B; Mon, 21 Aug 2023 20:40:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: hci_conn: fail SCO/ISO via hci_conn_failed if ACL gone early From: patchwork-bot+bluetooth@kernel.org Message-Id: <169265042450.14991.4730354041054049227.git-patchwork-notify@kernel.org> Date: Mon, 21 Aug 2023 20:40:24 +0000 References: In-Reply-To: To: Pauli Virtanen Cc: linux-bluetooth@vger.kernel.org, syzkaller-bugs@googlegroups.com, syzbot+cf54c1da6574b6c1b049@syzkaller.appspotmail.com 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 Sat, 19 Aug 2023 16:33:36 +0300 you wrote: > Not calling hci_(dis)connect_cfm before deleting conn referred to by a > socket generally results to use-after-free. > > When cleaning up SCO connections when the parent ACL is deleted too > early, use hci_conn_failed to do the connection cleanup properly. > > We also need to clean up ISO connections in a similar situation when > connecting has started but LE Create CIS is not yet sent, so do it too > here. > > [...] Here is the summary with links: - Bluetooth: hci_conn: fail SCO/ISO via hci_conn_failed if ACL gone early https://git.kernel.org/bluetooth/bluetooth-next/c/c452805643ff You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html