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 EC45D13212C for ; Thu, 30 May 2024 15:29:55 +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=1717082996; cv=none; b=RVCJ3x0MqVSg3npIET1ZnxaSQWXXhQSZqWCjoyVvDjc9IeeDfu9ckV3KGTTnouHcCxDh+2pA2eL0IGla5GpMg79VXFx8wzbt91GpKxlOLqAqaotYZg9KelPY2boiPLAV1ZqX3O/mqkPHSbpgw551AaoAUYbQ0FIFoMLmB+3HWGc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717082996; c=relaxed/simple; bh=kE8Dx8cKcQtAZKgU63EA3tMZ3xCrTKi+OmwUkDYYI6M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jsPsfq2WmsqwZ8e9IY4g2ygINUoBt5fv7iAyqY4pRHxIFKA9GfWShCwd3gpu6CIlE9OoigeVW0XUk2K+wrQ2kKvhSMFUe6NibspcKic6jNB2CmjuBEf+tfJynSamcnVMd7o6jb9+l3exVjqRNDiOT6pcjtwRaRrzHjD9+NEr7Ig= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HSq+wVQL; 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="HSq+wVQL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FAF0C32781; Thu, 30 May 2024 15:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717082995; bh=kE8Dx8cKcQtAZKgU63EA3tMZ3xCrTKi+OmwUkDYYI6M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=HSq+wVQLYS8NFqclvIiwusaO6/CW4Rq9suYp91PBbMi/aNsQ44bnV5KOTh0yAQcda wGVtiQfwh/t8RNdUNe0B9bUvkrXkGwfQZZtvKaB+FUjE70DdN8C6OZhco6dkcLFtpk w7FTzP31/vjljsK/Gr7s9JHrwsjqXFgCG4WWtiLs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36880: Bluetooth: qca: add missing firmware sanity checks Date: Thu, 30 May 2024 17:28:32 +0200 Message-ID: <2024053031-CVE-2024-36880-c961@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=2316; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kE8Dx8cKcQtAZKgU63EA3tMZ3xCrTKi+OmwUkDYYI6M=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkRs+WD7+hu3bfHwyA1acZLhpIYm2vHj1mdOcnXs0vJP 2Dl1a9uHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARjkqGBXPOdbK+71np7s8X ONc2tVih5lX3RYYFpwWkbJ7lXYuoerbw78qAq7M60pmOAAA= 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: add missing firmware sanity checks Add the missing sanity checks when parsing the firmware files before downloading them to avoid accessing and corrupting memory beyond the vmalloced buffer. The Linux kernel CVE team has assigned CVE-2024-36880 to this issue. Affected and fixed versions =========================== Issue introduced in 4.3 with commit 83e81961ff7e and fixed in 5.15.159 with commit ed53949cc92e Issue introduced in 4.3 with commit 83e81961ff7e and fixed in 6.1.91 with commit 1caceadfb504 Issue introduced in 4.3 with commit 83e81961ff7e and fixed in 6.6.31 with commit 427281f9498e Issue introduced in 4.3 with commit 83e81961ff7e and fixed in 6.8.10 with commit 02f05ed44b71 Issue introduced in 4.3 with commit 83e81961ff7e and fixed in 6.9 with commit 2e4edfa1e2bd 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-36880 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 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/ed53949cc92e28aaa3463d246942bda1fbb7f307 https://git.kernel.org/stable/c/1caceadfb50432dbf6d808796cb6c34ebb6d662c https://git.kernel.org/stable/c/427281f9498ed614f9aabc80e46ec077c487da6d https://git.kernel.org/stable/c/02f05ed44b71152d5e11d29be28aed91c0489b4e https://git.kernel.org/stable/c/2e4edfa1e2bd821a317e7d006517dcf2f3fac68d