{"id":"CVE-2026-74390","state":"PUBLISHED","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.","publishedAt":"2026-08-15T05:59:04.479Z","updatedAt":"2026-10-16T19:05:40.715Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"4780f58672ee6328accd54a95f9c00683477e499","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"79a20a8e201a779224b4bf115250a7713bde72c0","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"9f8f0d2099e3de1194e37dc933ae0c4206b09aaf","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"192a3be0e3759daa24af2841208b074ca6dbaabc","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"424d51d33c7541a86934067c2c0538124687fc90","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"abd27a977b419d584efa659488c22d2306987b29","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"5ebb3ed757be3e04cf803026004aa0beaeb13e9b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/verbs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.14","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/verbs.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74390.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74390","state":"PUBLISHED","datePublished":"2026-08-15T05:59:04.479Z","dateUpdated":"2026-10-16T19:05:40.715Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-15T05:44:03.891Z"},"containers":{"cna":{"title":"RDMA/irdma: Fix out-of-bounds write in irdma_copy_user_pgaddrs","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"4780f58672ee6328accd54a95f9c00683477e499","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"79a20a8e201a779224b4bf115250a7713bde72c0","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"9f8f0d2099e3de1194e37dc933ae0c4206b09aaf","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"192a3be0e3759daa24af2841208b074ca6dbaabc","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"424d51d33c7541a86934067c2c0538124687fc90","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"abd27a977b419d584efa659488c22d2306987b29","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"5ebb3ed757be3e04cf803026004aa0beaeb13e9b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/verbs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.14","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/verbs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4780f58672ee6328accd54a95f9c00683477e499"},{"url":"https://git.kernel.org/stable/c/79a20a8e201a779224b4bf115250a7713bde72c0"},{"url":"https://git.kernel.org/stable/c/9f8f0d2099e3de1194e37dc933ae0c4206b09aaf"},{"url":"https://git.kernel.org/stable/c/192a3be0e3759daa24af2841208b074ca6dbaabc"},{"url":"https://git.kernel.org/stable/c/424d51d33c7541a86934067c2c0538124687fc90"},{"url":"https://git.kernel.org/stable/c/abd27a977b419d584efa659488c22d2306987b29"},{"url":"https://git.kernel.org/stable/c/5ebb3ed757be3e04cf803026004aa0beaeb13e9b"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires a local ioctl on /dev/infiniband/uverbs to register CQ/QP/SRQ memory via irdma_reg_user_mr; the bug is not reachable from remote iWARP/RoCE packet handling.\nAC:L - An attacker fully controls reg_type, cq_pages/sq_pages/rq_pages, and umem size; triggering lvl==0 with many DMA blocks is deterministic and needs no races or special memory layout.\nPR:L - Any unprivileged local user who can open the uverbs device (mode 0666) and use the RDMA NIC—typical on cloud/HPC RDMA nodes—can invoke the vulnerable MR registration path without real root.\nUI:N - No victim interaction is required; the attacker triggers the overflow directly through their own RDMA verbs memory registration calls.\nS:U - Impact is kernel heap corruption and privilege escalation within the host kernel security boundary, not a cross-VM or cross-IOMMU sandbox escape.\nC:H - The out-of-bounds write of attacker-influenced DMA addresses into adjacent irdma_mr/iwpbl heap metadata can be leveraged for arbitrary kernel memory read primitives, not merely a bounded leak.\nI:H - Controlled out-of-bounds u64 writes past pgaddrmem[4] corrupt adjacent kernel heap structures and are suitable for control-flow or arbitrary kernel write exploitation.\nA:H - Heap corruption in a kzalloc'd irdma_mr can cause immediate kernel oops/panic during registration or on subsequent use of corrupted queue memory metadata."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:46:38.735Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-74390","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:55:16.364309Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T19:05:40.715Z"}}]}}}