CVE-2026-74346

RDMA/irdma: Fix OOB read during CQ MR registration

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before a80b3b13786e9ab1c52b31a1f16c7d6708fa9220Affected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before 3159c6fac43dc24b34d31971884d98a7a1bf4c4bAffected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before ad360a31092a870633ec255b96f50181628b4de0Affected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before d566002de555b18cc395012c5c1cb8682fc6d2a9Affected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before 54cab78df0375196aaec4e3109191653d21751dfAffected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before d5aa82da8f65562da996d184686db9d0ea718b91Affected
  • b48c24c2d710cf34810c555dcef883a3d35a9c08 to before 4385ddd654d90245eeb83b3cb539670ab5c85ba4Affected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.