{"id":"CVE-2026-74346","aliases":["CVE-2026-74346"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/irdma: Fix OOB read during CQ MR registration","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Fix OOB read during CQ MR registration\n\nSashiko pointed out an unrelated bug during a previous patch:\nhttps://sashiko.dev/#/patchset/20260512183852.614045-1-jmoroni%40google.com\n\nThis change fixes the bug by eliminating the cqmr->split field which\nwas not being set properly and instead just checks the CQ resize\nfeature flag directly.\n\nThe cqmr->split field essentially tracks whether IRDMA_FEATURE_CQ_RESIZE\nis set, but it was not being set until CQ creation time, which is _after_\nCQ memory registration (the only other place where it is referenced).\n\nAs a result, it would always be false during MR registration and would\ntherefore cause irdma_handle_q_mem to populate cqmr->shadow even for GEN_2\nHW and beyond:\n\n    cqmr->shadow = (dma_addr_t)arr[req->cq_pages];\n\nThe issue is that for GEN_2 and beyond, req->cq_pages may be exactly equal\nto iwmr->page_cnt and therefore equal to the size of arr, which would cause\nan OOB read by one.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Fix OOB read during CQ MR registration\n\nSashiko pointed out an unrelated bug during a previous patch:\nhttps://sashiko.dev/#/patchset/20260512183852.614045-1-jmoroni%40google.com\n\nThis change fixes the bug by eliminating the cqmr->split field which\nwas not being set properly and instead just checks the CQ resize\nfeature flag directly.\n\nThe cqmr->split field essentially tracks whether IRDMA_FEATURE_CQ_RESIZE\nis set, but it was not being set until CQ creation time, which is _after_\nCQ memory registration (the only other place where it is referenced).\n\nAs a result, it would always be false during MR registration and would\ntherefore cause irdma_handle_q_mem to populate cqmr->shadow even for GEN_2\nHW and beyond:\n\n    cqmr->shadow = (dma_addr_t)arr[req->cq_pages];\n\nThe issue is that for GEN_2 and beyond, req->cq_pages may be exactly equal\nto iwmr->page_cnt and therefore equal to the size of arr, which would cause\nan OOB read by one.","source":"cvelist"}],"published":"2026-08-15T05:58:34.606Z","modified":"2026-11-06T17:19:46.647Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"a80b3b13786e9ab1c52b31a1f16c7d6708fa9220","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"3159c6fac43dc24b34d31971884d98a7a1bf4c4b","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"ad360a31092a870633ec255b96f50181628b4de0","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"d566002de555b18cc395012c5c1cb8682fc6d2a9","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"54cab78df0375196aaec4e3109191653d21751df","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"d5aa82da8f65562da996d184686db9d0ea718b91","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"4385ddd654d90245eeb83b3cb539670ab5c85ba4","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/a80b3b13786e9ab1c52b31a1f16c7d6708fa9220","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3159c6fac43dc24b34d31971884d98a7a1bf4c4b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad360a31092a870633ec255b96f50181628b4de0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d566002de555b18cc395012c5c1cb8682fc6d2a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/54cab78df0375196aaec4e3109191653d21751df","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d5aa82da8f65562da996d184686db9d0ea718b91","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4385ddd654d90245eeb83b3cb539670ab5c85ba4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:56:22.704Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74346","url":"https://www.cve.org/CVERecord?id=CVE-2026-74346","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:44.518Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74346","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74346","licence":"Public domain","modified":"2026-11-06T17:19:46.647Z"}],"updatedAt":"2026-11-25T22:59:33.177Z","epss":{"score":0.00173,"percentile":0.07074,"date":"2026-12-01T12:00:22.000Z"}}