⚠️

Disclaimer & Liability

The content provided on this website is for educational, research, and security awareness purposes only. Any unauthorized, illegal, or abusive use of the information, tools, and techniques discussed is solely the responsibility of the user. The author and publisher assume no liability for any damages, injuries, or consequences resulting from the misuse of this content.

Linux Kernel CVE-2026-142933: Uninitialized S1G Rate Triggers mac80211 Warning During Station Teardown | Alireza Bolbolabadi - Red Team Security
LOADING

Linux Kernel CVE-2026-142933: Uninitialized S1G Rate Triggers mac80211 Warning During Station Teardown

Overview

A bug in the Linux kernel's IEEE 802.11 stack causes an S1G-capable station to be tracked with uninitialized rate metadata. When the station is destroyed during the brief interval between association and the arrival of the first data frame, the kernel's nl80211 station-dump logic hands that uninitialized record to cfg80211_calculate_bitrate(), which detects the inconsistency and fires a WARN. The trace roots in ieee80211_s1g_sta_rate_init() and propagates through ieee80211_destroy_assoc_data(), sta_info_destroy_addr(), cfg80211_del_sta_sinfo(), and nl80211_put_sta_rate().

Technical Analysis

ieee80211_s1g_sta_rate_init() is invoked as part of station association on an S1G-capable wireless interface. It populates last_rate with type STA_STATS_RATE_TYPE_S1G, but does not initialize the supporting fields nss, mcs, or bandwidth. Because the record no longer matches the sentinel STA_STATS_RATE_INVALID, downstream consumers treat it as a real measured rate and set NL80211_STA_INFO_RX_BITRATE. Until the first RX data frame arrives and ieee80211_rx_h_sta_process() overwrites the seeded value, the kernel carries an invalid rate on the station object.

If a station-destroy event lands inside that window, nl80211_put_sta_rate() calls cfg80211_calculate_bitrate() with the invalid values. The supplied trace records:

> WARNING: net/wireless/util.c:1960 at cfg80211_calculate_bitrate+0x4d8/0x8b0 [cfg80211], CPU#3: kworker/u16:3/874

> invalid rate bw=0, mcs=0, nss=0

Hardware in the captured trace is BCM2711, and the workqueue on the critical path is events_unbound / cfg80211_wiphy_work [cfg80211]. The call sequence continues through warn_slowpath_fmt, nl80211_put_sta_info_common, nl80211_send_station.constprop.0, cfg80211_del_sta_sinfo, __sta_info_destroy_part2, and sta_info_destroy_addr, originating from ieee80211_rx_mgmt_assoc_resp inside ieee80211_iface_work.

The issue is corrected by abandoning the speculative seed entirely; the original paths that justified seeding have since been fixed.

Affected Systems

The supplied sources do not enumerate specific affected kernel versions, distribution packages, or driver combinations. The vulnerable surface is therefore described in functional terms rather than version ranges:

  • Linux kernel builds exposing the mac80211 S1G station rate-control code path through ieee80211_s1g_sta_rate_init().

  • Devices with S1G-capable 802.11 Wi-Fi radios actively configured for S1G operation, including S1G association.

  • Hosts whose wireless station lifecycle permits destruction of a just-associated station before the first data frame arrives. The supplied trace confirms the path on BCM2711 hardware running the affected mac80211 + cfg80211 stack.

  • Systems exposing the affected paths to user-issued wireless commands, since nl80211 station-dump requests (e.g., NL80211_CMD_GET_STATION) reduce the practical window in which the invalid last_rate lives.

Affected kernel versions, distribution backport status, and the upstream commit hash are not present in the supplied context and should be confirmed against the relevant distribution or vendor advisory channel.

Mitigation

The supplied sources describe the intended fix as removing the speculative last_rate seeding in ieee80211_s1g_sta_rate_init(). Operators should:

  • Track the upstream Linux kernel change titled wifi: mac80211: don't seed an S1G sta's last_rate and apply it to the running kernel or distribution package once a backported build is available.

  • Until the patch is deployed, reduce attack surface on hosts that do not require S1G capability by disabling S1G operation on the affected wireless interfaces, where the existing configuration knobs permit it.

  • Monitor kernel logs for the string invalid rate bw=0, mcs=0, nss=0 and for warnings emitted by warn_slowpath_fmt from cfg80211_calculate_bitrate() and nl80211_put_sta_rate(); repeated warnings during S1G association and teardown indicate that the vulnerable path is being exercised.

  • Inventory Linux-based wireless devices in the environment and prioritize S1G-capable systems for regression testing once the patched kernel is staged.

The supplied context does not document a distribution advisory, an upstream commit SHA, or an explicit patch release, so applicability should be verified directly against the relevant vendor channels.

Indicators of Activity

  • Kernel log entry beginning with WARNING: net/wireless/util.c:1960 and continuing with invalid rate bw=0, mcs=0, nss=0.

  • Call stack mentions of cfg80211_calculate_bitrate, nl80211_put_sta_rate, ieee80211_destroy_assoc_data, and ieee80211_rx_mgmt_assoc_resp in the same kernel event.

  • Hardware name BCM2711 and workqueue events_unbound cfg80211_wiphy_work [cfg80211] in the trace header, useful for triage but not a strict indicator.

  • Rapid succession of S1G association events followed by teardown events on the same interface, indicating that the vulnerable window is being repeatedly entered.

References

·
← News