CVE-2026-74346 (GCVE-0-2026-74346)
Vulnerability from cvelistv5
Published
2026-08-15 05:58
Modified
2026-08-17 05:17
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: b48c24c2d710cf34810c555dcef883a3d35a9c08
Version: b48c24c2d710cf34810c555dcef883a3d35a9c08
Version: b48c24c2d710cf34810c555dcef883a3d35a9c08
Version: b48c24c2d710cf34810c555dcef883a3d35a9c08
Version: b48c24c2d710cf34810c555dcef883a3d35a9c08
Version: b48c24c2d710cf34810c555dcef883a3d35a9c08
Version: b48c24c2d710cf34810c555dcef883a3d35a9c08
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/irdma/verbs.c",
            "drivers/infiniband/hw/irdma/verbs.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a80b3b13786e9ab1c52b31a1f16c7d6708fa9220",
              "status": "affected",
              "version": "b48c24c2d710cf34810c555dcef883a3d35a9c08",
              "versionType": "git"
            },
            {
              "lessThan": "3159c6fac43dc24b34d31971884d98a7a1bf4c4b",
              "status": "affected",
              "version": "b48c24c2d710cf34810c555dcef883a3d35a9c08",
              "versionType": "git"
            },
            {
              "lessThan": "ad360a31092a870633ec255b96f50181628b4de0",
              "status": "affected",
              "version": "b48c24c2d710cf34810c555dcef883a3d35a9c08",
              "versionType": "git"
            },
            {
              "lessThan": "d566002de555b18cc395012c5c1cb8682fc6d2a9",
              "status": "affected",
              "version": "b48c24c2d710cf34810c555dcef883a3d35a9c08",
              "versionType": "git"
            },
            {
              "lessThan": "54cab78df0375196aaec4e3109191653d21751df",
              "status": "affected",
              "version": "b48c24c2d710cf34810c555dcef883a3d35a9c08",
              "versionType": "git"
            },
            {
              "lessThan": "d5aa82da8f65562da996d184686db9d0ea718b91",
              "status": "affected",
              "version": "b48c24c2d710cf34810c555dcef883a3d35a9c08",
              "versionType": "git"
            },
            {
              "lessThan": "4385ddd654d90245eeb83b3cb539670ab5c85ba4",
              "status": "affected",
              "version": "b48c24c2d710cf34810c555dcef883a3d35a9c08",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/irdma/verbs.c",
            "drivers/infiniband/hw/irdma/verbs.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.14"
            },
            {
              "lessThan": "5.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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-\u003esplit field which\nwas not being set properly and instead just checks the CQ resize\nfeature flag directly.\n\nThe cqmr-\u003esplit 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-\u003eshadow even for GEN_2\nHW and beyond:\n\n    cqmr-\u003eshadow = (dma_addr_t)arr[req-\u003ecq_pages];\n\nThe issue is that for GEN_2 and beyond, req-\u003ecq_pages may be exactly equal\nto iwmr-\u003epage_cnt and therefore equal to the size of arr, which would cause\nan OOB read by one."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:17:38.929Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a80b3b13786e9ab1c52b31a1f16c7d6708fa9220"
        },
        {
          "url": "https://git.kernel.org/stable/c/3159c6fac43dc24b34d31971884d98a7a1bf4c4b"
        },
        {
          "url": "https://git.kernel.org/stable/c/ad360a31092a870633ec255b96f50181628b4de0"
        },
        {
          "url": "https://git.kernel.org/stable/c/d566002de555b18cc395012c5c1cb8682fc6d2a9"
        },
        {
          "url": "https://git.kernel.org/stable/c/54cab78df0375196aaec4e3109191653d21751df"
        },
        {
          "url": "https://git.kernel.org/stable/c/d5aa82da8f65562da996d184686db9d0ea718b91"
        },
        {
          "url": "https://git.kernel.org/stable/c/4385ddd654d90245eeb83b3cb539670ab5c85ba4"
        }
      ],
      "title": "RDMA/irdma: Fix OOB read during CQ MR registration",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74346",
    "datePublished": "2026-08-15T05:58:34.606Z",
    "dateReserved": "2026-08-15T05:44:03.886Z",
    "dateUpdated": "2026-08-17T05:17:38.929Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…