CVE-2026-68419 (GCVE-0-2026-68419)
Vulnerability from cvelistv5
Published
2026-08-10 12:04
Modified
2026-08-17 05:05
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Prevent rereg_mr for non-mem regions When a QP/CQ/SRQ is created, a two step process is used where the buffer is allocated in userspace and explicitly registered with the normal reg_mr mechanism prior to creating the actual QP/CQ/SRQ object. These special registrations are indicated via an ABI field so the driver knows that they do not have a valid mkey and to skip the actual CQP command submission. Since these are real MR objects from the core's perspective, it is possible for a user application to invoke rereg_mr on them and cause a real CQP op to be emitted with the zero-initialized mkey value of 0. Fix this by preventing rereg_mr on these special regions.
Impacted products
Vendor Product Version
Linux Linux Version: 715fdb3b30541cc8180b7cdc6aa9f8c307afdf25
Version: 5ac388db27c443dadfbb0b8b23fa7ccf429d901a
Version: 5ac388db27c443dadfbb0b8b23fa7ccf429d901a
Version: 5ac388db27c443dadfbb0b8b23fa7ccf429d901a
Version: 5ac388db27c443dadfbb0b8b23fa7ccf429d901a
Version: 6.6.120   
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"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "fb46d134e1b8690bed2da9005b36d32d2efd34ac",
              "status": "affected",
              "version": "715fdb3b30541cc8180b7cdc6aa9f8c307afdf25",
              "versionType": "git"
            },
            {
              "lessThan": "b5029e91c63406e4f4c8d58161048b41b6f0bd8c",
              "status": "affected",
              "version": "5ac388db27c443dadfbb0b8b23fa7ccf429d901a",
              "versionType": "git"
            },
            {
              "lessThan": "ca1c29f05274b737dc964e28b97803750d7cf7ec",
              "status": "affected",
              "version": "5ac388db27c443dadfbb0b8b23fa7ccf429d901a",
              "versionType": "git"
            },
            {
              "lessThan": "dbaa37e060918c45517786e37ecab0f300b48fa9",
              "status": "affected",
              "version": "5ac388db27c443dadfbb0b8b23fa7ccf429d901a",
              "versionType": "git"
            },
            {
              "lessThan": "a846aecb931b4d65d5eafa92a0623545af46d4f2",
              "status": "affected",
              "version": "5ac388db27c443dadfbb0b8b23fa7ccf429d901a",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.148",
              "status": "affected",
              "version": "6.6.120",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/irdma/verbs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.148",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.101",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "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": "6.6.148",
                  "versionStartIncluding": "6.6.120",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.101",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.42",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Prevent rereg_mr for non-mem regions\n\nWhen a QP/CQ/SRQ is created, a two step process is used\nwhere the buffer is allocated in userspace and explicitly\nregistered with the normal reg_mr mechanism prior to creating\nthe actual QP/CQ/SRQ object.\n\nThese special registrations are indicated via an ABI field\nso the driver knows that they do not have a valid mkey and\nto skip the actual CQP command submission.\n\nSince these are real MR objects from the core\u0027s perspective,\nit is possible for a user application to invoke rereg_mr on them\nand cause a real CQP op to be emitted with the zero-initialized\nmkey value of 0.\n\nFix this by preventing rereg_mr on these special regions."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is reached through the ib_uverbs REREG_MR command on /dev/infiniband/uverbs*, a local character device; no network input reaches irdma_rereg_user_mr(). The resulting corrupt hardware STAG can later be abused over RDMA, but initial access is local.\nAC:L - The attacker fully controls every precondition: register a buffer with reg_type IRDMA_MEMREG_TYPE_QP/CQ/SRQ, then call rereg_mr on that handle. There is no race, no timing dependency and no reliance on memory layout the attacker cannot influence.\nPR:L - Only an open file descriptor on /dev/infiniband/uverbsN is needed; rdma-core udev rules ship these nodes world-accessible (0666) and they are routinely exposed to containers. ib_uverbs_rereg_mr() performs no capability check, only uobject ownership of the caller\u0027s own MR.\nUI:N - The attacker performs the entire sequence (reg_mr with a non-MEM reg_type, then rereg_mr) from its own process. No action by any other user or administrator is required.\nS:U - The corruption stays within the kernel/RDMA-device security authority managed by the same OS instance; there is no VM, IOMMU or hypervisor boundary crossed by the erroneous CQP command.\nC:H - Programming HW STAG index 0 with attacker-chosen remote-read rights, combined with dereg_mr never invalidating it, leaves a live hardware mapping over PBLEs and umem pages that are freed and reused, giving RDMA-read access to recycled kernel/other-process memory; it can also collide with another process\u0027s MR at stag index 0.\nI:H - The same stale/hijacked STAG can carry IB_ACCESS_REMOTE_WRITE, and the IB_MR_REREG_TRANS path frees the PBLEs and releases the umem of a live QP/CQ/SRQ while hardware keeps DMAing into those pages, yielding device-driven writes into freed and reallocated kernel memory.\nA:H - Issuing a CQP op with a zero mkey corrupts device state and can fail the CQP op, triggering the driver\u0027s reset path; the DMA-after-free into recycled pages and the clobbering of another region\u0027s STAG readily produce kernel memory corruption, oops or full RDMA device reset."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:05:14.336Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/fb46d134e1b8690bed2da9005b36d32d2efd34ac"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5029e91c63406e4f4c8d58161048b41b6f0bd8c"
        },
        {
          "url": "https://git.kernel.org/stable/c/ca1c29f05274b737dc964e28b97803750d7cf7ec"
        },
        {
          "url": "https://git.kernel.org/stable/c/dbaa37e060918c45517786e37ecab0f300b48fa9"
        },
        {
          "url": "https://git.kernel.org/stable/c/a846aecb931b4d65d5eafa92a0623545af46d4f2"
        }
      ],
      "title": "RDMA/irdma: Prevent rereg_mr for non-mem regions",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68419",
    "datePublished": "2026-08-10T12:04:39.912Z",
    "dateReserved": "2026-07-30T09:28:09.391Z",
    "dateUpdated": "2026-08-17T05:05:14.336Z",
    "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…