Skip to contentSkip to conversation

CVE-2026-53178: staging: rtl8723bs: rtw_mlme: add bounds checks before ie_length subtraction

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 25

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: rtw_mlme: add bounds checks before ie_length subtraction

Add guards to ensure ie_length is large enough before subtracting fixed IE offsets to prevent unsigned integer underflow.

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

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

	Issue introduced in 5.15 with commit d3fcee1b78a533c256077f1300dd236801397cf7 and fixed in 7.0.13 with commit 542d65a6dbd9733baab96313c9fe76a76e93f484
	Issue introduced in 5.15 with commit d3fcee1b78a533c256077f1300dd236801397cf7 and fixed in 7.1 with commit 88e994c57a79f62d5338231d8d37ee8dd98baffe

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

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/542d65a6dbd9733baab96313c9fe76a76e93f484
	https://git.kernel.org/stable/c/88e994c57a79f62d5338231d8d37ee8dd98baffe