AZL-117745: CVE-2026-142933 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: don't seed an S1G sta's lastrate
When initialising the rate control system, ieee80211s1gstarateinit() is called for S1G stations during association where it initialises a last rate of type STASTATSRATETYPES1G but does not initialise nss, mcs bw etc. Since the lastrate no longer has a value equivalent to STASTATSRATEINVALID, the invalid rate will be decoded and the NL80211STAINFORXBITRATE flag will be set.
As a result, there is a period during association before the first data frame is rx'ed where the seeded value is overwritten by ieee80211rxhstaprocess() while this invalid lastrate lives. If the sta is desroyed during this process, nl80211putstarate() will call into cfg80211calculatebitrate() and attempt to calculate the bitrate using the invalid lastrate leading to a WARN:
4,336,675067400,-;------------[ cut here ]------------ 4,337,675067524,-;WARNING: net/wireless/util.c:1960 at cfg80211calculatebitrate+0x4d8/0x8b0 [cfg80211], CPU#3: kworker/u16:3/874 4,338,675068176,-;invalid rate bw=0, mcs=0, nss=0 [snip loaded modules] 4,341,675068954,-;Hardware name: BCM2711 4,342,675068961,-;Workqueue: eventsunbound cfg80211wiphywork [cfg80211] 4,343,675069386,-;Call trace: 4,344,675069392,-; unwindbacktrace from showstack+0x10/0x14 4,345,675069440,-; showstack from dumpstacklvl+0xa8/0xb8 4,346,675069475,-; dumpstacklvl from warn+0x90/0x224 4,347,675069517,-; warn from warnslowpathfmt+0x130/0x1a8 4,348,675069559,-; warnslowpathfmt from cfg80211calculatebitrate+0x4d8/0x8b0 [cfg80211] 4,349,675070005,-; cfg80211calculatebitrate [cfg80211] from nl80211putstarate+0x48/0x590 [cfg80211] 4,350,675070819,-; nl80211putstarate [cfg80211] from nl80211putstainfocommon+0x4f4/0xd50 [cfg80211] 4,351,675071616,-; nl80211putstainfocommon [cfg80211] from nl80211sendstation.constprop.0+0x114/0x424 [cfg80211] 4,352,675072427,-; nl80211sendstation.constprop.0 [cfg80211] from cfg80211delstasinfo+0xc4/0x368 [cfg80211] 4,353,675073222,-; cfg80211delstasinfo [cfg80211] from stainfodestroypart2+0x108/0x2c0 [mac80211] 4,354,675074178,-; stainfodestroypart2 [mac80211] from stainfodestroyaddr+0x4c/0x88 [mac80211] 4,355,675075243,-; stainfodestroyaddr [mac80211] from ieee80211destroyassocdata+0x194/0x2d8 [mac80211] 4,356,675075920,-; ieee80211destroyassocdata [mac80211] from ieee80211rxmgmtassocresp+0x220/0x1d4c [mac80211] 4,357,675076558,-; ieee80211rxmgmtassocresp [mac80211] from ieee80211ifacework+0x1c0/0x5d0 [mac80211] 4,358,675077187,-; ieee80211ifacework [mac80211] from cfg80211wiphywork+0x110/0x368 [cfg80211] 4,359,675077763,-; cfg80211wiphywork [cfg80211] from processonework+0x260/0x868 4,360,675078022,-; processonework from workerthread+0x1bc/0x3ec 4,361,675078042,-; workerthread from kthread+0x120/0x154 4,362,675078060,-; kthread from retfromfork+0x14/0x20 4,363,675078074,-;Exception stack(0xf0ac1fb0 to 0xf0ac1ff8) 4,364,675078081,-;1fa0: 00000000 00000000 00000000 00000000 4,365,675078088,-;1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 4,366,675078093,-;1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 4,367,675080226,-;irq event stamp: 15780967 4,368,675080287,-;hardirqs last enabled at (15780975): [<c050c154>] upconsolesem+0x50/0x60 4,369,675080395,-;hardirqs last disabled at (15780982): [<c050c140>] upconsolesem+0x3c/0x60 4,370,675080497,-;softirqs last enabled at (15780966): [<c0476f14>] handlesoftirqs+0x398/0x650 4,371,675080608,-;softirqs last disabled at (15780939): [<c0477388>] irqexitrcu+0x150/0x1f0 4,372,675080715,-;---[ end trace 0000000000000000 ]---
To fix, we can simply not seed this psuedo rate. It was originally implemented to avoid errornous paths that S1G shouldn't take, but those have since been fixed / cleaned up. Whi ---truncated---
Affected Software
Event History
Frequently Asked Questions
What conditions are needed to trigger the warning?
The affected system must be handling an S1G station in mac80211 during association. The station must be destroyed after rate-control initialization but before its first data frame is received, while its uninitialized last_rate is still present.
What is the observable impact?
The kernel can attempt to calculate a bitrate from an invalid rate and emit a WARN in cfg80211_calculate_bitrate(). The logged invalid values include bw=0, mcs=0, and nss=0.
How can I tell whether this has occurred?
Inspect kernel logs for a warning at net/wireless/util.c:1960 in cfg80211_calculate_bitrate, especially messages containing "invalid rate bw=0, mcs=0, nss=0". The warning may occur from a kworker context during station handling.