Skip to content
Heist/ feed
Back to feed
UnratedFix available

wifi: mt76: mt7915: fix double hif2 init on the non-WED path

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: fix double hif2 init on the non-WED path mt7915_pci_init_hif2() was called unconditionally and again inside the WED-inactive branch. The helper increments the global hif_idx, writes the PCIe RECOG_ID register and takes a get_device() reference via mt7915_pci_get_hif2(), while removal only drops one reference. On non-WED dual-hif hardware this double-incremented hif_idx, wrote RECOG_ID twice and leaked a device reference. Only the call inside the WED-inactive branch is correct; drop the unconditional one. hif2 is already initialised to NULL.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.188, 6.12.110, 6.18.52, 6.6.157, 7.2.6
CVEs
CVE-2026-90354
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:35 UTC · Revision 1

Source evidence

wifi: mt76: mt7915: fix double hif2 init on the non-WED path

core-osv · Original source

Published 17 Sept 2026, 16:09 UTC

In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: fix double hif2 init on the non-WED path mt7915_pci_init_hif2() was called unconditionally and again inside the WED-inactive branch. The helper increments the global hif_idx, writes the PCIe RECOG_ID register and takes a get_device() reference via mt7915_pci_get_hif2(), while removal only drops one reference. On non-WED dual-hif hardware this double-incremented hif_idx, wrote RECOG_ID twice and leaked a device reference. Only the call inside the WED-inactive branch is correct; drop the unconditional one. hif2 is already initialised to NULL.

osv:CVE-2026-90354

Kernel

Fixed versions: 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6

Complete source record
{
  "id": "1cb298a0ef16b1e4b8b2aaed1459c4dc4c6a63472e29cd7acd3eb484ce7125a4",
  "url": "https://osv.dev/vulnerability/CVE-2026-90354",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wifi: mt76: mt7915: fix double hif2 init on the non-WED path",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: fix double hif2 init on the non-WED path mt7915_pci_init_hif2() was called unconditionally and again inside the WED-inactive branch. The helper increments the global hif_idx, writes the PCIe RECOG_ID register and takes a get_device() reference via mt7915_pci_get_hif2(), while removal only drops one reference. On non-WED dual-hif hardware this double-incremented hif_idx, wrote RECOG_ID twice and leaked a device reference. Only the call inside the WED-inactive branch is correct; drop the unconditional one. hif2 is already initialised to NULL.",
    "evidence": "osv:CVE-2026-90354",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.52",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-90354",
      "aliases": [
        "CVE-2026-90354"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cacdd67812c6df824704ac078f1770188a485ff9"
                },
                {
                  "fixed": "eac18fadc791928379b179e54636494b92f8cf86"
                },
                {
                  "fixed": "927fe8c0eb8c10295bc0018c8faa4d91f8fe98c6"
                },
                {
                  "fixed": "bd2e8f535ae35beb45a7fcc17ec9bbf8dc4db5fe"
                },
                {
                  "fixed": "249cbaa1873550689fab136b74982cbba74c4169"
                },
                {
                  "fixed": "29fbc5256c2d8448f084ff179d2e5092ecd1fc54"
                },
                {
                  "fixed": "3ae8ad277e2819a281b0e36b55633c8515c16ce7"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90354.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.18.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.52"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90354.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.581940977Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/249cbaa1873550689fab136b74982cbba74c4169",
        "https://git.kernel.org/stable/c/29fbc5256c2d8448f084ff179d2e5092ecd1fc54",
        "https://git.kernel.org/stable/c/3ae8ad277e2819a281b0e36b55633c8515c16ce7",
        "https://git.kernel.org/stable/c/927fe8c0eb8c10295bc0018c8faa4d91f8fe98c6",
        "https://git.kernel.org/stable/c/bd2e8f535ae35beb45a7fcc17ec9bbf8dc4db5fe",
        "https://git.kernel.org/stable/c/eac18fadc791928379b179e54636494b92f8cf86",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90354.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-90354",
        "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/90xxx/CVE-2026-90354.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-90354",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 493429,
  "published_at": "2026-09-17T16:09:00.88+00:00"
}