CVE-2026-98426: wifi: mwifiex: fix IRQ leak using wrong index in MSI-X error path
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mwifiex: fix IRQ leak using wrong index in MSI-X error path
mwifiex_pcie_request_irq() registers each MSI-X vector with a per-index dev_id (&card->msix_ctx[i]). On a request_irq() failure the cleanup loop "for (j = 0; j < i; j++)" frees msix_entries[j].vector but passes the failed index's &card->msix_ctx[i] as the dev_id. free_irq() matches on (irq, dev_id), so it fails to find the action registered with &card->msix_ctx[j]: the already-requested IRQ j is not freed (leaked) and free_irq() warns about freeing a non-existent IRQ. Use &card->msix_ctx[j].
The Linux kernel CVE team has assigned CVE-2026-98426 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.6 with commit 99074fc1e67b374b5c72406a23ac01fed806d634 and fixed in 5.10.271 with commit 11bc2cbb14f450eaa47cce9eb086f948ef8f4bcd Issue introduced in 4.6 with commit 99074fc1e67b374b5c72406a23ac01fed806d634 and fixed in 5.15.222 with commit 1a60cb2292194cc9eafae7ca8a8a72d37ae78d97 Issue introduced in 4.6 with commit 99074fc1e67b374b5c72406a23ac01fed806d634 and fixed in 6.1.189 with commit fcac5813f324cd07dfd36b4adf624fc70f7587d6 Issue introduced in 4.6 with commit 99074fc1e67b374b5c72406a23ac01fed806d634 and fixed in 6.6.158 with commit 2761b21cb896b1da8dd46cee5084c9032b2d7098 Issue introduced in 4.6 with commit 99074fc1e67b374b5c72406a23ac01fed806d634 and fixed in 6.12.112 with commit 5fd4cc87e6cc0839aac89c24ebe39ce262fe088f Issue introduced in 4.6 with commit 99074fc1e67b374b5c72406a23ac01fed806d634 and fixed in 6.18.54 with commit 0969c9688389f2e0f65b1a924b0dd6625a3bb776 Issue introduced in 4.6 with commit 99074fc1e67b374b5c72406a23ac01fed806d634 and fixed in 7.2.8 with commit 03d5e4776e8b71c2468c5c3c48b39202c87a8796 Issue introduced in 4.6 with commit 99074fc1e67b374b5c72406a23ac01fed806d634 and fixed in 7.3-rc4 with commit a3d722190cdef18da4878b5efc27c3c386dda248
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-98426
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/marvell/mwifiex/pcie.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/11bc2cbb14f450eaa47cce9eb086f948ef8f4bcd https://git.kernel.org/stable/c/1a60cb2292194cc9eafae7ca8a8a72d37ae78d97 https://git.kernel.org/stable/c/fcac5813f324cd07dfd36b4adf624fc70f7587d6 https://git.kernel.org/stable/c/2761b21cb896b1da8dd46cee5084c9032b2d7098 https://git.kernel.org/stable/c/5fd4cc87e6cc0839aac89c24ebe39ce262fe088f https://git.kernel.org/stable/c/0969c9688389f2e0f65b1a924b0dd6625a3bb776 https://git.kernel.org/stable/c/03d5e4776e8b71c2468c5c3c48b39202c87a8796 https://git.kernel.org/stable/c/a3d722190cdef18da4878b5efc27c3c386dda248