CVE-2026-98430: RDMA/efa: Keep admin queues alive while IRQ is registered
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
RDMA/efa: Keep admin queues alive while IRQ is registered
The management IRQ handler accesses both the admin completion queue and the async event queue. The driver registered the IRQ before constructing these queues and destroyed them before freeing the IRQ, so the handler's lifetime was not contained by the resources it accesses.
Initialize the queues with interrupts masked, request the IRQ, and then switch to interrupt mode. On removal, reset the device and free the IRQ before destroying the queues. Also reset the device before destroying the queues if IRQ registration fails, because the device already has their DMA addresses.
The Linux kernel CVE team has assigned CVE-2026-98430 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.2 with commit b7f5e880f3774ff1934ce272e1c3b673a3a9c414 and fixed in 6.1.189 with commit 0a8a105978e5ace0d885964317c5aed8ab4c0a0c Issue introduced in 5.2 with commit b7f5e880f3774ff1934ce272e1c3b673a3a9c414 and fixed in 6.6.158 with commit 00f7df59543cce445cfd2f109ace88c17d8aef4d Issue introduced in 5.2 with commit b7f5e880f3774ff1934ce272e1c3b673a3a9c414 and fixed in 6.12.112 with commit bc7e64bad96c23fb343f47689670d0037f1a65e7 Issue introduced in 5.2 with commit b7f5e880f3774ff1934ce272e1c3b673a3a9c414 and fixed in 6.18.54 with commit d2a1c0bf4139c17b8d7668322b78c28d8c5b2dd0 Issue introduced in 5.2 with commit b7f5e880f3774ff1934ce272e1c3b673a3a9c414 and fixed in 7.2.8 with commit cf5520d1c931a70ccce0a1a247113bcec47a42be Issue introduced in 5.2 with commit b7f5e880f3774ff1934ce272e1c3b673a3a9c414 and fixed in 7.3-rc4 with commit e08aca85c02ff290f785f07acae758f0daf5f49e
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-98430
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/infiniband/hw/efa/efa_com.c
drivers/infiniband/hw/efa/efa_main.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/0a8a105978e5ace0d885964317c5aed8ab4c0a0c https://git.kernel.org/stable/c/00f7df59543cce445cfd2f109ace88c17d8aef4d https://git.kernel.org/stable/c/bc7e64bad96c23fb343f47689670d0037f1a65e7 https://git.kernel.org/stable/c/d2a1c0bf4139c17b8d7668322b78c28d8c5b2dd0 https://git.kernel.org/stable/c/cf5520d1c931a70ccce0a1a247113bcec47a42be https://git.kernel.org/stable/c/e08aca85c02ff290f785f07acae758f0daf5f49e