CVE-2026-139414

RDMA/efa: Fix race between admin command timeout and completion

Published Nov 30, 2026 CVSS 3.1 · 7 High EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/efa: Fix race between admin command timeout and completion

An admin command that times out can race with the interrupt handler
processing its completion, in two ways.

The timeout path releases the completion context without synchronizing
against the handler. A handler that has already seen the command as
submitted then copies the CQE into the caller's response buffer after
the waiter returned and that buffer went out of scope.

The waiter can also observe the command as completed before the CQE was
copied, since the status is published first. It decodes its own
uninitialized response buffer, returns success with garbage contents and
leaks stack data to the caller. Both wait paths read the status without
the CQ lock.

Add a timed-out state and publish it under the CQ lock in both wait
paths before returning, so the handler, which only completes commands in
submitted state, cannot act on an abandoned context. In the interrupt
wait path test the return value of the wait instead of the status: the
handler signals the completion after copying the CQE, so a successful
wait implies a valid response. Read the status in the polling wait path
inside the critical section that drains the CQ, which also lets a
completion arriving on the last iteration be honored instead of reported
as a timeout.

Analysis

AI-generated

Technical impact

The vulnerability occurs in the Linux kernel’s RDMA/efa subsystem when an admin command times out while an interrupt handler simultaneously processes its completion, creating a race condition that can leave the caller’s response buffer uninitialized and expose stack data.

Affected Systems

All Linux kernel builds that include the RDMA/efa driver path and have not incorporated the fix are potentially affected; the specific version ranges are not enumerated in the available data.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in CISA KEV, so exploitation data is unknown. Based on the description it is inferred that triggering the fault requires the ability to issue privileged RDMA/EFA admin commands, meaning that the attack surface is limited to users with kernel‑level privileges. The race condition could result in information disclosure through the leaking of uninitialized data, but the overall severity lacks formal CVSS metrics and should be treated with caution until a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the RDMA/efa patch to eliminate the race condition
  • If a kernel update cannot be applied immediately, unload or disable the rdma and efa kernel modules to prevent the vulnerable code from executing
  • Limit RDMA/EFA access to trusted, privileged users and restrict untrusted processes from interacting with the driver until a permanent fix is available

Generated by OpenCVE AI on December 1, 2026 at 06:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-368
CWE-665
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/efa: Fix race between admin command timeout and completion An admin command that times out can race with the interrupt handler processing its completion, in two ways. The timeout path releases the completion context without synchronizing against the handler. A handler that has already seen the command as submitted then copies the CQE into the caller's response buffer after the waiter returned and that buffer went out of scope. The waiter can also observe the command as completed before the CQE was copied, since the status is published first. It decodes its own uninitialized response buffer, returns success with garbage contents and leaks stack data to the caller. Both wait paths read the status without the CQ lock. Add a timed-out state and publish it under the CQ lock in both wait paths before returning, so the handler, which only completes commands in submitted state, cannot act on an abandoned context. In the interrupt wait path test the return value of the wait instead of the status: the handler signals the completion after copying the CQE, so a successful wait implies a valid response. Read the status in the polling wait path inside the critical section that drains the CQ, which also lets a completion arriving on the last iteration be honored instead of reported as a timeout.
Title RDMA/efa: Fix race between admin command timeout and completion
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-366

    Race Condition within a Thread

  • CWE-368

    Context Switching Race Condition

  • CWE-665

    Improper Initialization

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Dec 1, 2026, 5:42 AM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Dec 1, 2026, 6:17 AM
Severity
Moderate
Public date
Nov 30, 2026, 1:34 PM