Received: by 2002:a05:7412:d002:b0:f9:9049:d2ea with SMTP id bd2csp24675rdb; Wed, 20 Dec 2023 02:55:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdq2cCddNAyn8VPC7+tr972DMPf1/48vXlzK8c6wjh20TsPC6KgRZ5ADobw7VDOmaxub+g X-Received: by 2002:a50:8d8c:0:b0:54b:22a1:e6fe with SMTP id r12-20020a508d8c000000b0054b22a1e6femr5579117edh.7.1703069709786; Wed, 20 Dec 2023 02:55:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703069709; cv=none; d=google.com; s=arc-20160816; b=EcIcwV66uGqcDbjuqWp6LZS0PzIsIKmGazD707Tx2fEPa3SYJ8v2fiGggf01VyF86C NyeSfqC31zhe4KF+kushIjfsUATXIslYm2WpG3sq7Nhk/o1bngykyxnaZOld4wABZmzX vOQyKWPs/OzH49yNaY/5RD5uDfyaPKjmy11rtgHplW3T0Ei484hwWyov+uVQsoLLLAvh k3EDC0JPcxnEvgDTAaYZwZTNmJ9/7YSyX8AZlAEoeuCtdEXmQzbISqpYWgFwQu/KFp9I UH331znfidpl6txajltsRJYNupqdHs8GytvuK2RIrn7vmNwJm7IRV4mWx2Gy/NInXglJ P1Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Laj8y3iGa1nNa0MObsZbMxFu0s7RXAGHUjE0l0PMik0=; fh=d131B98ZSnMBazfNgjeT2rg0b1NBvOBGfwQmcniJ5MM=; b=Rkvb3ppFJEo59zC+VC029HUId8thARjhd2QgBW7nJwy64A9OfgyI2iTAcLjDqY2x1s s2Y/o8zlvxI/jOfcKCsdfMfczWSPObhOEeh1rSCkl639NSnS4CTqA6wl1ToAMXOIhDbd 9tgx5ipkzkqgcTu4y73N1HXKU5/wNjVIPWzagDC1GH+ws65HS6EUfyshl3C1kt+zj1Jw uiChQvFj6qDiW2yCscXwDo741lVTwUJi35jsvKBVml8Rp1yq6l5ykoVnImNHJN2haliE Eh1VsKbfbsJEntUgZS+uM+Pbkta+Y7bKNrwBXKgy+sbcowGs8AK8sqJlYJOUwg9uTAJh tiag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rjp.ie header.s=key1 header.b=HdTFRaHB; spf=pass (google.com: domain of linux-bluetooth+bounces-674-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-674-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=rjp.ie Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v21-20020a50d095000000b00553b462a1bdsi827541edd.563.2023.12.20.02.55.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 02:55:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-674-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@rjp.ie header.s=key1 header.b=HdTFRaHB; spf=pass (google.com: domain of linux-bluetooth+bounces-674-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-674-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=rjp.ie Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8C7011F237E1 for ; Wed, 20 Dec 2023 10:55:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1D3B20DC3; Wed, 20 Dec 2023 10:55:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rjp.ie header.i=@rjp.ie header.b="HdTFRaHB" X-Original-To: linux-bluetooth@vger.kernel.org Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63EF920DE2 for ; Wed, 20 Dec 2023 10:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=rjp.ie Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rjp.ie X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjp.ie; s=key1; t=1703069698; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Laj8y3iGa1nNa0MObsZbMxFu0s7RXAGHUjE0l0PMik0=; b=HdTFRaHB26DYEAKcrGcmv9tnl8n7jpkj4+qlkCq7OfT/sZN54FJQPLiePuMC5zLrNID+Rw 0woNOSPvxatkaoRPTu41WOXtCG12R4nnfTmUF8Nsc8IKCrCOC+UNw84c0iZ1Br3ldD+hZ6 V62T2FlbRzWsgREQGngkbOMIUi9pbgE= From: Ronan Pigott To: vlad.pruteanu@nxp.com Cc: andrei.istodorescu@nxp.com, claudia.rosu@nxp.com, iulia.tanasescu@nxp.com, linux-bluetooth@vger.kernel.org, luiz.dentz@gmail.com, mihai-octavian.urzica@nxp.com, silviu.barbulescu@nxp.com, Ronan Pigott Subject: Re: [PATCH 1/1] transport: Check if transport is bcast before it's cast to bap_transport Date: Wed, 20 Dec 2023 03:49:49 -0700 Message-ID: <20231220104955.541287-5-ronan@rjp.ie> In-Reply-To: <20231219124916.44173-2-vlad.pruteanu@nxp.com> References: <20231219124916.44173-2-vlad.pruteanu@nxp.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Hi Vlad, This appears to fix the use-after-free in bluez 5.71. Thanks. Tested-by: Ronan Pigott Cheers, Ronan