CVE-2026-74390

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

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before 4780f58672ee6328accd54a95f9c00683477e499Affected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before 79a20a8e201a779224b4bf115250a7713bde72c0Affected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before 9f8f0d2099e3de1194e37dc933ae0c4206b09aafAffected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before 192a3be0e3759daa24af2841208b074ca6dbaabcAffected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before 424d51d33c7541a86934067c2c0538124687fc90Affected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before abd27a977b419d584efa659488c22d2306987b29Affected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before 5ebb3ed757be3e04cf803026004aa0beaeb13e9bAffected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.