CVE-2026-139500

wifi: mt76: mt7996: validate firmware event lengths before parsing

Published Nov 30, 2026 CVSS 3.1 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
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:
mt7996_mcu_rx_all_sta_info_event() looped over res->sta_num without
checking it against skb->len, reading the flex array out of bounds; and
mt7996_mcu_rx_log_message() 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.

Analysis

AI-generated

Technical impact

The bug allows firmware to supply arbitrary event lengths that the kernel then trusts. Two event handlers read data accordingly without verifying that the reported length matches the actual packet size, causing out‑of‑bounds reads of a flexible array and potential negative or oversized string lengths passed to a debugfs format string. If an attacker can control the firmware‑provided event payload, they could trigger kernel memory corruption, lead to a denial of service, or potentially gain elevated privileges.

Affected Systems

All Linux kernel builds that implement the mt76 mt7996 Wi‑Fi driver. The patch that bounds the firmware event lengths appears in a 2026 kernel release. Users should confirm that the kernel they run contains the commit that checks the skb length before parsing the event.

Risk and Exploitability

The CVSS score is not published, the EPSS score is unavailable, and the vulnerability is not listed in CISA KEV. The attack vector is inferred to be local or firmware‑based: an attacker would need the ability to feed crafted firmware events to the Wi‑Fi subsystem, such as by controlling the device firmware or having local access to the device. Based on the description, it is inferred that the vulnerability can be triggered by malicious firmware sending oversized or malformed events, leading to out‑of‑bounds reads or a kernel‑panic. The lack of a public exploit does not diminish the severity because kernel memory corruption remains a critical risk. A successful exploitation could result in a denial of service and, depending on the system state, privilege escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the mt76 mt7996 firmware event length validation patch
  • If a kernel update is not immediately possible, disable or unload the mt76 driver or disconnect the Wi‑Fi device to prevent unsolicited firmware events from reaching the kernel
  • Enforce firmware signing or restrict firmware updates to signed images to limit the ability to supply malicious events

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-122
CWE-134
Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-122
CWE-134
Type Values Removed Values Added
Description 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: mt7996_mcu_rx_all_sta_info_event() looped over res->sta_num without checking it against skb->len, reading the flex array out of bounds; and mt7996_mcu_rx_log_message() 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.
Title wifi: mt76: mt7996: validate firmware event lengths before parsing
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:35 PM