Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.40, 7.1.5
CVEs
CVE-2026-74324
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:45 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 15 Aug 2026, 05:58 UTC

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.

osv:CVE-2026-74324

Kernel

Fixed versions: 6.18.40, 7.1.5

Complete source record
{
  "id": "43a4900ccc903e48d5d598233f5ee6a6e417d6d7d5f2f3d75f01cbcefb149fe6",
  "url": "https://osv.dev/vulnerability/CVE-2026-74324",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wifi: mt76: mt7925: validate skb length in testmode query",
    "summary": "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.",
    "evidence": "osv:CVE-2026-74324",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.40",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-74324",
      "aliases": [
        "CVE-2026-74324"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c948b5da6bbec742b433138e3e3f9537a85af2e5"
                },
                {
                  "fixed": "c386e90a7ce8ddec9f038e9437661a2821b0ce89"
                },
                {
                  "fixed": "e8b214b6d6e1902025452db0a0af73dc9693e4ba"
                },
                {
                  "fixed": "c7369a00860a0704461d440e7c3bf9b49bfdbaee"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74324.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.18.40"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74324.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.763827847Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/c386e90a7ce8ddec9f038e9437661a2821b0ce89",
        "https://git.kernel.org/stable/c/c7369a00860a0704461d440e7c3bf9b49bfdbaee",
        "https://git.kernel.org/stable/c/e8b214b6d6e1902025452db0a0af73dc9693e4ba",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74324.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-74324",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74324.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-74324",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 493495,
  "published_at": "2026-08-15T05:58:19.518+00:00"
}