{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-98217",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-98217"
  ],
  "published": "2026-10-06T08:47:10Z",
  "summary": "IB/mlx4: Fix use-after-free on pkey sysfs registration failure",
  "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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.189",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-98217"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/791471421d848ce13e84f4b21c9e19973d471c4e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/734f066933484f6c7cedea0312763249beed5845"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a07bee32127d7c4cd3b1bb9a088e21d0c93634c9"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/cf20d7476754c00eec04ae23d3e929de33ce0345"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0c3482e965b18bc242e54e899d1c4d391ca8e5e3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ffb80872617b5f9b3dd1536ec2909029fa66f228"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ced1186fea7c77e16681c7ef4802897885989c3b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1af874e9f4ce22ccf8b10ab5462f32c70d3be21a"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-06T08:47:10Z"
  }
}
