Skip to contentSkip to conversation

CVE-2026-43052: wifi: mac80211: check tdls flag in ieee80211_tdls_oper

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 1

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: check tdls flag in ieee80211_tdls_oper

When NL80211_TDLS_ENABLE_LINK is called, the code only checks if the station exists but not whether it is actually a TDLS station. This allows the operation to proceed for non-TDLS stations, causing unintended side effects like modifying channel context and HT protection before failing.

Add a check for sta->sta.tdls early in the ENABLE_LINK case, before any side effects occur, to ensure the operation is only allowed for actual TDLS peers.

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

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

	Fixed in 6.12.81 with commit 8148c2fda4ebb17104a573649c9b699208ad10ee
	Fixed in 6.18.22 with commit be81f17151fcb8546a95f35ca8f4231b065985de
	Fixed in 6.19.12 with commit e77b2937aaa20264e4bd699d3244bdb50e7e3343
	Fixed in 7.0 with commit 7d73872d949c488a1d7c308031d6a9d89b5e0a8b

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

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/tdls.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/8148c2fda4ebb17104a573649c9b699208ad10ee
	https://git.kernel.org/stable/c/be81f17151fcb8546a95f35ca8f4231b065985de
	https://git.kernel.org/stable/c/e77b2937aaa20264e4bd699d3244bdb50e7e3343
	https://git.kernel.org/stable/c/7d73872d949c488a1d7c308031d6a9d89b5e0a8b