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

RDMA/irdma: Fix out-of-bounds write in irdma_copy_user_pgaddrs

The irdma_copy_user_pgaddrs function loops through all of the umem DMA
blocks to populate the PBLEs and will stop when either the last DMA
block is reached or palloc->total_cnt is reached. The issue is that
the logic for checking palloc->total_cnt would only work for non-zero
values.

When irdma_setup_pbles is called with lvl==0, it
calls irdma_copy_user_pgaddrs with palloc->total_cnt==0, which means
the only way to break out of the loop is to reach the last umem DMA
block, which means it could end up going beyond the fixed size of 4
iwmr->pgaddrmem array that is used in the lvl==0 case.

In the case of QP/CQ/SRQ rings, the value of lvl is determined by a
separate input (for example, req.cq_pages in the case of a CQ). So,
we must perform explicit checking to ensure we don't overflow the
pgaddrmem array if the user provides a umem that consists of more
blocks than their provided req.cq_pages.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The irdma_copy_user_pgaddrs function in the Linux RDMA driver incorrectly checks the loop termination condition when the allocated DMA block count is zero, allowing the loop to continue past the fixed-size pgaddrmem array. This out‑of‑bounds write could overwrite adjacent kernel memory, potentially leading to arbitrary code execution or system instability if an attacker controls the RDMA input. The vulnerability is a classic buffer overflow in kernel space where the fault originates from an unchecked write.

Affected Systems

The flaw exists in the Linux kernel’s irdma driver, which is used on all distributions that ship the driver without the applied patch. No specific kernel version list is provided, so any kernel containing the old irdma code that has not incorporated the patch is vulnerable. Systems that expose RDMA interfaces to untrusted code are at risk.

Risk and Exploitability

The EPSS score is < 1%, and the flaw is not listed in CISA’s KEV catalog, suggesting no known public exploits yet. However, the out‑of‑bounds write occurs in a device driver that runs with kernel privileges, so a local or remote attacker who can create RDMA resources could exploit the overflow to gain elevated privileges or crash the system. The CVSS score of 7.8 indicates high severity, reflecting the potential for privilege escalation or system instability. The attack vector is inferred to be local or remote through RDMA, but verification is required to determine exact prerequisites.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the irdma_copy_user_pgaddrs fix or manually apply the patch commits from the Linux kernel repository.
  • If an immediate update is not feasible, disable or unload the irdma driver and restrict RDMA access to trusted users only to prevent the vulnerable code from executing.
  • Monitor system logs and kernel memory usage for anomalous RDMA activity and schedule a prompt upgrade once the patch becomes available.

Generated by OpenCVE AI on August 22, 2026 at 01:21 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-120

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

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

None

threat_severity

Moderate


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

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

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

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

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 13:45:00 +0000

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

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/irdma: Fix out-of-bounds write in irdma_copy_user_pgaddrs The irdma_copy_user_pgaddrs function loops through all of the umem DMA blocks to populate the PBLEs and will stop when either the last DMA block is reached or palloc->total_cnt is reached. The issue is that the logic for checking palloc->total_cnt would only work for non-zero values. When irdma_setup_pbles is called with lvl==0, it calls irdma_copy_user_pgaddrs with palloc->total_cnt==0, which means the only way to break out of the loop is to reach the last umem DMA block, which means it could end up going beyond the fixed size of 4 iwmr->pgaddrmem array that is used in the lvl==0 case. In the case of QP/CQ/SRQ rings, the value of lvl is determined by a separate input (for example, req.cq_pages in the case of a CQ). So, we must perform explicit checking to ensure we don't overflow the pgaddrmem array if the user provides a umem that consists of more blocks than their provided req.cq_pages.
Title RDMA/irdma: Fix out-of-bounds write in irdma_copy_user_pgaddrs
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:38.735Z

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

Link: CVE-2026-74390

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-74390

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-74390 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses