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 558A8490BE3 for ; Fri, 25 Sep 2026 10:27:42 +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=1790332063; cv=none; b=EUNs+jC/utBPRv4YTeA8hjUJbJWNbqPoKPwapCM1qc2B2fVh7QYihJ5Bfb5BwffOpZPuMnAjf0s8o/8/YqpyH/VgmPjnchgtO+QJ81jCN17y5pAprhDKLlNm/OriRqg+o8mocCNHVB44ddVOyrWhWE2wuZ3eyPWulaO415DmcQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332063; c=relaxed/simple; bh=KQ6De9TydH/oDBbl/SSO3ctnfv4v6avEEc+JNmIRVts=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GVAJGzdP806baJtHFehZnq2XZmF62gErI/8AKoMFkVr3vdRc1TOFDyfBuzISrCM6kdIL1TAHJMhKysO3soI5+mwzcmYHNQSDWQ0Nd8FIPPVrTJE2JII7NBICdJwZWVTF38daHqzvQsU5sz0A9D3W5EdErYgGcmixlV9uD9NNYnM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ilchfIV1; 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="ilchfIV1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A41921F000FF; Fri, 25 Sep 2026 10:27:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332062; bh=P+8d2dsFScVxo+s09CXhSDUFXNUC2YViaPC4UpM2+jM=; h=From:To:Cc:Subject:Date:Reply-To; b=ilchfIV17NzZut5TVIv0u/U8aHbrcXLlZMmH6bHXs5HSmPdXGxomVRlSYAkc76++3 tTFuLP8QjyNKr1TXh+FVeu0H5NHW985DgL+im1f1JGw7kAw+gnYJ2a/mSDkziZH/I9 01hHgtjfAaA3kDUPnoeFsvA2eDAZy4t1aHKMUiwE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97907: Bluetooth: btrtl: Don't leak return code when parsing firmware format v2 Date: Fri, 25 Sep 2026 12:23:30 +0200 Message-ID: <2026092505-CVE-2026-97907-8682@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=2647; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PPLoUXbFP47oIgDaq+IxBXmnHSgKGqmbUTKP6NlpuUc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvH2/mlSYv57PncZVk3x0I/Oi/Qbmnd0VGT8NGNXWe bI3bXzWEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5P4VhwYlHQt5sCvuXxKVU bvSdHZo0sz5mGcN8z5Y+NqcFhhukOjbtsrAN5c/z2fAOAA== 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: btrtl: Don't leak return code when parsing firmware format v2 When key_id from chip is zero, rtlbt_parse_firmware_v2() intentionally ignores all security headers. However, the implementation simply breaks from a switch statement and leaks uninitialized return code `rc' (if the first section is a security one) or the previous section's `rc'. Fix it by really skipping a loop with `continue'. For consistency and readability, also do the same for the default case. The Linux kernel CVE team has assigned CVE-2026-97907 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa and fixed in 6.12.111 with commit 90f3a142b5f8596a565b8e080d18a8050be6edef Issue introduced in 6.4 with commit 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa and fixed in 6.18.53 with commit 422f6547259654bae690713614c794dd1e2c0a0b Issue introduced in 6.4 with commit 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa and fixed in 7.2.7 with commit c4249cf6e80b1bd62a6a409aaabe760fe025dac3 Issue introduced in 6.4 with commit 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa and fixed in 7.3-rc3 with commit 83e3e515fd261600ed8491fb0a8bcdfb115c904e 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-97907 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: drivers/bluetooth/btrtl.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/90f3a142b5f8596a565b8e080d18a8050be6edef https://git.kernel.org/stable/c/422f6547259654bae690713614c794dd1e2c0a0b https://git.kernel.org/stable/c/c4249cf6e80b1bd62a6a409aaabe760fe025dac3 https://git.kernel.org/stable/c/83e3e515fd261600ed8491fb0a8bcdfb115c904e