Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795099888; b=anRNp/qt2WJVzyDzPdOXWQj8fEhyDzoavAAPoKOdy+cADgf/qMAoS5iNAf+5L0wSgn4P 52YcHnIxa38h3II0yiFcMVMw4WngwxawtRbLbDWf4R271ea2ws6btxY6zfqEwQ/5sQ10z AGKizUgY+/G1sRNvBchx9JoXcvelhBn1OCixGT9wHZpTLt882N+Z1vC/Jke5tV/gx1Ol8 EhLGy6lZvnjkNX4AoM7U1236EZ+HzpD/E34f0etJmWZPFrkVjBKYKUSsVq50DlMwQCDw2 URXFO0SKDDu+7EHoPRJEPoFtbIkKKV0UBOVohU2wO0s76VQjfuTSSLs7DdbdPWdJsPw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099888; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=VPsINgMHefFxsdjZ08Vs77uLfEmmzQUp4bar6IT/qDg=; b=wS4/JwBPvMe8EuHueuTYC+kmbR9HJ70bLjC/msbAt3eY5GlrCYj+TY43gv8nGMVjZMbS h34nC6mrDoMSqRWdCVzopl0NkilwJWn8geg7PX7rwe/aIBIDjtWXZ1arpMAld5byhvTfH 5JxMcqDvDrLl49kwx7gIxuSjr0xMRCKDLLPiZ+kCuKfN3rWqBFxPzjGFfymB5ocUm1dpm WOD2cVoX75/2VayYQuWmbC/bQdq0owgzlaJAg2Ei4ogHpf0euzgqZE6dNCjrin2ncXk/4 TvADK4/ocobxq75rucr7AR5CD68qGdkHtIj1iQFMSufdetrKx4s+tIQHzYNOuJbfmgg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=rmjFqcns; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B99A6606A320 for ; Thu, 19 Nov 2026 14:51:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=rmjFqcns Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14D1C1F000C4; Thu, 19 Nov 2026 14:51:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099888; bh=VPsINgMHefFxsdjZ08Vs77uLfEmmzQUp4bar6IT/qDg=; h=From:To:Cc:Subject:Date:Reply-To; b=rmjFqcns8+HXvZp/DyviCYKmN8OgUrUUuDV+3hCv6wmuSG7jTdyY+tBmnNZUB6T2u NroB23WLv/mmatCFMZWD0siUbtk5uhefE8fqXVmx3kN5pc+z8DKs60tn7VLpNEqJe0 SuWlwx3/AxQWyQDeXc946rxxJGh+Fxgp2xk8yRbE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99454: staging: rtl8723bs: fix protected RX frame validation in decrypt path Date: Thu, 19 Nov 2026 15:25:52 +0100 Message-ID: <2026111907-CVE-2026-99454-cf69@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3904; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xpi2mq8kl7vJaGwml4elR5kUvHeHrtDI7WMhCAXU/24=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2drNWzfF5pqm7qz97/LjiminIx97T5aO79EXJsEMK gJ3N73piGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlU32SYH8aWWHT7pMQym62V /OmbGiuTZnbOZZjvKma0ZrkpQ5Lly38evTM2aYWwqnACAA== 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 protected RX frame validation in decrypt path The RX software decrypt path mishandles crafted protected frames from a malicious AP in two ways: 1) decryptor() never checks that a protected frame is long enough to hold the 802.11 header plus the per-cipher trailer. All of rtw_wep_decrypt(), rtw_tkip_decrypt() and rtw_aes_decrypt() compute length = hdr.len - hdrlen - iv_len; and act on the result, and recvframe_chkmic() similarly computes datalen = hdr.len - hdrlen - iv_len - icv_len - 8; for TKIP (the 8-byte Michael MIC is not accounted for in icv_len). A frame shorter than hdrlen + iv_len + icv_len (+ 8 for TKIP) underflows these unsigned subtractions, turning into a ~4 GiB iteration count in aes_decipher()/arc4_crypt()/rtw_seccalctkipmic() or a ~4 GiB crc32_le() length, causing out-of-bounds reads/writes of up to ~4 GiB starting from the rx skb. Reject such frames in decryptor() before touching the IV; this covers all three ciphers and the TKIP MIC check, and also keeps the unconditional iv[3] access within the frame. 2) validate_80211w_mgmt() keeps using the frame - two memcpys through the stale rx_data pointer and a pkt_len update - before checking whether decryptor() returned NULL. On decrypt failure (e.g. a unicast protected deauth/disassoc/action frame with a bad MIC, which this path always software-decrypts) the skb has already been freed, so this is a use-after-free read/write, and the caller's error path frees the frame a second time, drifting free_recvframe_cnt. Bail out immediately when decryptor() fails, freeing the temporary mgmt_DATA buffer first. Discovered by Atuin - Automated Vulnerability Discovery Engine. The Linux kernel CVE team has assigned CVE-2026-99454 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.12.117 with commit 60e3352593f224306dfab578bf586b301642265f Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.18.63 with commit 33e8f5740319996788395d85a4c100f61593cb75 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.3.2 with commit b0e79d0ed03ee2e2b9bc0b637fcb87567ff46112 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.4-rc1 with commit 495cb31c791bdf3f9efef255a9587b05b0526c9d 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-99454 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_recv.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/60e3352593f224306dfab578bf586b301642265f https://git.kernel.org/stable/c/33e8f5740319996788395d85a4c100f61593cb75 https://git.kernel.org/stable/c/b0e79d0ed03ee2e2b9bc0b637fcb87567ff46112 https://git.kernel.org/stable/c/495cb31c791bdf3f9efef255a9587b05b0526c9d