Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1272085rwl; Fri, 7 Apr 2023 12:50:45 -0700 (PDT) X-Google-Smtp-Source: AKy350awu47BgYv01L8GUmUiWo8JooKccKWstM2KkT3/Nexl0stFU91FuKaQwXLT5Mhk3ERdJO1/ X-Received: by 2002:a17:906:2459:b0:948:dfb5:50df with SMTP id a25-20020a170906245900b00948dfb550dfmr518397ejb.8.1680897045716; Fri, 07 Apr 2023 12:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680897045; cv=none; d=google.com; s=arc-20160816; b=032yrRIJfokH0jMbwUQis7FWOMaWPyclqKr8VrMEHXjUTbdkfyQKMUEVtvXSZkmt/T r9MrdvFLSH1A5xOh6RnZDe/Ghy53iGy1Q+jhz75tccpg0oj50LMCXK663Nx3XUZ0bRL0 p6WninHaN5xEnZ9HuF+DSEFioAhtvKfeBE4HrlyOBvd9GUrxjoC1ukFNCqFfoRcXCjkm Q9YnU/SC67yOd7XDy0nw1NQa/4wMmEBo1RIM9N0wDcEFaee49LSyQdj4Cz2mSVFl7JFH hfkpqtXLFtaxpJUjniTgmBoTVibVOoK0XGh3XwgBPiKLMSllkZ6Ne/6uG/fmos/oR1Vk uSiw== 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=2OYnY9Uwj1WnUvDt0AWsUZK23oN+Zy9ryJxaYgA14zY=; b=qUV4hYQBlraIi2fWTvv2TCJV3j606eGfbc5FfM+8khFTXlQrAhdVkOiND8Xrk6dqeZ pVkC2ds65XRzr9kwy5gWlgaqwLafe4sZHtNPetUzJ/c3ob6hirUbFA9DXwIZz6NSDbkM 9OonHioeR5FRUB2dEpfV1u0z+RTSgxiPHAMxluxOAJtAbtDuhYP1xv37JQx6Mo6+PIgS Hv+RgeQ8SGFKB6ftoYCQpreAl4XmNIDqWd2vm+QOS32f5zVKmJjEiNamMiDdYFAVi8QD chnBLp/12HRN9S6aQ92QlOm5yA2VYbxdqxctNawEgcywtpwpa6uOvpLEGC+3uKgEpKLY 3dUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WxJW7VOI; 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 lx24-20020a170906af1800b0093959594e50si3648002ejb.248.2023.04.07.12.50.19; Fri, 07 Apr 2023 12:50: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=WxJW7VOI; 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 S229589AbjDGTlq (ORCPT + 99 others); Fri, 7 Apr 2023 15:41:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjDGTlp (ORCPT ); Fri, 7 Apr 2023 15:41:45 -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 C437B6A47 for ; Fri, 7 Apr 2023 12:41:44 -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 5F358651DB for ; Fri, 7 Apr 2023 19:41:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id BD7B4C4339B; Fri, 7 Apr 2023 19:41:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680896503; bh=UXeP8jA2VJLCWMj+LxmO6JcZ2RcDJsLI/X8UfZThR/8=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=WxJW7VOIDAQvfwqdewErUveGrk5mgGYoo259sfRIUA+qH7vBbUbgJjtpNDXMQ3nHI SBwxoy6LilUb5ynKwkckfQCyjYe/COdoYxOvISm6HlKVpgyY4TnPV99fXeSnickXGf hRbO2QqZtUfBe9s36NvtlLKwo/fpUZj5nX8IBDQORKbzqWTsGzV9VJ2swpGHGmR13q 4AoZujr1LkJycjvTZI25TU0m15N8riN+ar2nC00PksHiiel7q3HIQE9QbD7kXP2U+/ RQqnBE1ENxZwLFw1OqdLjjWa/acMWQnIMSk3q0PwkXNIPMHEL84rfwQzCeScNhErFq gUi1PiOtky+FQ== 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 9FB0BC395C5; Fri, 7 Apr 2023 19:41:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp} From: patchwork-bot+bluetooth@kernel.org Message-Id: <168089650364.19462.11243514647984539590.git-patchwork-notify@kernel.org> Date: Fri, 07 Apr 2023 19:41:43 +0000 References: <20230407180201.3229763-1-luiz.dentz@gmail.com> In-Reply-To: <20230407180201.3229763-1-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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, 7 Apr 2023 11:02:01 -0700 you wrote: > From: Luiz Augusto von Dentz > > Similar to commit d0be8347c623 ("Bluetooth: L2CAP: Fix use-after-free > caused by l2cap_chan_put"), just use l2cap_chan_hold_unless_zero to > prevent referencing a channel that is about to be destroyed. > > Signed-off-by: Luiz Augusto von Dentz > Signed-off-by: Min Li > > [...] Here is the summary with links: - Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp} https://git.kernel.org/bluetooth/bluetooth-next/c/cbcb70b9beee You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html