7.8

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 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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
Produkt Linux
Default Statusunaffected
Version b48c24c2d710cf34810c555dcef883a3d35a9c08
Version < 4780f58672ee6328accd54a95f9c00683477e499
Status affected
Version b48c24c2d710cf34810c555dcef883a3d35a9c08
Version < 79a20a8e201a779224b4bf115250a7713bde72c0
Status affected
Version b48c24c2d710cf34810c555dcef883a3d35a9c08
Version < 9f8f0d2099e3de1194e37dc933ae0c4206b09aaf
Status affected
Version b48c24c2d710cf34810c555dcef883a3d35a9c08
Version < 192a3be0e3759daa24af2841208b074ca6dbaabc
Status affected
Version b48c24c2d710cf34810c555dcef883a3d35a9c08
Version < 424d51d33c7541a86934067c2c0538124687fc90
Status affected
Version b48c24c2d710cf34810c555dcef883a3d35a9c08
Version < abd27a977b419d584efa659488c22d2306987b29
Status affected
Version b48c24c2d710cf34810c555dcef883a3d35a9c08
Version < 5ebb3ed757be3e04cf803026004aa0beaeb13e9b
Status affected
HerstellerLinux
Produkt Linux
Default Statusaffected
Version 5.14
Status affected
Version 0
Version < 5.14
Status unaffected
Version <= 5.15.*
Version 5.15.212
Status unaffected
Version <= 6.1.*
Version 6.1.178
Status unaffected
Version <= 6.6.*
Version 6.6.145
Status unaffected
Version <= 6.12.*
Version 6.12.97
Status unaffected
Version <= 6.18.*
Version 6.18.40
Status unaffected
Version <= 7.1.*
Version 7.1.5
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.13% 0.03
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/4780f58672ee6328accd54a95f9c00683477e499
https://git.kernel.org/stable/c/79a20a8e201a779224b4bf115250a7713bde72c0
https://git.kernel.org/stable/c/9f8f0d2099e3de1194e37dc933ae0c4206b09aaf
https://git.kernel.org/stable/c/192a3be0e3759daa24af2841208b074ca6dbaabc
https://git.kernel.org/stable/c/424d51d33c7541a86934067c2c0538124687fc90
https://git.kernel.org/stable/c/abd27a977b419d584efa659488c22d2306987b29
https://git.kernel.org/stable/c/5ebb3ed757be3e04cf803026004aa0beaeb13e9b