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 C17F026F44C for ; Sat, 4 Oct 2025 15:18:34 +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=1759591114; cv=none; b=uI3eW3IJ5nDxbZ9dLORmW0vOHAHBxOhzIgY0R/Dm9QshuzhTSZdRY8v0vMfdzSHAdHVEAMHmu8rLO/vYmsiSr5VBd/F2EXdm5wC1HeNlDQ0PbrSbUXZNg975NSkFM9sMsaRAY0/zw6eAgP/SIXbemgwk8llVb/9nuKpPNiGL7JA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759591114; c=relaxed/simple; bh=o7ZFPVbCK+uLakquITsC9eroMqmY1DZJlCmukTVp3fs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mSa66yErgARcM73gS+ppPAWLHgfRdn7LSSHwDYVnsCwm/r7c6F6W640xKclJpZdIxV9OXJYqP6gzBV5bJep/JraBC9R26TW/y67hbDPo0xx7IG3Ua4OSlColJs7C9fwhZ2QSWa6vC7/7Z9QvWql8cNL85hQm6nvtsJsrbWHpXBU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=prGmndEh; 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="prGmndEh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AEC9C4CEF1; Sat, 4 Oct 2025 15:18:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759591114; bh=o7ZFPVbCK+uLakquITsC9eroMqmY1DZJlCmukTVp3fs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=prGmndEh64MJyqS09fDA2Wy+MILbIH/wbH/dINhTlsH27E2kYnCiQZLwk4/Imqn/B pQRyno3wgKvy3uvnLcwAbtnoFwjr5NnqhKtGql7bricqcRnxGU4M6f9YgLeYmYsrAg 6UAXJuYmHQipbNbi+dzFs6tBuPXp0kWo25MQBL9o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53554: staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext() Date: Sat, 4 Oct 2025 17:17:08 +0200 Message-ID: <2025100448-CVE-2023-53554-3351@gregkh> X-Mailer: git-send-email 2.51.0 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=3298; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vfVfA+s8bsL7Zg8pgOGVU+zTIECR1vX5W/rRKsPg1c8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPrRK6pt/hPpY0t0vAkrV3bwVDo9uHx8+aN5oeFDSW2 dnt/8S+I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYy8zrDPHWFbE6n3S4zUsRM l6toSf6/+GXXV4YFMz6nfuHzMJvCKzPPeatwrFhU/aYgAA== 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: ks7010: potential buffer overflow in ks_wlan_set_encode_ext() The "exc->key_len" is a u16 that comes from the user. If it's over IW_ENCODING_TOKEN_MAX (64) that could lead to memory corruption. The Linux kernel CVE team has assigned CVE-2023-53554 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit b121d84882b97b8668be0b95e9ba50cfd01aa0f1 and fixed in 4.14.322 with commit 9496fb96ddeb740dc6b966f4a7d8dfb8b93921c6 Issue introduced in 4.12 with commit b121d84882b97b8668be0b95e9ba50cfd01aa0f1 and fixed in 4.19.291 with commit 663fff29fd613e2b0d30c4138157312ba93c4939 Issue introduced in 4.12 with commit b121d84882b97b8668be0b95e9ba50cfd01aa0f1 and fixed in 5.4.253 with commit 5373a1aa91b2298f9305794b8270cf9896be96b6 Issue introduced in 4.12 with commit b121d84882b97b8668be0b95e9ba50cfd01aa0f1 and fixed in 5.10.190 with commit caac4b6c15b66feae4d83f602e1e46f124540202 Issue introduced in 4.12 with commit b121d84882b97b8668be0b95e9ba50cfd01aa0f1 and fixed in 5.15.124 with commit baf420e30364ef9efe3e29a5c0e01e612aebf3fe Issue introduced in 4.12 with commit b121d84882b97b8668be0b95e9ba50cfd01aa0f1 and fixed in 6.1.43 with commit 7ae9f55a495077f838bab466411ee6f38574df9b Issue introduced in 4.12 with commit b121d84882b97b8668be0b95e9ba50cfd01aa0f1 and fixed in 6.4.8 with commit b1b04b56745bc79286c80aa876fabfab1e08ebf1 Issue introduced in 4.12 with commit b121d84882b97b8668be0b95e9ba50cfd01aa0f1 and fixed in 6.5 with commit 5f1c7031e044cb2fba82836d55cc235e2ad619dc 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-2023-53554 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/ks7010/ks_wlan_net.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/9496fb96ddeb740dc6b966f4a7d8dfb8b93921c6 https://git.kernel.org/stable/c/663fff29fd613e2b0d30c4138157312ba93c4939 https://git.kernel.org/stable/c/5373a1aa91b2298f9305794b8270cf9896be96b6 https://git.kernel.org/stable/c/caac4b6c15b66feae4d83f602e1e46f124540202 https://git.kernel.org/stable/c/baf420e30364ef9efe3e29a5c0e01e612aebf3fe https://git.kernel.org/stable/c/7ae9f55a495077f838bab466411ee6f38574df9b https://git.kernel.org/stable/c/b1b04b56745bc79286c80aa876fabfab1e08ebf1 https://git.kernel.org/stable/c/5f1c7031e044cb2fba82836d55cc235e2ad619dc