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 8CD924848AA for ; Thu, 17 Sep 2026 16:22:16 +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=1789662137; cv=none; b=pqPWLolFvQNbdex72r+KDnQHKboSSZpEw9h/1mKNKVS5rSikDlczffQYj5eP7VqsBUEDNSSNNumPosezkdUUxhCYI74wdkEUCC1aJ4anLjBh70OS619fVzIT8DZ8rK4CL+qf8EeqNoFqzulwFQmsz+ojWdnzrZvaI8TnduM6T7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662137; c=relaxed/simple; bh=BfooUmD+HJAQIJsCpenhDCsrE5wuYwIXsozfL4zuGBo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=p4Olm1IxS1kko6/Jp6uxAfoAcfvEYY5xxn0iEH0L9meVv2ILTGmUVF9eE8o8V66FYrGeNYwLPhvMU0frhNpeYgu4p2NM+Ojb/SzDEZ6FBrzHKunwBfAw7EC06kQ7XgCfgAm+3251RLbrwkIlafmbd52WtgQhzlEbOzWk/jp6J1M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QT5DxYUu; 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="QT5DxYUu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 828851F000FF; Thu, 17 Sep 2026 16:22:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662136; bh=UnnEeXpJBXbTyKh3rFFMxm7c63eWUgq31IYNhSHoT1o=; h=From:To:Cc:Subject:Date:Reply-To; b=QT5DxYUu8SKy5Fci7lkp86N3up10sgPtrQRHDWw86YtrJXAGi8mGxLxXh2bFqnpiN EzPIe7UXIinFPT/nR2QtYLDmy4up+iJI5hBqJfG90YZh1LQRvYIiStxgwXtmhQyKwn lHIep1FwxFIbGhyDkfVXCbfd3dQ+jRlgZ74rTRhQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90254: Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths Date: Thu, 17 Sep 2026 17:11:24 +0100 Message-ID: <2026091745-CVE-2026-90254-eb65@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=3358; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xmFKKmmr/HIxH4tQSs9ezPBU500VGpFWSN1LWuflOqE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHpnZ6TEr7M7E+pv5LPuJx9LpIv/XvbPhaEbfpnv/ ZjwYtvMjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIXTHDgi0fduXsCPaa/6uA gWOZIscyOfudQgwLLpXI7DpbtOSL7IkTPvfyV7H3lhQZAgA= 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: hci_sync: free the advertising instance on the failure and cancel paths adv_timeout_expire() hands a kmalloc()ed instance byte to hci_cmd_sync_queue() with a NULL destroy callback, and only adv_timeout_expire_sync() frees it. That leaks on two paths: - the return value is not checked, and hci_cmd_sync_queue() does not take ownership when it fails (-ENETDOWN, -ENODEV, -ENOMEM); - a cancelled entry is not released, as _hci_cmd_sync_cancel_entry() does not free entry->data when there is no destroy callback. hci_cmd_sync_clear() cancels every pending entry when the controller is unregistered. Free the buffer from a destroy callback, and in the caller when the entry could not be queued at all. The Linux kernel CVE team has assigned CVE-2026-90254 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit c249ea9b4309cf3250c5bbb42a05d38d0ed9071c and fixed in 6.1.188 with commit c2019224a766245b7db39d87fdfe84c3fdc879d9 Issue introduced in 6.1 with commit c249ea9b4309cf3250c5bbb42a05d38d0ed9071c and fixed in 6.6.157 with commit 193182c6467f508a8a61d5db506d796ffed6eee6 Issue introduced in 6.1 with commit c249ea9b4309cf3250c5bbb42a05d38d0ed9071c and fixed in 6.12.110 with commit 2e3d827cd56865c14f6ca118bbccd7801091fb21 Issue introduced in 6.1 with commit c249ea9b4309cf3250c5bbb42a05d38d0ed9071c and fixed in 6.18.52 with commit 9c3b6c1413bd0b4993642d987616331f84d9b7f5 Issue introduced in 6.1 with commit c249ea9b4309cf3250c5bbb42a05d38d0ed9071c and fixed in 7.2.6 with commit bb5ca1cc7744c41c59002bd6523714a685ae6595 Issue introduced in 6.1 with commit c249ea9b4309cf3250c5bbb42a05d38d0ed9071c and fixed in 7.3-rc1 with commit 120d8dc042e3d45073bb6e50ee7b058a0b182627 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-90254 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/hci_sync.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/c2019224a766245b7db39d87fdfe84c3fdc879d9 https://git.kernel.org/stable/c/193182c6467f508a8a61d5db506d796ffed6eee6 https://git.kernel.org/stable/c/2e3d827cd56865c14f6ca118bbccd7801091fb21 https://git.kernel.org/stable/c/9c3b6c1413bd0b4993642d987616331f84d9b7f5 https://git.kernel.org/stable/c/bb5ca1cc7744c41c59002bd6523714a685ae6595 https://git.kernel.org/stable/c/120d8dc042e3d45073bb6e50ee7b058a0b182627