Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29404172rwd; Wed, 5 Jul 2023 11:17:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlFfs/HJWjDNslvX9ahO1J8Kd9Fb62chx9y6vOLfk5D9yC7QPZ/z4l7ob6/g4c51g3VE4uyD X-Received: by 2002:a9d:7612:0:b0:6b8:db02:5966 with SMTP id k18-20020a9d7612000000b006b8db025966mr5559967otl.16.1688581060864; Wed, 05 Jul 2023 11:17:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688581060; cv=none; d=google.com; s=arc-20160816; b=r1Q+YSu//OHg0r3RbnYrl1RIwfV99CqUzsX9yQAjcKa9iJDeVbidw5Fu5bui5Puus/ GUA0JWjce2xNb7cg+RfXreM0yR8D4qTwBpU2XVP0vFIqRrTm9wg702xSn97P3aszU56z DbzZJosgv4HFwbjvPpbDTbHv9uK7NK44if94K1c2RLn8GkkwtmjJrjcd9LA9pwOYifHA 9LKVrJQ+3LXuevpvjFeSZUF6vU+eoFe3AW1Wb/pKC5/dbTU4uKgwQcl/2hYY43n/DKFP s8B00RvqP7ef6Xm2I5GJy3EPfpWvD/zagv/Fx2f85U48nG/gB64xB0o6qWNgFYSc/8EK GeIA== 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=lvoxBlTGE4z15RrXR8Hhcs1ofxsgA9cTjMq2HaaytKY=; fh=jsxxaw+wJjMKM8ZsQrpETzyqbxEjAqZmuXlIq1U/rkQ=; b=iXtVlTqr1lEZzpjivqQVQrVrW2J6t1QY++zy0xFlaOWcWsWcnOPCi/Yh4jo1QVdX7J g7SPiF/8uveItD3IkAZz/Y8/v4Jqr9W5LEzQfMmXZkLdMrVs5MQO5HvUHxbxURL4D2Lm rDiuN10IzZBML9Gtua+WcCXRDebET7eEIBcp23BTeCOKqkNt0Y3s4oiaCRNC1GgA9smn yykBUd/E1KQ8vsGyjP8Ri5dFGK03VttSEBl0UpDmxlEMwaOYRY/lQEtk7ZROlnPrGHIb QQUF6oEaK/liniXsy/osgy+USLi9x3X+zvy+3LW37iIMZslbUGQC35SDWagCjTBRBbkm 6i2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XVgGQK49; 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 g4-20020a636b04000000b005579d6bdf7esi22217518pgc.856.2023.07.05.11.17.26; Wed, 05 Jul 2023 11:17:40 -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=XVgGQK49; 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 S232699AbjGESAb (ORCPT + 99 others); Wed, 5 Jul 2023 14:00:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233290AbjGESA2 (ORCPT ); Wed, 5 Jul 2023 14:00:28 -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 85D651985 for ; Wed, 5 Jul 2023 11:00:26 -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 D49EF616BA for ; Wed, 5 Jul 2023 18:00:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 2F54AC433CD; Wed, 5 Jul 2023 18:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688580025; bh=FEtwvq+psI1D/51MOP16qxgVkyT9uxJ5XlLshbNxers=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=XVgGQK49qCA0vP8Hgsa2Iy+vBH2EMrHSsfQRU9PRKEZrTad/jOJFrmBUp6Mht3nEw HmzP7zauYAXlU4gLlh+qZvomS5zzQKltE3WLgq3oCSwc/sbI5CdLRjI6BEWGBJZpBs frIdk+R/eStu3Yf6aVsqCFX1FAb5ds/7LBr5Zg4jwgqtuvcaA4HZ03nxmBQ8g8Dwp4 HlU7wNA5aU05gw6+zjKHlVCJnpbauqgU5YQwVtWGkvVDGZocvdMfEsfX/7ohdwZLqw M1dQvMBjqLhoYCgn3cWbnZ+R90G4IA64CdKOat/Q1KlyzZBMdrms6Flbu4xiiRChSk 26ORJGG5Fx7BA== 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 19A85C691F0; Wed, 5 Jul 2023 18:00:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH BlueZ 0/1] plugins/admin: Fix heap-use-after-free when using 2 controllers From: patchwork-bot+bluetooth@kernel.org Message-Id: <168858002509.7518.8262245592658032637.git-patchwork-notify@kernel.org> Date: Wed, 05 Jul 2023 18:00:25 +0000 References: <20230704055643.296260-1-vlad.pruteanu@nxp.com> In-Reply-To: <20230704055643.296260-1-vlad.pruteanu@nxp.com> To: Vlad Pruteanu Cc: linux-bluetooth@vger.kernel.org, claudia.rosu@nxp.com, mihai-octavian.urzica@nxp.com, silviu.barbulescu@nxp.com, iulia.tanasescu@nxp.com, andrei.istodorescu@nxp.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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/bluez.git (master) by Luiz Augusto von Dentz : On Tue, 4 Jul 2023 08:56:42 +0300 you wrote: > This commit fixes the heap-use-after-free error when connecting 2 > controllers. When a controller is connected > admin_policy_adapter_probe is called. If policy_data was already > allocated it gets freed, if not, it only gets allocated. Eventually > add_interface is called. Here policy_data is put in the "data" variable > (specific for each controller) and the process_changes task is called > with idle priority. This function ultimately accesses policy_data from > the "data" variable. > > [...] Here is the summary with links: - [BlueZ,1/1] plugins/admin: Fix heap-use-after-free when using 2 controllers https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=b74146068892 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html