wifi: mt76: mt7915: fix double hif2 init on the non-WED path
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.
CVE-2026-90354
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90354
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "cacdd67812c6df824704ac078f1770188a485ff9",
"lessThan": "eac18fadc791928379b179e54636494b92f8cf86",
"versionType": "git"
},
{
"status": "affected",
"version": "cacdd67812c6df824704ac078f1770188a485ff9",
"lessThan": "927fe8c0eb8c10295bc0018c8faa4d91f8fe98c6",
"versionType": "git"
},
{
"status": "affected",
"version": "cacdd67812c6df824704ac078f1770188a485ff9",
"lessThan": "bd2e8f535ae35beb45a7fcc17ec9bbf8dc4db5fe",
"versionType": "git"
},
{
"status": "affected",
"version": "cacdd67812c6df824704ac078f1770188a485ff9",
"lessThan": "249cbaa1873550689fab136b74982cbba74c4169",
"versionType": "git"
},
{
"status": "affected",
"version": "cacdd67812c6df824704ac078f1770188a485ff9",
"lessThan": "29fbc5256c2d8448f084ff179d2e5092ecd1fc54",
"versionType": "git"
},
{
"status": "affected",
"version": "cacdd67812c6df824704ac078f1770188a485ff9",
"lessThan": "3ae8ad277e2819a281b0e36b55633c8515c16ce7",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/wireless/mediatek/mt76/mt7915/pci.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.18"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.18",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/wireless/mediatek/mt76/mt7915/pci.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90354
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #36689 · Revision 1
- Added to Heist Feed
- Publisher date