From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EC54C001DB for ; Mon, 7 Aug 2023 22:50:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230429AbjHGWu3 (ORCPT ); Mon, 7 Aug 2023 18:50:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbjHGWuY (ORCPT ); Mon, 7 Aug 2023 18:50:24 -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 8BFA0101; Mon, 7 Aug 2023 15:50:23 -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 E666B622E8; Mon, 7 Aug 2023 22:50:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 50B39C433CB; Mon, 7 Aug 2023 22:50:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691448622; bh=p7FlQ1wsuFCbLmkzvILOoJTYAZLXhkyWPIPyOat3lFc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=VaFdVtmePbkRWMwjfJwr8MFqCVNlE0AZYdrNfRNhggPvrienhrNSNyYmYtUKv7O2w 5eVhUtoyrYKm5mOLVI/EtrcIVGh7nPfXpbO4AzqjrUygqZiqeE8qkNxad988zWCqW/ X4nBZC6YKpEaIlnL9nsFfxTQltW9CGQjdmnyvuNNRO6RirbMVydZKDGGCq5k4kG8az LS0HLAJsFLygt69XQQGm261HOhMfS0bwTVlO9e1Ophu7hGVwEtmNZDHd+bsImuGInK U92rBKOaJ3owA1LpTA2SrCTjsH6KzRKIe64KJXwh95YJGXSlHAAKQplIbl//1C9gwl 2TlKYqjzpwKfQ== 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 35433E270C3; Mon, 7 Aug 2023 22:50:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor() From: patchwork-bot+bluetooth@kernel.org Message-Id: <169144862221.1999.14693714879405886120.git-patchwork-notify@kernel.org> Date: Mon, 07 Aug 2023 22:50:22 +0000 References: <20230804111444.1.I43aa4bd799a3cf9102f9de8c365ccb3d8e53a9d1@changeid> In-Reply-To: <20230804111444.1.I43aa4bd799a3cf9102f9de8c365ccb3d8e53a9d1@changeid> To: Manish Mandlik Cc: marcel@holtmann.org, luiz.dentz@gmail.com, chromeos-bluetooth-upstreaming@chromium.org, linux-bluetooth@vger.kernel.org, johan.hedberg@gmail.com, mcchou@google.com, linux-kernel@vger.kernel.org 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, 4 Aug 2023 11:14:45 -0700 you wrote: > KSAN reports use-after-free in hci_add_adv_monitor(). > > While adding an adv monitor, > hci_add_adv_monitor() calls -> > msft_add_monitor_pattern() calls -> > msft_add_monitor_sync() calls -> > msft_le_monitor_advertisement_cb() calls in an error case -> > hci_free_adv_monitor() which frees the *moniter. > > [...] Here is the summary with links: - Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor() https://git.kernel.org/bluetooth/bluetooth-next/c/34d241ece878 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html