CVE-2026-139771

wifi: mm81x: free the firmware scratch buffer on parse failures

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: mm81x: free the firmware scratch buffer on parse failures

mm81x_fw_load_fw() allocates fw_buf 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 mm81x_fw_flash() retries the load three times.

Release it on those paths too, the way mm81x_fw_load_bcf() already does.

Analysis

AI-generated

Technical impact

The mm81x firmware loader allocates a firmware scratch buffer without freeing it when parsing failures occur. If a malformed firmware image is processed, the allocation remains attached to the device. The loader retries up to three times, each time leaving an additional unfreed buffer behind, which can eventually exhaust kernel memory. Because the code lives in the kernel, such resource exhaustion could lead to a local denial‑of‑service or crash of the host system.

Affected Systems

The vulnerability resides in the Linux kernel mm81x wireless driver. All distributions that ship a kernel containing this driver before the patch commit are affected. Devices that use mm81x Wi‑Fi hardware, and any system that invokes firmware loading on that driver, are at risk. The exact kernel versions are not enumerated, but any kernel containing the listed commit prior to the fix is impacted.

Risk and Exploitability

No CVSS score is provided and the EPSS score is not available, but the absence of a KEV listing suggests the bug has not yet been widely exploited in the wild. Nonetheless, the kernel nature and the possibility of an attacker supplying malicious firmware images mean that the risk is potentially high, especially if the device can be commanded remotely to reload firmware. The exposure is most likely local or requires the attacker to have access to the host system's device interfaces.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that incorporates the mm81x firmware buffer deallocation fix (refer to the commit that resolves this issue).
  • If an immediate kernel update is not possible, unload or disable the mm81x driver or turn off Wi‑Fi to prevent the vulnerable firmware loading path from being exercised.
  • Monitor system memory usage for abnormal growth and consider applying kernel runtime limits to mitigate the impact until a patch is applied.

Generated by OpenCVE AI on December 1, 2026 at 01:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-400
CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mm81x: free the firmware scratch buffer on parse failures mm81x_fw_load_fw() allocates fw_buf 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 mm81x_fw_flash() retries the load three times. Release it on those paths too, the way mm81x_fw_load_bcf() already does.
Title wifi: mm81x: free the firmware scratch buffer on parse failures
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM