Skip to contentSkip to conversation

CVE-2026-43387: staging: rtl8723bs: properly validate the data in rtw_get_ie_ex()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 8

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

staging: rtl8723bs: properly validate the data in rtw_get_ie_ex()

Just like in commit 154828bf9559 ("staging: rtl8723bs: fix out-of-bounds read in rtw_get_ie() parser"), we don't trust the data in the frame so we should check the length better before acting on it

The Linux kernel CVE team has assigned CVE-2026-43387 to this issue.

Affected and fixed versions
===========================

	Fixed in 5.10.253 with commit ac38856092b4c994f94343251b30520bdeb7f475
	Fixed in 5.15.203 with commit 35969c3a208a07cb8642301df5869c34e2db7071
	Fixed in 6.1.167 with commit 8097a48c606a9306281ea7bd73bf2afc97553733
	Fixed in 6.6.130 with commit 740bca8bbdb707c0e4bb11e3316deb2f04fc7ce1
	Fixed in 6.12.78 with commit 821f7d759fb2de33c5e5b0c4981181c4d0c3e9b1
	Fixed in 6.18.19 with commit 6d62fa548387e159a21ea95132c09bfc96d336ed
	Fixed in 6.19.9 with commit 9a4cd4c37593cc8b8d28f9a6732b490a8032006a
	Fixed in 7.0 with commit f0109b9d3e1e455429279d602f6276e34689750a

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-43387

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_ieee80211.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/ac38856092b4c994f94343251b30520bdeb7f475
	https://git.kernel.org/stable/c/35969c3a208a07cb8642301df5869c34e2db7071
	https://git.kernel.org/stable/c/8097a48c606a9306281ea7bd73bf2afc97553733
	https://git.kernel.org/stable/c/740bca8bbdb707c0e4bb11e3316deb2f04fc7ce1
	https://git.kernel.org/stable/c/821f7d759fb2de33c5e5b0c4981181c4d0c3e9b1
	https://git.kernel.org/stable/c/6d62fa548387e159a21ea95132c09bfc96d336ed
	https://git.kernel.org/stable/c/9a4cd4c37593cc8b8d28f9a6732b490a8032006a
	https://git.kernel.org/stable/c/f0109b9d3e1e455429279d602f6276e34689750a