KernelScan.io

HIGH Introduced in 5.16

efa EventQueue UAF

CVE-2026-98429

CVSS 7.0 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

01

In the Linux kernel, the following vulnerability has been resolved: RDMA/efa: Keep EQ resources alive while IRQ is registered The completion IRQ handler accesses the EQ state and DMA buffer. Its IRQ was registered before that state was initialized, while teardown released the buffer before free_irq() synchronized the handler. Initialize the EQ without arming it, register the IRQ, and then arm it. Reverse the resource order during teardown by freeing the IRQ before destroying the EQ.

02

Engine v0.9.0

Risk summary

A use-after-free in the AWS EFA RDMA driver allows a local attacker with access to the RDMA device to corrupt kernel memory during event queue teardown, potentially leading to privilege escalation or denial of service. The vulnerability affects systems with EFA hardware (common in AWS EC2 instances) where untrusted code can trigger RDMA completion queue operations.

Affecteddrivers/infiniband/hw/efa/efa_main.c (rdma/efa driver)

Vulnerability analysis

The EFA driver's event queue (EQ) initialization registered the IRQ handler before the EQ state and DMA buffer were fully initialized, while teardown freed the DMA buffer before synchronizing the IRQ handler with free_irq(). This created two race windows: during initialization the handler could access uninitialized state, and during teardown the handler could fire after the buffer was freed. The fix splits EQ initialization into a non-arming setup phase and a separate arm step, reordering operations so the EQ is fully initialized before the IRQ is registered, and the IRQ is freed before the EQ is destroyed. An attacker needs local access to the EFA device (typically via /dev/infiniband/uverbs* with appropriate permissions) and can trigger the race by repeatedly creating and destroying completion queues with completion channels, making this exploitable in multi-tenant environments where untrusted workloads have RDMA device access.

03

BranchIntroducedFixed inPatch commit
6.15.166.1.1893cd652dfcd82
6.125.166.12.112795eb34bfd8b
6.185.166.18.5438871ff47e2a
6.65.166.6.158c767e2812cac
7.25.167.2.89ecd3dcbdf1f
mainline5.167.3e22a3627b715
cip/6.15.166.1.189-cip613cd652dfcd82
cip/6.1-rt5.166.1.189-cip61-rt323cd652dfcd82
cip/6.125.166.12.112-cip33795eb34bfd8b

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32