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 D6C292773EE for ; Sat, 14 Feb 2026 16:05:59 +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=1771085159; cv=none; b=LtnnMACl4jw6cQRMtfcu6m0MVlFpSwf0L6lpJ4DVZ9zYpjhzvczOVjkn/CevMqAXlkvspljxy8OFJyhfkP72GtxkQgU3rwO+Kcqhn/efn+Kh4YtBwquboSHYc0WiuzAxkee7ZdDGnRxdfLsbdW/wSgvlWRaEt30Yvk2r++TslWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771085159; c=relaxed/simple; bh=b7CI0PCCLv1U2jRlTOkRZJSnes+3i8EcO+GHMtBvv2I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=F7ghKZtjN1/SMSkXUixW3MR47eKUTcvErDsKhyaSn5QUTskNTQF1DfAFNY5u4iwTidgynRcVgrUwj8uYuDX4BIoszA85PaQW1mVKz3COIzp3D8473GBhvSX3X0gpOt74l580GiGfRkRqvPi5jCkko81DpRM4XXeixhkf+y7JXPE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tjpRi6R6; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tjpRi6R6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64A6FC16AAE; Sat, 14 Feb 2026 16:05:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771085159; bh=b7CI0PCCLv1U2jRlTOkRZJSnes+3i8EcO+GHMtBvv2I=; h=From:To:Cc:Subject:Date:Reply-To:From; b=tjpRi6R6MTiOyszVvQ0NBL92k6gkm/yjH5boM4QU4WsfmGU3u26HLwXe1qx2fA7Kk i6X9d5sfwz2SzzISxyfJK14/ofxXTqq6c7HTVRK4U2Rl2UsmPSrg98WlSp2/RV2a2W mrAVEUZUvOFN5EJxHTvUaDYvDUIXKQzMq52hXuDs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23151: Bluetooth: MGMT: Fix memory leak in set_ssp_complete Date: Sat, 14 Feb 2026 17:04:17 +0100 Message-ID: <2026021414-CVE-2026-23151-74d4@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2809; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3TfuWgDCmIg8+D7tqRSIaTm74+g+4ERRr2N17UCfsN8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkT5vzbPVXh+GO79FcN0z7pBc4rfLlgd/+Xvkvl/ryr5 DYLveo37YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJXBdnWHC5dk1clf1Khqvm bQUft+ypcj2Xn8MwP7JAwnte0cKNjO2iVStjf1hcCPHJAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: Fix memory leak in set_ssp_complete Fix memory leak in set_ssp_complete() where mgmt_pending_cmd structures are not freed after being removed from the pending list. Commit 302a1f674c00 ("Bluetooth: MGMT: Fix possible UAFs") replaced mgmt_pending_foreach() calls with individual command handling but missed adding mgmt_pending_free() calls in both error and success paths of set_ssp_complete(). Other completion functions like set_le_complete() were fixed correctly in the same commit. This causes a memory leak of the mgmt_pending_cmd structure and its associated parameter data for each SSP command that completes. Add the missing mgmt_pending_free(cmd) calls in both code paths to fix the memory leak. Also fix the same issue in set_advertising_complete(). The Linux kernel CVE team has assigned CVE-2026-23151 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.59 with commit d71b98f253b079cbadc83266383f26fe7e9e103b and fixed in 6.12.69 with commit 1850a558d116d7e3e2ef36d06a56f59b640cc214 Issue introduced in 6.17 with commit 302a1f674c00dd5581ab8e493ef44767c5101aab and fixed in 6.18.9 with commit 3b6318505378828ee415d6ef678db6a74c077504 Issue introduced in 6.17 with commit 302a1f674c00dd5581ab8e493ef44767c5101aab and fixed in 6.19 with commit 1b9c17fd0a7fdcbe69ec5d6fe8e50bc5ed7f01f2 Issue introduced in 6.16.10 with commit 87a1f16f07c6c43771754075e08f45b41d237421 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-23151 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/bluetooth/mgmt.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/1850a558d116d7e3e2ef36d06a56f59b640cc214 https://git.kernel.org/stable/c/3b6318505378828ee415d6ef678db6a74c077504 https://git.kernel.org/stable/c/1b9c17fd0a7fdcbe69ec5d6fe8e50bc5ed7f01f2