CVE-2026-139771: wifi: mm81x: free the firmware scratch buffer on parse failures
In the Linux kernel, the following vulnerability has been resolved:
wifi: mm81x: free the firmware scratch buffer on parse failures
mm81xfwloadfw() allocates fwbuf before it inspects the image, but releases it only on the success path. The two early returns taken for a malformed image leave one firmware-sized allocation attached to the device, and mm81xfwflash() retries the load three times.
Release it on those paths too, the way mm81xfwloadbcf() already does.
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
Event History
Frequently Asked Questions
What conditions are required to trigger the memory leak?
The mm81x driver must attempt to load a malformed firmware image. The leak occurs when firmware image parsing takes either of its early failure returns after allocating the firmware scratch buffer.
What is the practical impact of repeated failures?
Each malformed-image failure can leave a firmware-sized allocation attached to the device. Because mm81x_fw_flash() retries the load three times, a single flashing attempt can retain multiple such allocations.
How can I determine whether a system is exposed?
Systems using the Linux kernel mm81x driver are relevant when they load or flash malformed firmware images. The provided information does not identify affected kernel versions or a runtime indicator for detecting previously retained allocations.