CVE-2026-90352: wifi: mt76: mt7915: release hif2 reference on probe IRQ failure
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7915: release hif2 reference on probe IRQ failure
The hif2 reference obtained by mt7915_pci_init_hif2() is only released on error paths that key off dev->hif2, which is not assigned until after the IRQ setup. If pci_alloc_irq_vectors() or the primary devm_request_irq() fails, the reference leaks. Drop it explicitly on those paths via mt7915_put_hif2().
The Linux kernel CVE team has assigned CVE-2026-90352 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.19 with commit f68d67623dec9445960b52a0e9e8e60297596b4b and fixed in 6.1.188 with commit 8a2e38019846da29a112fac4dd96fe5bfa298faf Issue introduced in 5.19 with commit f68d67623dec9445960b52a0e9e8e60297596b4b and fixed in 6.6.157 with commit 2a434d2637b9c9be9bcc8a84dc46880cc1446643 Issue introduced in 5.19 with commit f68d67623dec9445960b52a0e9e8e60297596b4b and fixed in 6.12.110 with commit 5c30a6350a300fbb800831f1b4373b2f59e03410 Issue introduced in 5.19 with commit f68d67623dec9445960b52a0e9e8e60297596b4b and fixed in 6.18.52 with commit ed5cc46a3c8f4fe7f549c661914d8d835169acc0 Issue introduced in 5.19 with commit f68d67623dec9445960b52a0e9e8e60297596b4b and fixed in 7.2.6 with commit fb9c7b4c238b4e5469a11a1fb8cf332f6193b995 Issue introduced in 5.19 with commit f68d67623dec9445960b52a0e9e8e60297596b4b and fixed in 7.3-rc1 with commit 8370aebd26a9dfa2e0de665e3ab504c0e97ee730
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90352
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/mediatek/mt76/mt7915/pci.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/8a2e38019846da29a112fac4dd96fe5bfa298faf https://git.kernel.org/stable/c/2a434d2637b9c9be9bcc8a84dc46880cc1446643 https://git.kernel.org/stable/c/5c30a6350a300fbb800831f1b4373b2f59e03410 https://git.kernel.org/stable/c/ed5cc46a3c8f4fe7f549c661914d8d835169acc0 https://git.kernel.org/stable/c/fb9c7b4c238b4e5469a11a1fb8cf332f6193b995 https://git.kernel.org/stable/c/8370aebd26a9dfa2e0de665e3ab504c0e97ee730