Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2070515lqa; Tue, 30 Apr 2024 07:28:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDsZw1oIYgBYLb34uGpQKu/DwhZrI5WjF/m0EuzWjWxCZhUZslmp2yvBXatEs3TqECYrkksUADFZIPJllrTq/Ulpf076fJxgaAP/nY7g== X-Google-Smtp-Source: AGHT+IHbX2QlaC+AvW76322GxNmQBzkSgRMdSLIq7zb2TYOio+VV5lfGwn1uxw5ks+PR73p+jDAD X-Received: by 2002:a05:622a:4e8a:b0:43a:1377:60f2 with SMTP id dj10-20020a05622a4e8a00b0043a137760f2mr16703519qtb.36.1714487327261; Tue, 30 Apr 2024 07:28:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714487327; cv=pass; d=google.com; s=arc-20160816; b=DZKvvwLVbY1lol7V0tX1dqxGzrOgFHLMOxCmJnFhyp/f5cLpmS5E7zE4PuXkAmBq2E scxYse17NUZY/X/D9YCCI+TJtYqsEhnd9HAKqg71DAbg8X1Av7ld2HcWTZ/eGl0fnydP AdTC+ivLVxrljvUWGuKkdm5wEbUyoFYsn5a5rHKFW60PasC8QUxMOEDkIHkKQi2QTvVL CwSZ1h7dHQreSlZrJDRgXfcjlHzKXtgFKrf/nJfZCr4Y1ANK3pjhccfrhVjURdvJpzbH wBpX2jtzn9I/4mJmvue0P2hvPZG+z4RdwGZoznBcLdSjX8V0S1plG71XlHAJyrCsqjqe pAKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=/Wwfknk+RV1t6rOmPCHzFkSsnvC0d/k5NeOoi0yPQB4=; fh=FZg7IZ3BsAJ4uMdqJUVu+vjFW5FSC12zujzosz3nU14=; b=b9iYjlzEz4ZDCvfOoLCqxl8yiJM9RWsF1oNy4fPZvaUez9x8fKuE31FwR/MvDhio1g ViXNhhLS7oaIB0jWDx5ycwk8WLoE/t004WzNw7eCFfXwc5nH/ptpewS8PFBsVRRaQ1ma wZPPZzR96cjkJott3yWVYRQSP6JQYig4IsDi+jxFqElAOrVcwaOgWcJSD9tnsG4emm9+ kIZi7rVuZ+V12pSf5dljMAp1DrPJGnOwhD2seM92k1sgK68PpPjAHctylnkvND6o30Kg TskCdyBUOSjniVSu4h9fx0Hdh2Y1dDdTuFaqU3ITJwHqApKKZpOnTBaevhaY+JlBZua6 fyQA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q9n7KDEa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4184-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4184-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a7-20020a05622a02c700b0043af937c171si3858128qtx.211.2024.04.30.07.28.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 07:28:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4184-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q9n7KDEa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4184-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4184-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 00B661C20D93 for ; Tue, 30 Apr 2024 14:28:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2C62770FF; Tue, 30 Apr 2024 14:20:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="q9n7KDEa" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 09F28770E2; Tue, 30 Apr 2024 14:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714486831; cv=none; b=ONlKh8fNAp1uqMQI06JVMSDM0ku4tJ1pL0k/MoF2aa/oZxjkBlIKeHfOiYETVwz59H3tHAK1wnEgcPwXAjXXIf0hwnLVZzKUWCeqiVtEPibMYK1Kkb8ctElnHsVeZjirVQnSc6fPX/uAGeLji9c7JX3pEJjL1vtNJjXXftj0BKc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714486831; c=relaxed/simple; bh=QAeY5ocwzegncSsujzGKPVRaz8ywLVDgq/hjOYOJcL8=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=NX2UbOykSuGBKGB3NM/Pf6fLfrntCs2doz0cb7GlywiCE45lPibcW9jYx47GGIva8Ui7T4mLv6Def0QUY63OE+JSif8ULXStPHAuz94LkD+dHySOtytso268+xxHkNDcJgHV8QfwGmS9shu56np0Fqh5FyBVOssh+KSmaOEBpPk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=q9n7KDEa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 6FA2CC2BBFC; Tue, 30 Apr 2024 14:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714486830; bh=QAeY5ocwzegncSsujzGKPVRaz8ywLVDgq/hjOYOJcL8=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=q9n7KDEaUmPbAt4v+JMTA8oGELxB/aWQi8JNehikfz5hhGogEkTvNOzetTH4L4Jh2 csh6WSotXFgPyDTM1OKxJdClIZt9S4bCXC6D8leMop5atUlUuMHHCkuNEIUiUuvo/y rPRf2EYTsVJHripfYcJMwPZBtiZBsx5Z1qt1WRxYihE7IecYb4YIssqnjBBwKLIaau hoLl7oPVb2u6sYMMb8fDMB49LwE7cafwPsa5aCGUfDL7CmoRM+C5noOl6JINdECa+g 3XvESQMwHudA8A3/YzbUdk2QNh9RCbz9Hu4dw20UPyG/yARSJcnYVp5d50PuhQBwKr 0/wQQQIycjaUg== 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 5ED2FC43617; Tue, 30 Apr 2024 14:20:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3] Bluetooth: L2CAP: Fix slab-use-after-free in l2cap_connect() From: patchwork-bot+bluetooth@kernel.org Message-Id: <171448683038.20667.12009081489317667942.git-patchwork-notify@kernel.org> Date: Tue, 30 Apr 2024 14:20:30 +0000 References: <20240430063209.584244-1-iam@sung-woo.kim> In-Reply-To: <20240430063209.584244-1-iam@sung-woo.kim> To: Sungwoo Kim Cc: daveti@purdue.edu, dan.carpenter@linaro.org, marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Tue, 30 Apr 2024 02:32:10 -0400 you wrote: > Extend a critical section to prevent chan from early freeing. > Also make the l2cap_connect() return type void. Nothing is using the > returned value but it is ugly to return a potentially freed pointer. > Making it void will help with backports because earlier kernels did use > the return value. Now the compile will break for kernels where this > patch is not a complete fix. > > [...] Here is the summary with links: - [v3] Bluetooth: L2CAP: Fix slab-use-after-free in l2cap_connect() https://git.kernel.org/bluetooth/bluetooth-next/c/6a39d26feb15 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html