CVE-2026-139599

RDMA/irdma: Free IRQ when CEQ vector mapping fails

Published Nov 30, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/irdma: Free IRQ when CEQ vector mapping fails

irdma_cfg_ceq_vector() registers an IRQ handler before requesting the
CEQ-to-vector mapping through the virtual channel. If the mapping
fails, the function returns without releasing the IRQ resources.
The caller destroys the CEQ, leaving the IRQ handler registered
and potentially referencing freed memory.

Call irdma_destroy_irq() on mapping failure to release
the IRQ resources and drain the associated tasklet
before the caller destroys the CEQ. Use the same dev_id
passed to request_irq(), accounting for CEQ0 sharing
its interrupt vector with the AEQ.

Analysis

AI-generated

Technical impact

The irdma driver registers an interrupt handler before it creates a CEQ‑to‑vector mapping. If the mapping operation fails, the function exits without deregistering the IRQ, and the caller later destroys the CEQ. This leaves a dangling IRQ handler that operates on freed memory, which can trigger a kernel panic or allow an attacker to execute arbitrary code in kernel mode when the interrupt fires. The flaw manifests as a use‑after‑free condition tied to the RDMA subsystem.

Affected Systems

Linux kernel images that contain the unpatched irdma driver are affected. All distributions that ship a kernel with the legacy irdma implementation and have not applied the recent security patch are vulnerable, regardless of specific release, as the issue stems from the driver’s initialization routine.

Risk and Exploitability

The CVSS score is not publicly reported; however the use‑after‑free could lead to a critical‑level impact. The EPSS score is not available and the vulnerability is not in the CISA KEV catalog. Based on the description, it is inferred that the attack vector is local – an attacker must cause the CEQ‑to‑vector mapping to fail during RDMA device initialization, then generate traffic that triggers the stale IRQ handler. The vector failure may be induced by firmware or kernel configuration errors, suggesting that the exploit is most likely local but could be achieved remotely if an attacker can control RDMA traffic directed at the affected device.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the irdma patch where irdma_cfg_ceq_vector() releases the IRQ on mapping failure.
  • If an update cannot be applied immediately, unload the irdma kernel module or unbind all RDMA devices so the vulnerable code is not active.
  • Monitor kernel logs for Oops, use‑after‑free warnings or unexpected interrupt activities that indicate the flaw is still present.

Generated by OpenCVE AI on December 1, 2026 at 17:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Free IRQ when CEQ vector mapping fails irdma_cfg_ceq_vector() registers an IRQ handler before requesting the CEQ-to-vector mapping through the virtual channel. If the mapping fails, the function returns without releasing the IRQ resources. The caller destroys the CEQ, leaving the IRQ handler registered and potentially referencing freed memory. Call irdma_destroy_irq() on mapping failure to release the IRQ resources and drain the associated tasklet before the caller destroys the CEQ. Use the same dev_id passed to request_irq(), accounting for CEQ0 sharing its interrupt vector with the AEQ.
Title RDMA/irdma: Free IRQ when CEQ vector mapping fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:36 PM