CVE-2026-74324

wifi: mt76: mt7925: validate skb length in testmode query

Published Aug 15, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: mt7925: validate skb length in testmode query

In mt7925_tm_query(), the response skb from mt76_mcu_send_and_get_msg()
is used in a memcpy without validating its length:

memcpy(evt_resp, skb->data + 8, MT7925_EVT_RSP_LEN);

where MT7925_EVT_RSP_LEN is 512. If the firmware returns a response
shorter than 520 bytes (8 + 512), this reads beyond the skb data
buffer. The over-read data is then returned to userspace via nla_put()
in mt7925_testmode_dump().

Add a length check before the memcpy to ensure the skb contains
sufficient data.

Analysis

AI-generated

Technical impact

The vulnerability occurs in the MediaTek mt7925 wireless driver for Linux, where a firmware‑returned buffer is copied into a fixed‑size array without checking its length. The 512‑byte memcpy starts eight bytes past the start of the buffer; if the firmware sends less than 520 bytes, the driver reads beyond the buffer’s end. The over‑read data is then passed to userspace through a netlink attribute, allowing an attacker to read arbitrary kernel memory that should be protected.

Affected Systems

All Linux kernel builds that contain the mt76/mt7925 driver are affected. This includes any system running an unpatched kernel where the driver is active for a MediaTek wireless device. The advisory does not specify a version range, but the fix is present in the kernel source after the dates of the listed commit references.

Risk and Exploitability

The flaw is an out‑of‑bounds read (CWE‑125/CWE‑119). The CVSS score is 5.5 and the EPSS score is below 1 %, with the vulnerability not listed in CISA KEV, indicating no known active exploitation yet. An attacker would likely need to trigger a testmode query via the wireless stack, which may require privileged or local access to the device. If exploited, the attacker could leak kernel data, leading to a confidentiality breach. The lack of public exploitation data suggests the risk is primarily theoretical but significant enough for affected users to patch.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to a Linux kernel version that contains the skb length validation patch
  • If an immediate kernel upgrade is not possible, rebuild the kernel with the mt7925 testmode functionality disabled or patched out
  • Verify that firmware updates for the device include proper response length checks, or block testmode queries from untrusted firmware paths

Generated by OpenCVE AI on August 22, 2026 at 00:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-119
CWE-125
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925: validate skb length in testmode query In mt7925_tm_query(), the response skb from mt76_mcu_send_and_get_msg() is used in a memcpy without validating its length: memcpy(evt_resp, skb->data + 8, MT7925_EVT_RSP_LEN); where MT7925_EVT_RSP_LEN is 512. If the firmware returns a response shorter than 520 bytes (8 + 512), this reads beyond the skb data buffer. The over-read data is then returned to userspace via nla_put() in mt7925_testmode_dump(). Add a length check before the memcpy to ensure the skb contains sufficient data.
Title wifi: mt76: mt7925: validate skb length in testmode query
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-125

    Out-of-bounds Read

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:17 AM
Reserved
Aug 15, 2026, 5:44 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Aug 17, 2026, 6:19 AM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM