From mboxrd@z Thu Jan 1 00:00:00 1970 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 52B0F3EFD2F for ; Fri, 8 May 2026 14:24:37 +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=1778250277; cv=none; b=gJwTyApdwcPBvb1FmUpFJ4spX1JLqHQzSATMtNcWEUC04yzQAJWGC9Dm/hcmdfdCOFsCecaU7SdEOqqarTe/CWNHVKIKtKkWU/aDOVC34HBiAAcSjsIXLnyJRXXYxUaqpH+mX6e5QDMN2c7lgbB2pMFamo5x4bdWysoLRVKjM8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778250277; c=relaxed/simple; bh=aU0RG5bJmBZKkJvYVPaLnKa2Gsj63AqSUOzv61zdzUE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KQsirRBVwTbc5iVzjeDsMqWw5UZByGLhiaIHb4GStG/PJ10zaGYFonSzsEM0dQG26fSFnuWjzb02lwFXalsBnWOHAwM19Lx+V8AsMH/WNOKOMcazTLahm8wQOZklHHcOZ0XnXvV5KfWBWB9bjMAOR3ECD55cjPll3uTF/siYbWg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Uz6YEV7H; 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="Uz6YEV7H" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE01FC2BCB0; Fri, 8 May 2026 14:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778250277; bh=aU0RG5bJmBZKkJvYVPaLnKa2Gsj63AqSUOzv61zdzUE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Uz6YEV7HvUzABw09VkR2PfJ2WK1A9GYSSRAF1dcWaJbsO+w7w7mR0SZPnPTJYhIaU TlssuwtXMpN4PZ7+4RUR18CiHp5Deu6UXcVmB7L/CHYv3KHeR1ENLqcZLwPFZfOeVX RUgu6XtPlMdcnuWIhvVISciJykRPsy/Z/A5HCA/4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43386: staging: rtl8723bs: fix potential out-of-bounds read in rtw_restruct_wmm_ie Date: Fri, 8 May 2026 16:21:55 +0200 Message-ID: <2026050835-CVE-2026-43386-c764@gregkh> X-Mailer: git-send-email 2.54.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=3470; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vrvTv9F5Fcj2OHcwemlpbgBk3XdoodWry3mXrJod2XU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJl/P+ZrrI7ezV5+r2YLa80G4UDVvwrM/m28e9a5LTvAc MmisDSzI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZSwcwwz3qa3J/w4HUfol90 +a8Q4eTrEVvlw7Dg5MWr58WnaR/b8W7unbOpD29eTNwVAgA= 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 potential out-of-bounds read in rtw_restruct_wmm_ie The current code checks 'i + 5 < in_len' at the end of the if statement. However, it accesses 'in_ie[i + 5]' before that check, which can lead to an out-of-bounds read. Move the length check to the beginning of the conditional to ensure the index is within bounds before accessing the array. The Linux kernel CVE team has assigned CVE-2026-43386 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 5.10.253 with commit 6ff2243d5e05a5239e39d4ba61d96b0ea3bf7259 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 5.15.203 with commit 12cc6e8f8d4245b7b5a408c6fc8ab1d098d67020 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.1.167 with commit 209644e25757c499e1c1f08c071ea0386d4448b6 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.6.130 with commit 768f25613a9fe6766d15a4a72979657adfc1c6d8 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.12.78 with commit e14a1148f02e8cf1ca380d57e4b95ca36c97f45d Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.18.19 with commit 4dd2d9cf563c54e09d5f7eacf95c5b8f538b513b Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.19.9 with commit d97fc1b29513010b60fde874c7f0ba816744e18c Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.0 with commit a75281626fc8fa6dc6c9cc314ee423e8bc45203b 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-43386 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.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/6ff2243d5e05a5239e39d4ba61d96b0ea3bf7259 https://git.kernel.org/stable/c/12cc6e8f8d4245b7b5a408c6fc8ab1d098d67020 https://git.kernel.org/stable/c/209644e25757c499e1c1f08c071ea0386d4448b6 https://git.kernel.org/stable/c/768f25613a9fe6766d15a4a72979657adfc1c6d8 https://git.kernel.org/stable/c/e14a1148f02e8cf1ca380d57e4b95ca36c97f45d https://git.kernel.org/stable/c/4dd2d9cf563c54e09d5f7eacf95c5b8f538b513b https://git.kernel.org/stable/c/d97fc1b29513010b60fde874c7f0ba816744e18c https://git.kernel.org/stable/c/a75281626fc8fa6dc6c9cc314ee423e8bc45203b