AZL-117184: CVE-2026-139500 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: validate firmware event lengths before parsing
Two unsolicited event handlers trusted firmware-provided lengths: mt7996mcurxallstainfoevent() looped over res->stanum without checking it against skb->len, reading the flex array out of bounds; and mt7996mcurxlogmessage() could compute a negative or oversized length from tlv->len and feed it to %.s and the debugfs log path. Bound both against the actual skb length.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In mt7996_mcu_rx_all_sta_info_event(), validate res->sta_num against the actual skb length before iterating. In mt7996_mcu_rx_log_message(), validate tlv->len so it cannot produce a negative or oversized length before use with %.*s or in the debugfs log path.
Event History
Frequently Asked Questions
What systems are realistically exposed to this issue?
Systems using the affected Azure Linux kernel package and the mt76 mt7996 Wi-Fi driver are exposed when they process unsolicited firmware events from the corresponding Wi-Fi hardware.
What does an attacker need in order to trigger the vulnerable paths?
The vulnerable handlers process firmware-provided event data. The available data does not establish whether an attacker can supply or influence those events remotely, locally, or only through compromised or malicious firmware.
How can I tell whether my system may be affected?
Check whether the system is running the Azure Linux kernel package version 6.6.161.1-1 and uses the mt7996 driver. The affected code paths are the all-station-information event handler and firmware log-message event handler.