{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8498a30e1b9484629598cce97d200f517445e26b"
            },
            {
              "fixed": "e5388f15d595dd4d7599a43e9cb58c0656a6aec6"
            },
            {
              "fixed": "47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6"
            },
            {
              "fixed": "8a8088b899e4cdfe558428cd6113d45df81625be"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.14.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99522.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: avoid use-after-free in icrdma_remove\n\nicrdma_remove() dereferences iwdev after calling\nirdma_ib_unregister_device():\n\n  irdma_ib_unregister_device(iwdev)\n    -\u003e ib_unregister_device(\u0026iwdev-\u003eibdev)\n      -\u003e __ib_unregister_device()\n        -\u003e ib_dealloc_device()\n\nirdma registers irdma_ib_dealloc_device() as the dealloc_driver\ncallback in its ib_device_ops. The RDMA core explicitly documents\nib_unregister_device() that when ops.dealloc_driver is used, ib_dev\nwill be freed upon return from the function.\n\nThe ib_device is embedded in struct irdma_device and iwdev itself was\nallocated by ib_alloc_device(irdma_device, ibdev). Consequently, once\nirdma_ib_unregister_device() returns, iwdev must no longer be\ndereferenced.\n\nHowever, icrdma_remove() currently accesses iwdev-\u003erf afterwards when\ndeinitializing interrupts, destroying ah_tbl_lock, and freeing rf.\nAlthough the final ib_device storage is released with kfree_rcu(), the\nobject lifetime has already ended and callers must not rely on the RCU\ngrace period to continue dereferencing iwdev.\n\nSave iwdev-\u003erf before unregistering the RDMA device and use the saved\npointer for the remaining cleanup.\n\nThis issue was found by manual code inspection.",
  "id": "CVE-2026-99522",
  "modified": "2026-11-19T16:45:19.432290363Z",
  "published": "2026-11-19T14:44:33.890Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8a8088b899e4cdfe558428cd6113d45df81625be"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e5388f15d595dd4d7599a43e9cb58c0656a6aec6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99522.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99522"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "RDMA/irdma: avoid use-after-free in icrdma_remove"
}