RDMA/irdma: Fix OOB read during CQ MR registration

Summary

CVECVE-2026-74346
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:22:35 UTC
Updated2026-08-15 06:22:35 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b48c24c2d710cf34810c555dcef883a3d35a9c08 a80b3b13786e9ab1c52b31a1f16c7d6708fa9220 git Not specified
CNA Linux Linux affected b48c24c2d710cf34810c555dcef883a3d35a9c08 3159c6fac43dc24b34d31971884d98a7a1bf4c4b git Not specified
CNA Linux Linux affected b48c24c2d710cf34810c555dcef883a3d35a9c08 ad360a31092a870633ec255b96f50181628b4de0 git Not specified
CNA Linux Linux affected b48c24c2d710cf34810c555dcef883a3d35a9c08 d566002de555b18cc395012c5c1cb8682fc6d2a9 git Not specified
CNA Linux Linux affected b48c24c2d710cf34810c555dcef883a3d35a9c08 54cab78df0375196aaec4e3109191653d21751df git Not specified
CNA Linux Linux affected b48c24c2d710cf34810c555dcef883a3d35a9c08 d5aa82da8f65562da996d184686db9d0ea718b91 git Not specified
CNA Linux Linux affected b48c24c2d710cf34810c555dcef883a3d35a9c08 4385ddd654d90245eeb83b3cb539670ab5c85ba4 git Not specified
CNA Linux Linux affected 5.14 Not specified
CNA Linux Linux unaffected 5.14 semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/a80b3b13786e9ab1c52b31a1f16c7d6708fa9220 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d5aa82da8f65562da996d184686db9d0ea718b91 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d566002de555b18cc395012c5c1cb8682fc6d2a9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3159c6fac43dc24b34d31971884d98a7a1bf4c4b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/54cab78df0375196aaec4e3109191653d21751df 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4385ddd654d90245eeb83b3cb539670ab5c85ba4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ad360a31092a870633ec255b96f50181628b4de0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report