{"id":"CVE-2026-74390","aliases":["CVE-2026-74390"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/irdma: Fix out-of-bounds write in irdma_copy_user_pgaddrs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-15T05:59:04.479Z","modified":"2026-10-16T20:17:24.820Z","severity":{"scorer":"Linux","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"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,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"4780f58672ee6328accd54a95f9c00683477e499","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"79a20a8e201a779224b4bf115250a7713bde72c0","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"9f8f0d2099e3de1194e37dc933ae0c4206b09aaf","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"192a3be0e3759daa24af2841208b074ca6dbaabc","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"424d51d33c7541a86934067c2c0538124687fc90","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"abd27a977b419d584efa659488c22d2306987b29","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"5ebb3ed757be3e04cf803026004aa0beaeb13e9b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4780f58672ee6328accd54a95f9c00683477e499","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79a20a8e201a779224b4bf115250a7713bde72c0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f8f0d2099e3de1194e37dc933ae0c4206b09aaf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/192a3be0e3759daa24af2841208b074ca6dbaabc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/424d51d33c7541a86934067c2c0538124687fc90","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abd27a977b419d584efa659488c22d2306987b29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5ebb3ed757be3e04cf803026004aa0beaeb13e9b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:55:16.364Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74390","url":"https://www.cve.org/CVERecord?id=CVE-2026-74390","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:40.715Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74390","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74390","licence":"Public domain","modified":"2026-10-16T20:17:24.820Z"}],"updatedAt":"2026-11-25T22:59:33.193Z","epss":{"score":0.0013,"percentile":0.0281,"date":"2026-12-01T12:00:22.000Z"}}