wifi: mt76: mt7915: fix double hif2 init on the non-WED path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eac18fadc791928379b179e54636494b92f8cf86, Kernel 249cbaa1873550689fab136b74982cbba74c4169, Kernel 29fbc5256c2d8448f084ff179d2e5092ecd1fc54 and 8 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=cacdd67812c6df824704ac078f1770188a485ff9 <eac18fadc791928379b179e54636494b92f8cf86, >=cacdd67812c6df824704ac078f1770188a485ff9 <249cbaa1873550689fab136b74982cbba74c4169, >=cacdd67812c6df824704ac078f1770188a485ff9 <29fbc5256c2d8448f084ff179d2e5092ecd1fc54, >=cacdd67812c6df824704ac078f1770188a485ff9 <3ae8ad277e2819a281b0e36b55633c8515c16ce7, >=cacdd67812c6df824704ac078f1770188a485ff9 <927fe8c0eb8c10295bc0018c8faa4d91f8fe98c6, >=cacdd67812c6df824704ac078f1770188a485ff9 <bd2e8f535ae35beb45a7fcc17ec9bbf8dc4db5fe, =5.18 | eac18fadc791928379b179e54636494b92f8cf86, 249cbaa1873550689fab136b74982cbba74c4169, 29fbc5256c2d8448f084ff179d2e5092ecd1fc54, 3ae8ad277e2819a281b0e36b55633c8515c16ce7, 927fe8c0eb8c10295bc0018c8faa4d91f8fe98c6, bd2e8f535ae35beb45a7fcc17ec9bbf8dc4db5fe |
| linux-kernel: Kernel | >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=5.18.0 <6.1.188 | 6.18.52, 7.2.6, 6.6.157, 6.12.110, 6.1.188 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket