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.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Fri, 21 Aug 2026 00:15:00 +0000

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


Sat, 15 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-125

Sat, 15 Aug 2026 06:15:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:17:14.721Z

Reserved: 2026-08-15T05:44:03.884Z

Link: CVE-2026-74324

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:33.000

Modified: 2026-08-17T06:19:26.840

Link: CVE-2026-74324

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74324 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T00:15:05Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-125

    Out-of-bounds Read