Skip to contentSkip to conversation

CVE-2026-23246: wifi: mac80211: bounds-check link_id in ieee80211_ml_reconfiguration

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 18

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: mac80211: bounds-check link_id in ieee80211_ml_reconfiguration

link_id is taken from the ML Reconfiguration element (control & 0x000f), so it can be 0..15. link_removal_timeout[] has IEEE80211_MLD_MAX_NUM_LINKS
(15) elements, so index 15 is out-of-bounds. Skip subelements with link_id >= IEEE80211_MLD_MAX_NUM_LINKS to avoid a stack out-of-bounds write.

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

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

	Issue introduced in 6.5 with commit 8eb8dd2ffbbb6b0b8843b66754ee9f129f1b2d6c and fixed in 6.12.77 with commit bfde158d5d1322c0c2df398a8d1ccce04943be2e
	Issue introduced in 6.5 with commit 8eb8dd2ffbbb6b0b8843b66754ee9f129f1b2d6c and fixed in 6.18.17 with commit f35ceec54d48e227fa46f8f97fd100a77b8eab15
	Issue introduced in 6.5 with commit 8eb8dd2ffbbb6b0b8843b66754ee9f129f1b2d6c and fixed in 6.19.7 with commit d58d71c2167601762351962b9604808d3be94400
	Issue introduced in 6.5 with commit 8eb8dd2ffbbb6b0b8843b66754ee9f129f1b2d6c and fixed in 7.0-rc2 with commit 162d331d833dc73a3e905a24c44dd33732af1fc5

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

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/mac80211/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/bfde158d5d1322c0c2df398a8d1ccce04943be2e
	https://git.kernel.org/stable/c/f35ceec54d48e227fa46f8f97fd100a77b8eab15
	https://git.kernel.org/stable/c/d58d71c2167601762351962b9604808d3be94400
	https://git.kernel.org/stable/c/162d331d833dc73a3e905a24c44dd33732af1fc5