{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fe2caefcdf5869f308c102e3d64d40683bfad711"
            },
            {
              "fixed": "b610f33c5523fe26f6dd897667fff9c7a1de5905"
            },
            {
              "fixed": "443c991fbc954cc9363e963c09f404b9f281f3a2"
            },
            {
              "fixed": "27b6eb1f27fda9bdd5cae028e396758cdf525845"
            },
            {
              "fixed": "e01a957561f663d3b68d2fd233a4502e3367efcd"
            },
            {
              "fixed": "75fc130664ae324e7b2f9ad3630e0f175e9ca6c8"
            },
            {
              "fixed": "8832626a483439e207734e027afff322ccdf726e"
            },
            {
              "fixed": "ec44c00a4fe1327efa35083f98b39c01cb535a51"
            },
            {
              "fixed": "34fbf48cf3b410d2a6e8c586fa952a36331ca5ba"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.5.0"
            },
            {
              "fixed": "5.10.258"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.209"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.175"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.140"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.88"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.30"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46127.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()\n\nSashiko points out that pd-\u003euctx isn't initialized until late in the\nfunction so all these error flow references are NULL and will crash. Use\nthe uctx that isn't NULL.",
  "id": "CVE-2026-46127",
  "modified": "2026-07-08T05:38:10.483597199Z",
  "published": "2026-05-28T09:35:42.368Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/27b6eb1f27fda9bdd5cae028e396758cdf525845"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/34fbf48cf3b410d2a6e8c586fa952a36331ca5ba"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/443c991fbc954cc9363e963c09f404b9f281f3a2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/75fc130664ae324e7b2f9ad3630e0f175e9ca6c8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8832626a483439e207734e027afff322ccdf726e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b610f33c5523fe26f6dd897667fff9c7a1de5905"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e01a957561f663d3b68d2fd233a4502e3367efcd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ec44c00a4fe1327efa35083f98b39c01cb535a51"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46127.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46127"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()"
}