MEDIUM 5.5

CVE-2026-53102: Linux mt76 WiFi Driver Memory Leak Vulnerability

A memory leak vulnerability exists in the Linux kernel's MediaTek WiFi driver (mt76) where allocated memory is not properly freed when certain operations fail during station configuration. The vulnerability occurs when intermediate functions encounter errors after memory is allocated but before it can be properly released, potentially leading to memory exhaustion over time. This is a kernel-level issue that affects systems with MediaTek WiFi hardware running vulnerable kernel versions.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
CWE-401
Affected products
1 configuration(s)
Published / Modified
2026-06-24 / 2026-07-21

NVD description (verbatim)

In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: Fix memory leak after mt76_connac_mcu_alloc_sta_req() mt76_connac_mcu_alloc_sta_req() allocates an skb which is expected to be freed eventually by mt76_mcu_skb_send_msg(). However, currently if an intermediate function fails before sending, the allocated skb is leaked. Specifically, mt76_connac_mcu_sta_wed_update() and mt76_connac_mcu_sta_key_tlv() may fail, leading to an immediate memory leak in the error path. Fix this by explicitly freeing the skb in these error paths. Commit 7c0f63fe37a5 ("wifi: mt76: mt7996: fix memory leak on mt7996_mcu_sta_key_tlv error") made a similar change. Compile tested only. Issue found using a prototype static analysis tool and code review.

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-53102 is a memory leak in the mt76 WiFi driver's station management code. The function mt76_connac_mcu_alloc_sta_req() allocates a socket buffer (skb) that should normally be freed by mt76_mcu_skb_send_msg(). However, when mt76_connac_mcu_sta_wed_update() or mt76_connac_mcu_sta_key_tlv() fail after allocation but before transmission, the skb is not freed, creating a memory leak. The vulnerability is classified as CWE-401 (Missing Release of Memory after Effective Lifetime). The fix involves explicit skb deallocation in the error paths, similar to a prior fix applied in commit 7c0f63fe37a5.

Business impact

Memory leaks in kernel-level WiFi drivers can accumulate over extended operation, particularly in systems with frequent WiFi station state changes (e.g., roaming, reconnection events). On embedded systems, edge devices, or servers with limited memory, this could eventually degrade performance or trigger system instability. For organizations managing fleets of devices with MediaTek WiFi hardware, persistent kernel memory leaks increase support costs and device reboot requirements. The severity is moderated because successful exploitation requires local system access and sustained triggering of error conditions.

Affected systems

This vulnerability affects Linux systems equipped with MediaTek mt76 WiFi chipsets. Vulnerable systems include devices running the affected Linux kernel code that uses the mt76 driver—primarily embedded systems, laptops, and edge devices with MediaTek wireless hardware. The vulnerability requires local access to trigger and does not propagate remotely. Verify your kernel version and mt76 driver version against the vendor patch advisory to determine if your systems are affected.

Exploitability

Exploitation requires local system access and the ability to trigger station management operations that cause intermediate function failures. This is not a remote vulnerability and does not lead to privilege escalation or code execution. An attacker with local access could potentially accelerate memory exhaustion by repeatedly forcing error conditions during WiFi station operations, but this is a slow, low-impact exploitation path. The vulnerability is unlikely to be weaponized in real-world attacks due to the limited practical value compared to more direct attack vectors.

Remediation

Update the Linux kernel to a version that includes the memory leak fix in the mt76 driver. Verify the specific patched kernel version through your Linux distribution's security advisories and the upstream Linux kernel repository. For vendors packaging the mt76 driver separately, updates may also be available as driver-specific patches. Systems should prioritize kernel updates that address this and concurrent security issues rather than patching this issue in isolation.

Patch guidance

Consult your Linux distribution's official security advisories and kernel release notes for the patched kernel version addressing this vulnerability. Upstream patches should be available in the Linux kernel repository under the wifi/mt76 subsystem. Organizations should apply patches as part of scheduled kernel maintenance windows, testing in non-production environments first. Compile testing is available; full testing should verify that WiFi station operations and roaming function correctly post-patch.

Detection guidance

Monitor kernel memory usage patterns on systems with mt76 WiFi adapters, particularly memory in the 'slab' or 'kmalloc' categories that does not recover after WiFi state changes. Kernel debuggers (kmemleak) can be enabled to identify unreleased memory allocations. Check system logs for repeated allocation failures or WiFi driver warnings that could indicate the error path is being triggered. Note that this issue does not produce straightforward attack signatures—detection requires memory profiling or code inspection rather than traffic analysis.

Why prioritize this

This vulnerability merits prompt but not emergency patching. The CVSS score of 5.5 (Medium) reflects the local-only attack requirement and lack of confidentiality or integrity impact. However, organizations with large fleets of edge devices or embedded systems using MediaTek WiFi should prioritize patching sooner to prevent cumulative memory degradation. Systems in environments requiring high uptime and minimal reboots should be prioritized for testing and patching.

Risk score, explained

The CVSS 3.1 score of 5.5 reflects a Medium severity: local attack vector (AV:L), low attack complexity (AC:L), low privilege requirement (PR:L), no user interaction needed (UI:N), unchanged scope (S:U), no confidentiality impact (C:N), no integrity impact (I:N), but high availability impact (A:H) due to potential memory exhaustion. The score appropriately discounts the vulnerability for its requirement of local access and the impractical nature of sustained exploitation.

Frequently asked questions

Can this vulnerability be exploited remotely?

No. CVE-2026-53102 requires local system access to trigger the vulnerable code path. It cannot be exploited over a network.

What systems are most at risk?

Embedded systems, edge devices, laptops, and servers using MediaTek mt76 WiFi hardware and running unpatched Linux kernels. Systems with frequent WiFi state changes (roaming, reconnection) are at higher risk because they exercise the vulnerable code more often.

Does this vulnerability lead to code execution?

No. The vulnerability causes a memory leak, potentially leading to denial of service through memory exhaustion over time. It does not enable arbitrary code execution or privilege escalation.

How quickly should we patch this?

Prioritize this as a standard kernel maintenance item rather than an emergency. If your infrastructure uses many MediaTek-based WiFi devices, accelerate patching to prevent long-term memory degradation. Otherwise, include it in regular security update cycles.

This vulnerability analysis is based on publicly disclosed information and the CVE record as of the publication date. Patch version numbers, availability timelines, and specific affected hardware variants should be verified against official vendor advisories and the Linux kernel security repository. Organizations should test patches in non-production environments before broad deployment. This analysis does not constitute professional security advice; consult your security team and vendor documentation for deployment decisions specific to your infrastructure. Source: NVD (public-domain), retrieved 2026-08-01. Analysis generated by SEC.co (claude-haiku-4-5).