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 11E0A2D7DDD for ; Tue, 16 Dec 2025 14:45:19 +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=1765896320; cv=none; b=iNsz5g+34B3zmXEgLQ0636HGRXnKpOYq4R0e4MDT1qfX0lkITUBWibl4AZxDVik1G8NplQ9ox4WeSz1AuChZUNNyHa8K1FSGnszEXMF+PL9eJiZE7QULFpnS/CmdtSvs331mPlXabggDH/k8yjCC52J8oBbyJ7CyxF420Xv+liY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765896320; c=relaxed/simple; bh=T+JkZRR7kfY2C6ByJDC6PNPU6k2sWC0DoXSUdWQKnJY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tSJbULrZZAMwvIREf07B2AoEWshy8ps3tlN3x7HjBLoiwjB0gxemnOIGRzgbP4z7/mtEm8AGCI5OAmTkY+V5EVTrbUMC59GTia+rEdkqYrp3fXeokz4NRpdpGMmo8hEGqzoVURu5mQUyl7GzhZ7x/bikIOoSebVjrpLBYJOF4ZM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ezJK7Fiu; 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="ezJK7Fiu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 183A9C4CEF1; Tue, 16 Dec 2025 14:45:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765896319; bh=T+JkZRR7kfY2C6ByJDC6PNPU6k2sWC0DoXSUdWQKnJY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ezJK7FiuRf00HjAheHbOHBa4Q/P+CCSMVpd2ZXLGv0IVzYaaPeRrz1EAD2W1DPkFw oJyvA5eToO2EuI0nf9/EvB5orz3I8lem1CFSF1PKEEicrvrfypdMgILAAVJZ7qLGMA Hl6rtiTWo+xCJgI7l3s+J4Cp4F47yGViJ6K61GO0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68255: staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing Date: Tue, 16 Dec 2025 15:45:12 +0100 Message-ID: <2025121612-CVE-2025-68255-3994@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=2488; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=l75vH2Eyn0t3nzTntNP8+xzgZuN9FZdB8vJXVEoSrmE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOBRUM+bXL52ya+nLDzN0r5reFfjDdw6f2y2Fj8VMnt ikJERafOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTGBDuDgFYCI+fxgWtOxkXCLcH8f3uZDP q+2Rd8os+ShLhgUbt7nkT2fsiTF4dM3IsNmxSUbzajcA 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 stack buffer overflow in OnAssocReq IE parsing The Supported Rates IE length from an incoming Association Request frame was used directly as the memcpy() length when copying into a fixed-size 16-byte stack buffer (supportRate). A malicious station can advertise an IE length larger than 16 bytes, causing a stack buffer overflow. Clamp ie_len to the buffer size before copying the Supported Rates IE, and correct the bounds check when merging Extended Supported Rates to prevent a second potential overflow. This prevents kernel stack corruption triggered by malformed association requests. The Linux kernel CVE team has assigned CVE-2025-68255 to this issue. Affected and fixed versions =========================== Fixed in 6.12.62 with commit 61871c83259a511980ec2664964cecc69005398b Fixed in 6.17.12 with commit 25411f5fcf5743131158f337c99c2bbf3f8477f5 Fixed in 6.18.1 with commit e841d8ea722315b781c4fc5bf4f7670fbca88875 Fixed in 6.19-rc1 with commit 6ef0e1c10455927867cac8f0ed6b49f328f8cf95 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-68255 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/61871c83259a511980ec2664964cecc69005398b https://git.kernel.org/stable/c/25411f5fcf5743131158f337c99c2bbf3f8477f5 https://git.kernel.org/stable/c/e841d8ea722315b781c4fc5bf4f7670fbca88875 https://git.kernel.org/stable/c/6ef0e1c10455927867cac8f0ed6b49f328f8cf95