# CVE-2026-74346: RDMA/irdma: Fix OOB read during CQ MR registration

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-15T05:58:34.606Z
- Modified: 2026-11-06T17:19:46.647Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/irdma: Fix OOB read during CQ MR registration

Sashiko pointed out an unrelated bug during a previous patch:
https://sashiko.dev/#/patchset/20260512183852.614045-1-jmoroni%40google.com

This change fixes the bug by eliminating the cqmr->split field which
was not being set properly and instead just checks the CQ resize
feature flag directly.

The cqmr->split field essentially tracks whether IRDMA_FEATURE_CQ_RESIZE
is set, but it was not being set until CQ creation time, which is _after_
CQ memory registration (the only other place where it is referenced).

As a result, it would always be false during MR registration and would
therefore cause irdma_handle_q_mem to populate cqmr->shadow even for GEN_2
HW and beyond:

    cqmr->shadow = (dma_addr_t)arr[req->cq_pages];

The issue is that for GEN_2 and beyond, req->cq_pages may be exactly equal
to iwmr->page_cnt and therefore equal to the size of arr, which would cause
an OOB read by one.

(As written by CVE List.)

## Affected

- Linux Linux: from b48c24c2d710cf34810c555dcef883a3d35a9c08 before a80b3b13786e9ab1c52b31a1f16c7d6708fa9220; from b48c24c2d710cf34810c555dcef883a3d35a9c08 before 3159c6fac43dc24b34d31971884d98a7a1bf4c4b; from b48c24c2d710cf34810c555dcef883a3d35a9c08 before ad360a31092a870633ec255b96f50181628b4de0; from b48c24c2d710cf34810c555dcef883a3d35a9c08 before d566002de555b18cc395012c5c1cb8682fc6d2a9; from b48c24c2d710cf34810c555dcef883a3d35a9c08 before 54cab78df0375196aaec4e3109191653d21751df; from b48c24c2d710cf34810c555dcef883a3d35a9c08 before d5aa82da8f65562da996d184686db9d0ea718b91; from b48c24c2d710cf34810c555dcef883a3d35a9c08 before 4385ddd654d90245eeb83b3cb539670ab5c85ba4; 5.14 (not affected: before 5.14; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/a80b3b13786e9ab1c52b31a1f16c7d6708fa9220>
- <https://git.kernel.org/stable/c/3159c6fac43dc24b34d31971884d98a7a1bf4c4b>
- <https://git.kernel.org/stable/c/ad360a31092a870633ec255b96f50181628b4de0>
- <https://git.kernel.org/stable/c/d566002de555b18cc395012c5c1cb8682fc6d2a9>
- <https://git.kernel.org/stable/c/54cab78df0375196aaec4e3109191653d21751df>
- <https://git.kernel.org/stable/c/d5aa82da8f65562da996d184686db9d0ea718b91>
- <https://git.kernel.org/stable/c/4385ddd654d90245eeb83b3cb539670ab5c85ba4>

## Sources

- CVE List: [CVE-2026-74346](https://www.cve.org/CVERecord?id=CVE-2026-74346), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-74346](https://nvd.nist.gov/vuln/detail/CVE-2026-74346), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-74346 · Whole record: https://cve.day/CVE-2026-74346.json · Rebuilt by cve.day 2026-11-25T22:59:33.177Z
