Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe

get_srq_wqe() reads wqe->dma.num_sge from the shared receive queue
buffer, which is mapped into userspace. It validates num_sge against
max_sge, but then re-reads the same field to calculate the memcpy
size. A concurrent userspace thread can modify num_sge between
validation and use, causing a heap buffer overflow when copying the
WQE into qp->resp.srq_wqe.

Read num_sge into a local variable and use it for both the bounds
check and the size calculation.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The RDMA/rxe module in the Linux kernel contains a time‑of‑check to time‑of‑use race condition within get_srq_wqe(). The function reads num_sge from a user‑mapped receive queue buffer, verifies it against max_sge, and then rereads num_sge to compute a memcpy size. If a concurrent userspace thread changes num_sge between the two reads, the kernel may copy more data into qp->resp.srq_wqe than the destination buffer can hold, causing a heap buffer overflow. An attacker who can control the RDMA buffer can use this overflow to corrupt kernel memory, potentially leading to privilege escalation or denial of service, as the affected code runs with kernel privileges.

Affected Systems

All Linux kernel builds that include the RDMA/rxe component are potentially affected until the fix that copies num_sge into a local variable is applied. The vulnerability description does not list specific kernel release numbers, so any kernel containing the vulnerable RDMA/rxe source should be considered at risk.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity flaw, while the EPSS score of < 1% suggests that exploitation is unlikely but still possible. The vulnerability is not in the CISA KEV catalog, so no public exploit evidence exists yet. The likely attack vector is local: a user‑space process with RDMA permission can manipulate the shared buffer to trigger the race. This inference is derived from the description; the input does not explicitly state the vector. If RDMA services are exposed over a network, a remote actor could potentially achieve the same effect by sending crafted RDMA packets, but this remains speculative based on the data provided.

Generated by OpenCVE AI on August 22, 2026 at 01:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that incorporates the RDMA/rxe get_srq_wqe fix
  • If an update cannot be applied immediately, rebuild or configure the kernel with CONFIG_RDMA_RXE=n to disable RDMA/rxe support, or unload the module if it is loaded
  • Restrict RDMA access to trusted users by removing the ‘rdma’ group from untrusted accounts or setting restrictive permissions on the RDMA kernel module

Generated by OpenCVE AI on August 22, 2026 at 01:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-362

Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-131
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-362

Mon, 17 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-504

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sat, 15 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-504

Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe get_srq_wqe() reads wqe->dma.num_sge from the shared receive queue buffer, which is mapped into userspace. It validates num_sge against max_sge, but then re-reads the same field to calculate the memcpy size. A concurrent userspace thread can modify num_sge between validation and use, causing a heap buffer overflow when copying the WQE into qp->resp.srq_wqe. Read num_sge into a local variable and use it for both the bounds check and the size calculation.
Title RDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:46:30.843Z

Reserved: 2026-08-15T05:44:03.890Z

Link: CVE-2026-74378

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:39.597

Modified: 2026-08-17T06:19:32.633

Link: CVE-2026-74378

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74378 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T01:30:17Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size