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 812BE23C8AE for ; Fri, 24 Apr 2026 14:45:30 +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=1777041930; cv=none; b=OGHm2y+dOFldtrk1t4NsKO2ScC8WJRezeMnaiRCBuF/k2UNOh+tBs0qtcqh9JjzMNFqO2FyN9CpH9BQj1gA+Iohwp48+tM8gXW1wnfCXflExlK62OrUDEkpUygfOSLWdIN/rAl82TjWJSfLORau1I6iJxSYtSACxCSs+VOLXpp8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041930; c=relaxed/simple; bh=wzNbx0d27opxCfSCiM41xD8gFfNQge+uEATgOER9YcA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PjKkZtkJiugUQysWAm8d1jD4DkrQqKVoOS5LAfAOF7uFd7dGkrFTBjVBLSW6u50vJaLYK9bkkhTve4a+Tb2ypHb5gZkOTmEhSxvPZAsk3XLLMG6mEOk6FiCUhUxBvIsPayyYipCA2gb6K1tBH3fDIF6dOUMhSS//1J1wJeFTeg0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CSlzZb6d; 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="CSlzZb6d" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1912CC19425; Fri, 24 Apr 2026 14:45:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041930; bh=wzNbx0d27opxCfSCiM41xD8gFfNQge+uEATgOER9YcA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=CSlzZb6dMpETarvYP/p2LU4d/1QGBD5hPJ8WykFs2xNrXJjGIIajHTs3rH/Oi4Pbg OVx7e9r/GEjOwrgN5DGmSzTgo2KMSPfEzd03Lo9gTs8lQno22GKSU0rlJhH3pn0DKr H1TtFCSiSu7/fTiaqfV9x8OhYr5AkbqerGCWkKYw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31626: staging: rtl8723bs: initialize le_tmp64 in rtw_BIP_verify() Date: Fri, 24 Apr 2026 16:44:02 +0200 Message-ID: <2026042427-CVE-2026-31626-2085@gregkh> X-Mailer: git-send-email 2.53.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=2445; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=E3sjpwtWFGAtHREXswfS2coBHFQb62AqEWjWQ/dMmXc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvG/utjgVN7xHeI/j8+c5ErlXc1hfLWqrqFaNLK7I3f H2yR/BCRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk6kmG+QFneAu23DrOOi24 W7pvKsdq05K9pxkWTAqWCOtdwZd2P/NMW9Ik0UWmr086AgA= 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: initialize le_tmp64 in rtw_BIP_verify() Initialize le_tmp64 to zero in rtw_BIP_verify() to prevent using uninitialized data. Smatch warns that only 6 bytes are copied to this 8-byte (u64) variable, leaving the last two bytes uninitialized: drivers/staging/rtl8723bs/core/rtw_security.c:1308 rtw_BIP_verify() warn: not copying enough bytes for '&le_tmp64' (8 vs 6 bytes) Initializing the variable at the start of the function fixes this warning and ensures predictable behavior. The Linux kernel CVE team has assigned CVE-2026-31626 to this issue. Affected and fixed versions =========================== Fixed in 6.12.83 with commit d5b8f5f8d6fc09a8af5ed139c688660f578ed732 Fixed in 6.18.24 with commit b487a7754d874230299d5a9c2710ec4df8b2ed8a Fixed in 6.19.14 with commit c2026c6b603ebec52f55015496703fe79077accf Fixed in 7.0.1 with commit ef74ce5f0bc0e53ce702d8a794f3957884a26efc 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-2026-31626 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_security.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/d5b8f5f8d6fc09a8af5ed139c688660f578ed732 https://git.kernel.org/stable/c/b487a7754d874230299d5a9c2710ec4df8b2ed8a https://git.kernel.org/stable/c/c2026c6b603ebec52f55015496703fe79077accf https://git.kernel.org/stable/c/ef74ce5f0bc0e53ce702d8a794f3957884a26efc https://git.kernel.org/stable/c/8c964b82a4e97ec7f25e17b803ee196009b38a57