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 8B12233A013 for ; Tue, 16 Dec 2025 14:45:23 +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=1765896323; cv=none; b=uN7PFhsee1IuknMr0uuKSw5Mg1w24/87VF2aNFuEcIl35d1IZXVOSwnsLBHDD4A266q/OLaKqalbrMGXmw8/hyaioUNRytNMAH+BsqjDAtmbfllugDuMqMbqJNgkXRJc8tZuNRsuoRfR/QwSB3eO3O4XD/X3Ia3B4095agRUNO8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765896323; c=relaxed/simple; bh=dz3wgKm9qXnfDeMGhPcvaD2B4+Jg62nNAl8CSIln6hA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EVuWFeGZT5syIeerxDU/sFG6ydSk8cr4ExkFURNQR+ntyhBAVw6SNCjD450epmL4KGcTb0KYOgP/IehCks/I06p9C6ZD51PMK5fd318ZE+tfrLOBCILymVSBikV9dX3zNFuXP6pCerS943MExdPPcn+23GUGcqUIwvotbVJAMgg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=f8pMxa53; 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="f8pMxa53" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5900C4CEF1; Tue, 16 Dec 2025 14:45:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765896323; bh=dz3wgKm9qXnfDeMGhPcvaD2B4+Jg62nNAl8CSIln6hA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=f8pMxa53zeqhlL+IVPlg0V7n3a/8l4G30KtWImrxhJmWenQ3KM4vEPmWkG2O4vJUF pRG+GhT12HMpZ9cEukVsmzb2WHN+r0zrAz6rciHGz+SNDWLDu0YuV5lL7AR/BXp1nm XTgcMYXs9F2GK6Jdc/psGK7txWwebg8KqvfO7DC8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68254: staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing Date: Tue, 16 Dec 2025 15:45:11 +0100 Message-ID: <2025121610-CVE-2025-68254-b745@gregkh> X-Mailer: git-send-email 2.52.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=2473; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xqGTcEHmrUH4wGWeGGyiMiuFj8JONfuvU33j8YqVsVY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOBWVMBT73czYevaiYVstrMu+lWrlZn+uyX7P3vFkWE 348rP9eRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEUJhhwan9u9PZNj7NfCca LG380Dgj4YknN8P8iOPJXDPiHwue/3/P4GfnieLtxdPOAwA= 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: staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing The Extended Supported Rates (ESR) IE handling in OnBeacon accessed *(p + 1 + ielen) and *(p + 2 + ielen) without verifying that these offsets lie within the received frame buffer. A malformed beacon with an ESR IE positioned at the end of the buffer could cause an out-of-bounds read, potentially triggering a kernel panic. Add a boundary check to ensure that the ESR IE body and the subsequent bytes are within the limits of the frame before attempting to access them. This prevents OOB reads caused by malformed beacon frames. The Linux kernel CVE team has assigned CVE-2025-68254 to this issue. Affected and fixed versions =========================== Fixed in 6.12.62 with commit d1ab7f9cee22e7b8a528da9ac953e4193b96cda5 Fixed in 6.17.12 with commit 38292407c2bb5b2b3131aaace4ecc7a829b40b76 Fixed in 6.18.1 with commit bf323db1d883c209880bd92f3b12503e3531c3fc Fixed in 6.19-rc1 with commit 502ddcc405b69fa92e0add6c1714d654504f6fd7 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-68254 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/staging/rtl8723bs/core/rtw_mlme_ext.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/d1ab7f9cee22e7b8a528da9ac953e4193b96cda5 https://git.kernel.org/stable/c/38292407c2bb5b2b3131aaace4ecc7a829b40b76 https://git.kernel.org/stable/c/bf323db1d883c209880bd92f3b12503e3531c3fc https://git.kernel.org/stable/c/502ddcc405b69fa92e0add6c1714d654504f6fd7