Skip to contentSkip to conversation

CVE-2026-93804: wifi: mac80211: ibss: wait for in-flight TX on disconnect

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

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: ibss: wait for in-flight TX on disconnect

While leaving an IBSS in ieee80211_ibss_disconnect() mac80211 flushes stations, turns the carrier off and immediately tells the driver to leave as well. While there may be synchronize_net() in station flush and in this code later, packets can still be transmitted due to cross-CPU race conditions after carrier off is set. Therefore, it's possible for a race to happen where a TX to the driver occurs while or after telling it to leave the IBSS. This can be confusing to drivers, and in the case of iwlwifi leads to an attempt to use invalid queues.

Move netif_carrier_off() to occur before sta_info_flush() during IBSS disconnect, and add synchronize_net() if flushing didn't, so that the synchronize_net() always happens between turning the carrier off and telling the driver, avoiding this race.

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

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

	Fixed in 6.12.111 with commit 20a3fb5e1a95caa34896853ca17a50d21c754969
	Fixed in 6.18.53 with commit b3451e6971248250312ad32dd7f63cc9f0a925f5
	Fixed in 7.2 with commit d0e69d9afa59b93c30294eba89b1f15f69e91105

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

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/ibss.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/20a3fb5e1a95caa34896853ca17a50d21c754969
	https://git.kernel.org/stable/c/b3451e6971248250312ad32dd7f63cc9f0a925f5
	https://git.kernel.org/stable/c/d0e69d9afa59b93c30294eba89b1f15f69e91105