Skip to contentSkip to conversation

CVE-2026-90346: wifi: nl80211: clean up color-change beacon data on errors

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

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

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

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

wifi: nl80211: clean up color-change beacon data on errors

nl80211_color_change() calls nl80211_parse_beacon() for the beacon_next template, which can allocate params.beacon_next.mbssid_ies and .rnr_ies. A parsing failure returned directly instead of using the out: cleanup, leaking any allocations completed before the error.

Allocate the nested attribute table before parsing beacon_next. Its allocation failure can then return before beacon data exists, while a later parsing failure uses out: to release the parsed data.

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

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

	Issue introduced in 5.16 with commit dc1e3cb8da8b414b37208b2fb6755fef8122504b and fixed in 7.2.6 with commit 4e0a67fbe3d9e2e1d6f81dfc607184c6b0abd3dd
	Issue introduced in 5.16 with commit dc1e3cb8da8b414b37208b2fb6755fef8122504b and fixed in 7.3-rc1 with commit 927ee844c47ac2aef22c8f7a35f098ff576b398b

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

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:

	net/wireless/nl80211.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/4e0a67fbe3d9e2e1d6f81dfc607184c6b0abd3dd
	https://git.kernel.org/stable/c/927ee844c47ac2aef22c8f7a35f098ff576b398b