{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a"
            },
            {
              "fixed": "791471421d848ce13e84f4b21c9e19973d471c4e"
            },
            {
              "fixed": "734f066933484f6c7cedea0312763249beed5845"
            },
            {
              "fixed": "a07bee32127d7c4cd3b1bb9a088e21d0c93634c9"
            },
            {
              "fixed": "cf20d7476754c00eec04ae23d3e929de33ce0345"
            },
            {
              "fixed": "0c3482e965b18bc242e54e899d1c4d391ca8e5e3"
            },
            {
              "fixed": "ffb80872617b5f9b3dd1536ec2909029fa66f228"
            },
            {
              "fixed": "ced1186fea7c77e16681c7ef4802897885989c3b"
            },
            {
              "fixed": "1af874e9f4ce22ccf8b10ab5462f32c70d3be21a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.7.0"
            },
            {
              "fixed": "5.10.271"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.222"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.189"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.158"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.112"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.54"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98217.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nIB/mlx4: Fix use-after-free on pkey sysfs registration failure\n\nregister_pkey_tree() ignores errors from register_one_pkey_tree() and\ncontinues registering the remaining slaves. The per-slave error path has\nalready released the pkey parent kobjects, but their pointers remain\nstored in the device. A later device cleanup therefore passes the stale\npointers to kobject_put(), causing a use-after-free.\n\nClear the parent pointers after releasing a failed slave tree and skip\nunregistered trees during device cleanup. This preserves the existing\nbest-effort registration behavior while preventing a second cleanup of\nthe failed tree.",
  "id": "CVE-2026-98217",
  "modified": "2026-10-07T02:30:51.564161202Z",
  "published": "2026-10-06T08:44:53.152Z",
  "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/0c3482e965b18bc242e54e899d1c4d391ca8e5e3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1af874e9f4ce22ccf8b10ab5462f32c70d3be21a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/734f066933484f6c7cedea0312763249beed5845"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/791471421d848ce13e84f4b21c9e19973d471c4e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a07bee32127d7c4cd3b1bb9a088e21d0c93634c9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ced1186fea7c77e16681c7ef4802897885989c3b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cf20d7476754c00eec04ae23d3e929de33ce0345"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ffb80872617b5f9b3dd1536ec2909029fa66f228"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98217.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98217"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "IB/mlx4: Fix use-after-free on pkey sysfs registration failure"
}