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 3E53E187555 for ; Thu, 30 May 2024 15:24:04 +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=1717082644; cv=none; b=SVUi6+7R205ul4FkX5+WW6FJUR5RUQ9WsDK62h3Q0XFZH3HYq2OuB89rYheqrWUFc3nkintP18FAv15iGmfqEj7ggsGq5pD0hgLK8bKsDMOkQLiWC+c7dLGr8T5z17Xbe/KsYyjs/VNYArZyuLerBiUqzl8CLQNClq1Lp56dyrU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717082644; c=relaxed/simple; bh=K8hSD6SgT0oMJKF1uV5jshrVi/dbqytPoqVQIblqvXs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fjTRTY+qB3LD9Xcg6JdDAu1AghIx+Nqk2u0xZoLLd7wc59EqYjAEVTLr9tqNZbYq3dBN4tf6qP1GxzwHeG/4EFpQXWABnrpRN0ZtNmGWs5PyM+CdSKB/3skumRxhZRDX8sc1ZxHWRVFIXtZP2wtLrr4NK9OEDcD38V+0K/idt98= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=V0RqE7nw; 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="V0RqE7nw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B071FC2BBFC; Thu, 30 May 2024 15:24:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717082644; bh=K8hSD6SgT0oMJKF1uV5jshrVi/dbqytPoqVQIblqvXs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=V0RqE7nwPVjQBdq2c99pE6BILxoSxjvr0pImK/K5W9yIFrjoKcT3eIyGTHcel2rDi Ggop4Cwn4KWhKxJFrNghDA+n9yvt5mlomno5uqju24PYqPhqC9TK1fm2Hv/RD6Jb7s UQxG0FhO7TuV1BDRki2eu6znQLM7ubL46JRJr5Kg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36032: Bluetooth: qca: fix info leak when fetching fw build id Date: Thu, 30 May 2024 17:24:02 +0200 Message-ID: <2024053000-CVE-2024-36032-1631@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2193; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=K8hSD6SgT0oMJKF1uV5jshrVi/dbqytPoqVQIblqvXs=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkRswTmbVOUq3O2rV+TV7djVuXxwpm6Aoq5/77zP52ZK ajIU3usI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaybyvDggmWEdNOG9359shB 60DIUvOZ661S9zAsOP7UhIm/wjbzT2Tkcgu9ovNO6peaAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: Bluetooth: qca: fix info leak when fetching fw build id Add the missing sanity checks and move the 255-byte build-id buffer off the stack to avoid leaking stack data through debugfs in case the build-info reply is malformed. The Linux kernel CVE team has assigned CVE-2024-36032 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit c0187b0bd3e9 and fixed in 6.1.91 with commit 57062aa13e87 Issue introduced in 5.12 with commit c0187b0bd3e9 and fixed in 6.6.31 with commit 6b63e0ef4d3c Issue introduced in 5.12 with commit c0187b0bd3e9 and fixed in 6.8.10 with commit a571044cc0a0 Issue introduced in 5.12 with commit c0187b0bd3e9 and fixed in 6.9 with commit cda0d6a198e2 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-2024-36032 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/btqca.c drivers/bluetooth/btqca.h 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/57062aa13e87b1a78a4a8f6cb5fab6ba24f5f488 https://git.kernel.org/stable/c/6b63e0ef4d3ce0080395e5091fba2023f246c45a https://git.kernel.org/stable/c/a571044cc0a0c944e7c12237b6768aeedd7480e1 https://git.kernel.org/stable/c/cda0d6a198e2a7ec6f176c36173a57bdd8af7af2