Skip to contentSkip to conversation

CVE-2026-98422: wifi: mac80211: reset the AP_VLAN tailroom counter on ifdown

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 14

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: reset the AP_VLAN tailroom counter on ifdown

On ifup, AP_VLAN interfaces get crypto_tx_tailroom_needed_cnt from the AP interface, but it's never decremented again unless the AP is also brought down. Thus, bringing the same AP_VLAN up again will increment the counter again and eventually hit the sanity check:

WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt !=

               master->crypto_tx_tailroom_needed_cnt);

Reset it on ifdown to avoid that.

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

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

	Issue introduced in 4.1 with commit f9dca80b98caac8b4bfb43a2edf1e9f877ccf322 and fixed in 5.10.271 with commit b0b32d3f163d24ea7134380666193bf398e9dc0b
	Issue introduced in 4.1 with commit f9dca80b98caac8b4bfb43a2edf1e9f877ccf322 and fixed in 5.15.222 with commit f6b34a7d64324faf28eedc0f8678b0f832f1cc36
	Issue introduced in 4.1 with commit f9dca80b98caac8b4bfb43a2edf1e9f877ccf322 and fixed in 6.1.189 with commit 304a874670a0b6ab5589a7f60b4af0251797b121
	Issue introduced in 4.1 with commit f9dca80b98caac8b4bfb43a2edf1e9f877ccf322 and fixed in 6.6.158 with commit 7775759e3cb35ef5a571b2d877c2a9b70a5d5f08
	Issue introduced in 4.1 with commit f9dca80b98caac8b4bfb43a2edf1e9f877ccf322 and fixed in 6.12.112 with commit 3d76b45e8432c0d75fcb9e90d92eaa3176898adf
	Issue introduced in 4.1 with commit f9dca80b98caac8b4bfb43a2edf1e9f877ccf322 and fixed in 6.18.54 with commit 4b54d01b48445b66c9e576de92b90a3a3ae7b34a
	Issue introduced in 4.1 with commit f9dca80b98caac8b4bfb43a2edf1e9f877ccf322 and fixed in 7.2.8 with commit 875835377d8d62c849b4eb03a7abfafa71d7668f
	Issue introduced in 4.1 with commit f9dca80b98caac8b4bfb43a2edf1e9f877ccf322 and fixed in 7.3-rc4 with commit 4504f3960dc4501c73be9f99eabda2e26e9db41e

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

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/iface.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/b0b32d3f163d24ea7134380666193bf398e9dc0b
	https://git.kernel.org/stable/c/f6b34a7d64324faf28eedc0f8678b0f832f1cc36
	https://git.kernel.org/stable/c/304a874670a0b6ab5589a7f60b4af0251797b121
	https://git.kernel.org/stable/c/7775759e3cb35ef5a571b2d877c2a9b70a5d5f08
	https://git.kernel.org/stable/c/3d76b45e8432c0d75fcb9e90d92eaa3176898adf
	https://git.kernel.org/stable/c/4b54d01b48445b66c9e576de92b90a3a3ae7b34a
	https://git.kernel.org/stable/c/875835377d8d62c849b4eb03a7abfafa71d7668f
	https://git.kernel.org/stable/c/4504f3960dc4501c73be9f99eabda2e26e9db41e