CVE-2026-74390: RDMA/irdma: Fix out-of-bounds write in irdma_copy_user_pgaddrs
In the Linux kernel, the following vulnerability has been resolved:
RDMA/irdma: Fix out-of-bounds write in irdmacopyuserpgaddrs
The irdmacopyuserpgaddrs 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->totalcnt is reached. The issue is that the logic for checking palloc->totalcnt would only work for non-zero values.
When irdmasetuppbles is called with lvl==0, it calls irdmacopyuserpgaddrs with palloc->totalcnt==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.cqpages 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.cqpages.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux kernel (irdma)to a version that resolves this vulnerability.Patch Fix out-of-bounds write in irdma_copy_user_pgaddrs
Event History
Frequently Asked Questions
What is the severity of CVE-2026-74390?
The severity of CVE-2026-74390 is rated at risk level 57.
How do I fix CVE-2026-74390?
To fix CVE-2026-74390, update your Linux kernel to the latest version that includes the patch for this vulnerability.
What is the impact of CVE-2026-74390?
CVE-2026-74390 can lead to potential out-of-bounds write vulnerabilities in the irdma_copy_user_pgaddrs function.
When was CVE-2026-74390 published?
CVE-2026-74390 was published on August 15, 2026.
What subsystem is affected by CVE-2026-74390?
CVE-2026-74390 affects the RDMA/irdma subsystem in the Linux kernel.