{"id":"CVE-2026-74390","revision":"7db3511e42484a13bf64665c4ac130a6","records":[{"revision":"7db3511e42484a13bf64665c4ac130a6","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-74390","aliases":[],"title":"RDMA/irdma: Fix out-of-bounds write in irdma_copy_user_pgaddrs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Fix out-of-bounds write in irdma_copy_user_pgaddrs\n\nThe irdma_copy_user_pgaddrs function loops through all of the umem DMA\nblocks to populate the PBLEs and will stop when either the last DMA\nblock is reached or palloc->total_cnt is reached. The issue is that\nthe logic for checking palloc->total_cnt would only work for non-zero\nvalues.\n\nWhen irdma_setup_pbles is called with lvl==0, it\ncalls irdma_copy_user_pgaddrs with palloc->total_cnt==0, which means\nthe only way to break out of the loop is to reach the last umem DMA\nblock, which means it could end up going beyond the fixed size of 4\niwmr->pgaddrmem array that is used in the lvl==0 case.\n\nIn the case of QP/CQ/SRQ rings, the value of lvl is determined by a\nseparate input (for example, req.cq_pages in the case of a CQ). So,\nwe must perform explicit checking to ensure we don't overflow the\npgaddrmem array if the user provides a umem that consists of more\nblocks than their provided req.cq_pages.","state":0,"publishedAt":"2026-08-15T05:59:04.479+00:00","modifiedAt":"2026-10-16T19:05:40.715+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/infiniband/hw/irdma/verbs.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"b48c24c2d710cf34810c555dcef883a3d35a9c08\",\n                            \"lessThan\": \"4780f58672ee6328accd54a95f9c00683477e499\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b48c24c2d710cf34810c555dcef883a3d35a9c08\",\n                            \"lessThan\": \"79a20a8e201a779224b4bf115250a7713bde72c0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b48c24c2d710cf34810c555dcef883a3d35a9c08\",\n                            \"lessThan\": \"9f8f0d2099e3de1194e37dc933ae0c4206b09aaf\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b48c24c2d710cf34810c555dcef883a3d35a9c08\",\n                            \"lessThan\": \"192a3be0e3759daa24af2841208b074ca6dbaabc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b48c24c2d710cf34810c555dcef883a3d35a9c08\",\n                            \"lessThan\": \"424d51d33c7541a86934067c2c0538124687fc90\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b48c24c2d710cf34810c555dcef883a3d35a9c08\",\n                            \"lessThan\": \"abd27a977b419d584efa659488c22d2306987b29\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b48c24c2d710cf34810c555dcef883a3d35a9c08\",\n                            \"lessThan\": \"5ebb3ed757be3e04cf803026004aa0beaeb13e9b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/infiniband/hw/irdma/verbs.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.14\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.14\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.212\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.178\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.145\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.97\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.40\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.5\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74390","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-74390","identifiers":["CVE-2026-74390"]},"retained":false,"historicalAffected":[]}],"coverage":[]}