CVE-2026-98217 (GCVE-0-2026-98217)
Vulnerability from cvelistv5
Published
2026-10-06 08:44
Modified
2026-10-19 09:15
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: IB/mlx4: Fix use-after-free on pkey sysfs registration failure register_pkey_tree() ignores errors from register_one_pkey_tree() and continues registering the remaining slaves. The per-slave error path has already released the pkey parent kobjects, but their pointers remain stored in the device. A later device cleanup therefore passes the stale pointers to kobject_put(), causing a use-after-free. Clear the parent pointers after releasing a failed slave tree and skip unregistered trees during device cleanup. This preserves the existing best-effort registration behavior while preventing a second cleanup of the failed tree.
Impacted products
Vendor Product Version
Linux Linux Version: c1e7e466120b80ce49e91af0c9da1ce6dee4844a
Version: c1e7e466120b80ce49e91af0c9da1ce6dee4844a
Version: c1e7e466120b80ce49e91af0c9da1ce6dee4844a
Version: c1e7e466120b80ce49e91af0c9da1ce6dee4844a
Version: c1e7e466120b80ce49e91af0c9da1ce6dee4844a
Version: c1e7e466120b80ce49e91af0c9da1ce6dee4844a
Version: c1e7e466120b80ce49e91af0c9da1ce6dee4844a
Version: c1e7e466120b80ce49e91af0c9da1ce6dee4844a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/mlx4/sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "791471421d848ce13e84f4b21c9e19973d471c4e",
              "status": "affected",
              "version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
              "versionType": "git"
            },
            {
              "lessThan": "734f066933484f6c7cedea0312763249beed5845",
              "status": "affected",
              "version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
              "versionType": "git"
            },
            {
              "lessThan": "a07bee32127d7c4cd3b1bb9a088e21d0c93634c9",
              "status": "affected",
              "version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
              "versionType": "git"
            },
            {
              "lessThan": "cf20d7476754c00eec04ae23d3e929de33ce0345",
              "status": "affected",
              "version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
              "versionType": "git"
            },
            {
              "lessThan": "0c3482e965b18bc242e54e899d1c4d391ca8e5e3",
              "status": "affected",
              "version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
              "versionType": "git"
            },
            {
              "lessThan": "ffb80872617b5f9b3dd1536ec2909029fa66f228",
              "status": "affected",
              "version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
              "versionType": "git"
            },
            {
              "lessThan": "ced1186fea7c77e16681c7ef4802897885989c3b",
              "status": "affected",
              "version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
              "versionType": "git"
            },
            {
              "lessThan": "1af874e9f4ce22ccf8b10ab5462f32c70d3be21a",
              "status": "affected",
              "version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/mlx4/sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.7"
            },
            {
              "lessThan": "3.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.54",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.8",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:15:47.995Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/791471421d848ce13e84f4b21c9e19973d471c4e"
        },
        {
          "url": "https://git.kernel.org/stable/c/734f066933484f6c7cedea0312763249beed5845"
        },
        {
          "url": "https://git.kernel.org/stable/c/a07bee32127d7c4cd3b1bb9a088e21d0c93634c9"
        },
        {
          "url": "https://git.kernel.org/stable/c/cf20d7476754c00eec04ae23d3e929de33ce0345"
        },
        {
          "url": "https://git.kernel.org/stable/c/0c3482e965b18bc242e54e899d1c4d391ca8e5e3"
        },
        {
          "url": "https://git.kernel.org/stable/c/ffb80872617b5f9b3dd1536ec2909029fa66f228"
        },
        {
          "url": "https://git.kernel.org/stable/c/ced1186fea7c77e16681c7ef4802897885989c3b"
        },
        {
          "url": "https://git.kernel.org/stable/c/1af874e9f4ce22ccf8b10ab5462f32c70d3be21a"
        }
      ],
      "title": "IB/mlx4: Fix use-after-free on pkey sysfs registration failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98217",
    "datePublished": "2026-10-06T08:44:53.152Z",
    "dateReserved": "2026-09-25T10:25:14.326Z",
    "dateUpdated": "2026-10-19T09:15:47.995Z",
    "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…