CVE-2026-139505: wifi: mm81x: validate n_channels in disabled channels response
In the Linux kernel, the following vulnerability has been resolved:
wifi: mm81x: validate nchannels in disabled channels response
mm81xmaccheckfwdisabledchans() iterates over nchannels entries of the firmware response without validating the response length against the array size. A firmware response with nchannels larger than ARRAYSIZE(morss1ghzchannels) reads past the end of the response buffer. To fix, make sure we validate the length prior to use.
[slightly reword commit message]
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In mm81x_mac_check_fw_disabled_chans(), validate the firmware response’s n_channels against ARRAY_SIZE(mors_s1ghz_channels) before iterating over the entries.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems running a Linux kernel with the mm81x Wi-Fi driver are exposed when that driver processes a disabled-channels response from its firmware. The supplied data does not identify affected kernel versions or whether the driver is enabled by default.
What does an attacker need to control to trigger the flaw?
The issue requires a firmware response whose n_channels value exceeds the size of the mors_s1ghz_channels array. This causes the driver to iterate beyond the response buffer; the supplied data does not state how an attacker could influence such a response.
How can I determine whether a system has the fix?
Check whether the installed kernel includes either referenced stable commit: 956574857864824a571e682c25706748e1a8ee4f or ad130fe516914076f3fb11940b1bf9181de04425. The fix validates the disabled-channels response length before using n_channels.