Skip to contentSkip to conversation

CVE-2026-98333: wifi: mac80211: reset the LED state when ifup 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: reset the LED state when ifup fails

When the first interface comes up, the radio LED is turned on. This can start the TPT trigger timer, which continues running.

But if bringing up the interface fails then the timer keeps running and won't be stopped by anything, eventually it can be freed:

ODEBUG: free active (active state 0) object: ffff888127e12130 object type: timer_list hint: tpt_trig_timer+0x0/0x300 net/mac80211/led.c:145

  WARNING: CPU: 0 PID: 5923 at lib/debugobjects.c:612 debug_print_object+0x1a2/0x2b0
   debug_check_no_obj_freed+0x4b7/0x600 lib/debugobjects.c:1129
   kfree+0x436/0x670 mm/slub.c:6818
   ieee80211_led_exit+0x162/0x1c0 net/mac80211/led.c:210
   ieee80211_unregister_hw+0x27e/0x3a0 net/mac80211/main.c:1706
   rt2x00lib_remove_dev+0x55b/0x670

Undo the LED state in the error path.

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

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

	Issue introduced in 2.6.38 with commit 67408c8c7b9daf28b50e33be3541334c07d15789 and fixed in 7.2.8 with commit de6f9561db572df86d65c05545eb2397313bb8a5
	Issue introduced in 2.6.38 with commit 67408c8c7b9daf28b50e33be3541334c07d15789 and fixed in 7.3-rc4 with commit 78183e8331958fda11cd2b6850bb424a9747c4b2

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

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/de6f9561db572df86d65c05545eb2397313bb8a5
	https://git.kernel.org/stable/c/78183e8331958fda11cd2b6850bb424a9747c4b2