Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1576046rwl; Thu, 5 Jan 2023 16:06:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXt4Qp5pyOAYLbUka+TqDD5oaZ1zHzMsJ4tyNfI7q/VpvHbEIaT6s+lgsluOuNf15H7pXj/c X-Received: by 2002:a05:6a20:be15:b0:ad:5cee:4d0 with SMTP id ge21-20020a056a20be1500b000ad5cee04d0mr44318956pzb.12.1672963576151; Thu, 05 Jan 2023 16:06:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672963576; cv=none; d=google.com; s=arc-20160816; b=yWXs8qQBVfGatLQ7LFpPx4yLkN4bUG+vSUdhLGLfLdrgp/UMSHxNl7kFF67L+SRcGx 0EKgFa+k+rV73fUnW8NTLh+gI8U2BEwvxm+3Ya2bEXMbgfNdLlIJJ3IHPZiOw37SRNp6 ykY8nNmPjx0EOt+btmsURAq2SFd+g+lEvl/w3F++TlPmfLeCnOKmcksjRDLwwcxQdh5x NHXPAxJn9tcjUkoJRx2KqJnDHbdMjIj5b7/y86+J6hcetMVhQKfiEajwbXye5amKg0mj 3VokqeWzRES/ODvfekgcViwQBeGp/abUza1/mkumy4H2fFP56VDKz1d+9lArtS26Q8CG B/9A== 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=4mtVPkD172XfxeQsRcBultM0d4OLgNdt3ZlDyGvrfws=; b=fpfXCTz086Y9aPJZbW+2gPu7a/TSAQtKg/BJ4ci+9nIuUlVn2/VjMc/EgY4DuX7hdm qs99K3A/fjwtqH1HQthOeLMVXtNJLqbioEfGJTISdBVNadr0TauCpYx+eu5yoQVYlr25 7XdKpE3zcmZKgLmAClzyuUUCiuXjY8r5VxiHUvIv4oHz98f9lTJpe9GMpMDqjmnd7OpH JtiRZieixvUTvPy2wiR2NMjNwtfpOwjHOxY5fdktN/64ucyYHfbYbZxfnspshFz1briS ealojrrxMW0fFV8UZBdjnlLvMr6+wB4H/2L1iqRhCOpEeusNZk50sQSD7x4Boq4PbIfm V5PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pY8s+tUl; 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 m65-20020a633f44000000b00489c72b232fsi38873591pga.707.2023.01.05.16.05.50; Thu, 05 Jan 2023 16:06:16 -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=pY8s+tUl; 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 S232367AbjAEXuT (ORCPT + 99 others); Thu, 5 Jan 2023 18:50:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229684AbjAEXuS (ORCPT ); Thu, 5 Jan 2023 18:50:18 -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 3E5145F8D; Thu, 5 Jan 2023 15:50:17 -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 D9CAF61C39; Thu, 5 Jan 2023 23:50:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3C83BC433F0; Thu, 5 Jan 2023 23:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672962616; bh=PrrLFxarYWh5CM+qoMzISrjfCB1Rub1rzIzz5HE0W+A=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=pY8s+tUlk7VLeh6+pkyslV9p97RwbJHPgUVE6E5GvlrFDYosIfO6Hlz8u8JQcXMZ5 U1FxahmERg0s3QdYyakvEbghL1P+Q4jkLbPtzF9/w0oEC45hjEI9JmksUaH9Mzxyz1 7Ku4U7uml8ZgI+YJVyCTu5g2xE40coyTxSXDeinvCgH6aXSlQR+1DtJPlxQ5e466p9 B5U+gnTjX+OGhJxrY2HGerYFfQltBbIO38wVHTaJe7LwqfBBCgPoImo5hUUM8MAnTn lIDx6VMQgdsx1o9GuTsZiLasp8F+JcGyKvtaZmeWfzX4wYjMt/uTlTTsm9W8OROXL7 fxKU/fLqf/ecA== 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 21D53E5724A; Thu, 5 Jan 2023 23:50:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: hci_conn: fix memory leak in hci_le_terminate_big() and hci_le_big_terminate() From: patchwork-bot+bluetooth@kernel.org Message-Id: <167296261613.18068.1679301858190838721.git-patchwork-notify@kernel.org> Date: Thu, 05 Jan 2023 23:50:16 +0000 References: <20230104064623.1140644-1-shaozhengchao@huawei.com> In-Reply-To: <20230104064623.1140644-1-shaozhengchao@huawei.com> To: Zhengchao Shao Cc: linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, weiyongjun1@huawei.com, yuehaibing@huawei.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 Wed, 4 Jan 2023 14:46:23 +0800 you wrote: > When hci_cmd_sync_queue() failed in hci_le_terminate_big() or > hci_le_big_terminate(), the memory pointed by variable d is not freed, > which will cause memory leak. Add release process to error path. > > Fixes: eca0ae4aea66 ("Bluetooth: Add initial implementation of BIS connections") > Signed-off-by: Zhengchao Shao > > [...] Here is the summary with links: - Bluetooth: hci_conn: fix memory leak in hci_le_terminate_big() and hci_le_big_terminate() https://git.kernel.org/bluetooth/bluetooth-next/c/5d043a6a43b6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html