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 470EC28AB10 for ; Thu, 10 Jul 2025 07:44:37 +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=1752133477; cv=none; b=L7vX3BxDcZHZmY872AXC65B8wFZDx+pfR/LOTnY2GTfI79vNuS/zPvViM5OBdUl63YMGDMN4eC+HNoTrDPJdSgFgfWRsTiA/dzOEj5G9X4y2sfi5bWhqGY0417EjUcpEkvPgWtsuu7sus3sNhxoCQzHsuDuNOAXUIe+5IKeAHL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133477; c=relaxed/simple; bh=RsRUOW9TXrGY8SMJ2OhVxvOjAImBeogPplX/WZB+R1c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JS06DC5Yc5nywuaXYL+hIObg8X6DlkXFZ83rsyvK9f/xGqJhoTKaPFG9etNPvAIrid2WlpTwG9nfbmMp7uLDmkh9PuES3/QhZOVbTIa+i1ta0VEEUg2e0wXjggJiwUp6MPNUItseYp1fW3DPLoZYUeVwn5giWJds9cYA036EDgo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ovv0b+cn; 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="Ovv0b+cn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C72A5C4CEE3; Thu, 10 Jul 2025 07:44:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133477; bh=RsRUOW9TXrGY8SMJ2OhVxvOjAImBeogPplX/WZB+R1c=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Ovv0b+cndJiARsithZx6s+ypg/ROVQhyYMZvuvUV3DsWP+jFY8RiqS1PS1R/1MRUs 5j/5jHVuPxGjGgm+aEtw9DAEC/diMXHGr/P1e19VdeEdxXyGhFO9eoHQm25SKu433C bZd+AI9B4wFpltI0DXDZqoF7k4QX6iylGdp19XNw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38315: Bluetooth: btintel: Check dsbr size from EFI variable Date: Thu, 10 Jul 2025 09:42:56 +0200 Message-ID: <2025071015-CVE-2025-38315-ccfc@gregkh> X-Mailer: git-send-email 2.50.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=2275; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rNJmw0VDSkamm4Z+BtU91kwGMU4BWyNjVOYdTRGLgaw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5ede19r6pNl6ovsJH9vFcxv77E+csLXJ06n4oovthd 9fVY3fvdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBElq1lWLCYPy3g9lGfxNLy TfK7db65sQZO28mwYPrGo29fRhzT+sDl+2xNzganr0dnvAYA 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: btintel: Check dsbr size from EFI variable Since the size of struct btintel_dsbr is already known, we can just start there instead of querying the EFI variable size. If the final result doesn't match what we expect also fail. This fixes a stack buffer overflow when the EFI variable is larger than struct btintel_dsbr. The Linux kernel CVE team has assigned CVE-2025-38315 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit eb9e749c0182affafadfbe5ded4503c4b5a9b57c and fixed in 6.12.34 with commit 9427f6081f37c795a8bd29d0ee72a4da3bd64af8 Issue introduced in 6.11 with commit eb9e749c0182affafadfbe5ded4503c4b5a9b57c and fixed in 6.15.3 with commit 7b8526bb489780ccc0caffc446ecabec83cfe568 Issue introduced in 6.11 with commit eb9e749c0182affafadfbe5ded4503c4b5a9b57c and fixed in 6.16-rc1 with commit 3aa1dc3c9060e335e82e9c182bf3d1db29220b1b 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-2025-38315 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/btintel.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/9427f6081f37c795a8bd29d0ee72a4da3bd64af8 https://git.kernel.org/stable/c/7b8526bb489780ccc0caffc446ecabec83cfe568 https://git.kernel.org/stable/c/3aa1dc3c9060e335e82e9c182bf3d1db29220b1b