Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B111D207E00 for ; Thu, 17 Sep 2026 16:22:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662132; cv=none; b=gRF+0hZqLj2PU23hbLEzZpRZpT+d8jEJbXioNNciYDVDJPoe7YnFKb1StOLk/BcS715on40xnZ/M+G4Ps+dXTQgza+4H96OUXcjlSvtEwcXdvlYix0QwNvkDJSpxE/j+S1A0zGaN0/Yd9UD+l5vO9AeYexzC6Nvx5z3kavYj3vM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662132; c=relaxed/simple; bh=Y7R144xXX0wOklEMsJb1KgTdNLeJE7ML9OIotXzl01I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bKDGwcgIsTliDOg6t97+U9A5rZGZFbIhgDDvx2dgvVO5TYmOOT22W/GU6kzaH91xdi1+qgon960rfkkO3nP6iZIrPwJ0m4AMAAAhO5djnK/fx5nJi4iCheqGkpjot3eI4Q3fyV3ppOdGhmSWvMn362UiiozrIIh0lM+qTZejXS4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0bIn6xsU; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0bIn6xsU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 816301F000FF; Thu, 17 Sep 2026 16:22:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662130; bh=xpJXudreB4bRCP7oKp0cO2yJwWFhvtdrvrlhDKUfElk=; h=From:To:Cc:Subject:Date:Reply-To; b=0bIn6xsUKescubeBzPpVEyuT3aRI0kXcG0NU7M5qAxkgVubU0kecSZCTK3eWCiizO CMKNg9ILRYtlVWNHZ60dtnfwRAr1atpZaR/wptplaDn0mfVViU1jCCHYDfMotLgAuo /bQJAdKRvlL5x6XRk94wkpaZ8uFyT69rzBviwgFw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90252: Bluetooth: MGMT: free the HCI command when it is cancelled Date: Thu, 17 Sep 2026 17:11:22 +0100 Message-ID: <2026091744-CVE-2026-90252-7eb5@gregkh> X-Mailer: git-send-email 2.55.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=2653; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=t+ftbSA1O5FqJOWprAzP8rshIF9J30I969lJ5y/0YfQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHoYTvDn11y21DVRWeumdO5/ZPblLSvnfI3W02d+2 cW7+Oa+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE9gQLk4BmMg1FoYFvfu2lqyq+3ed6yP/ 6fAZL05uYuw6x7BgS6ue4U+TGL8ln/+uSEv33a7+m9UTAA== 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: free the HCI command when it is cancelled mgmt_hci_cmd_sync() queues the pending command with a NULL destroy callback, so it is only freed if send_hci_cmd_sync() runs. A cancelled entry is leaked, as _hci_cmd_sync_cancel_entry() does not release entry->data when there is no destroy callback, and hci_cmd_sync_clear() cancels every pending entry when the controller is unregistered. Nothing else reclaims it either: mgmt_pending_new() does not put the command on hdev->mgmt_pending. The leak also pins the socket reference taken by mgmt_pending_new(), so the mgmt socket is never released. Free the command from a destroy callback. The now-empty done label is replaced by a direct return. The Linux kernel CVE team has assigned CVE-2026-90252 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 827af4787e74e8df9e8e0677a69fbb15e0856d2f and fixed in 6.18.52 with commit e0cd7b34dc6b5414cac3d4cd376f73d3e9ffbd93 Issue introduced in 6.13 with commit 827af4787e74e8df9e8e0677a69fbb15e0856d2f and fixed in 7.2.6 with commit 481533b03985177ddc805e0bd12fc07e7adf9040 Issue introduced in 6.13 with commit 827af4787e74e8df9e8e0677a69fbb15e0856d2f and fixed in 7.3-rc1 with commit 414b365ecea6c30357adee6b8a7c5edc03a03575 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-90252 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/e0cd7b34dc6b5414cac3d4cd376f73d3e9ffbd93 https://git.kernel.org/stable/c/481533b03985177ddc805e0bd12fc07e7adf9040 https://git.kernel.org/stable/c/414b365ecea6c30357adee6b8a7c5edc03a03575