Skip to contentSkip to conversation

CVE-2026-98326: wifi: mac80211: mesh: release the channel if start fails

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

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: mesh: release the channel if start fails

ieee80211_join_mesh() acquires a channel context and then calls ieee80211_start_mesh(), which can fail. In that case, the chanctx isn't released then interface removal will attempt to unassign it after it's removed from the driver, hitting:

wlan0: Failed check-sdata-in-driver check, flags: 0x0

  WARNING: net/mac80211/driver-ops.c:366 at drv_unassign_vif_chanctx
   ieee80211_assign_link_chanctx
   __ieee80211_link_release_channel
   ieee80211_link_release_channel
   ieee80211_teardown_sdata
   unregister_netdevice_many_notify
   _cfg80211_unregister_wdev
   ieee80211_remove_interfaces
   ieee80211_unregister_hw
   mac80211_hwsim_del_radio
   hwsim_exit_net

Correctly release the channel on start failures.

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

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

	Issue introduced in 3.9 with commit 2b5e19677592c167d012c2d129407f39d2bdeb8d and fixed in 6.1.189 with commit f0afcec2129c166e61821d6ae097061155f01b12
	Issue introduced in 3.9 with commit 2b5e19677592c167d012c2d129407f39d2bdeb8d and fixed in 6.6.158 with commit b51f5a310bd6888b90bb9546a8081215dcfe6fbe
	Issue introduced in 3.9 with commit 2b5e19677592c167d012c2d129407f39d2bdeb8d and fixed in 6.12.112 with commit 632f7acfe6dac1278a9314eaaab14fada400ddaf
	Issue introduced in 3.9 with commit 2b5e19677592c167d012c2d129407f39d2bdeb8d and fixed in 6.18.54 with commit 41bee71112db53651ba9a9030de1b843255a4a7f
	Issue introduced in 3.9 with commit 2b5e19677592c167d012c2d129407f39d2bdeb8d and fixed in 7.2.8 with commit 4a4e3fa77ea36d3419d806fb5883ef425a605a5d
	Issue introduced in 3.9 with commit 2b5e19677592c167d012c2d129407f39d2bdeb8d and fixed in 7.3-rc4 with commit ae97fff6495a8764bc0ef281cfe5444f701e527f

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

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/cfg.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/f0afcec2129c166e61821d6ae097061155f01b12
	https://git.kernel.org/stable/c/b51f5a310bd6888b90bb9546a8081215dcfe6fbe
	https://git.kernel.org/stable/c/632f7acfe6dac1278a9314eaaab14fada400ddaf
	https://git.kernel.org/stable/c/41bee71112db53651ba9a9030de1b843255a4a7f
	https://git.kernel.org/stable/c/4a4e3fa77ea36d3419d806fb5883ef425a605a5d
	https://git.kernel.org/stable/c/ae97fff6495a8764bc0ef281cfe5444f701e527f