0.0
NA
CVE-2026-98217
IB/mlx4: Fix use-after-free on pkey sysfs registration failure
Description

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.

INFO

Published Date :

Oct. 6, 2026, 9:18 a.m.

Last Modified :

Oct. 19, 2026, 10:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-98217 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Clear parent pointers on slave tree registration failure and skip unregistered trees.
  • Clear parent pointers after releasing a failed slave tree.
  • Skip unregistered trees during device cleanup.
  • Apply the Linux kernel patch for IB/mlx4.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-98217 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-98217 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-98217 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-98217 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 19, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98217.json">CVE-2026-98217</a>
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 06, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98217.json">CVE-2026-98217</a>
    Added Reference https://git.kernel.org/stable/c/0c3482e965b18bc242e54e899d1c4d391ca8e5e3
    Added Reference https://git.kernel.org/stable/c/1af874e9f4ce22ccf8b10ab5462f32c70d3be21a
    Added Reference https://git.kernel.org/stable/c/734f066933484f6c7cedea0312763249beed5845
    Added Reference https://git.kernel.org/stable/c/791471421d848ce13e84f4b21c9e19973d471c4e
    Added Reference https://git.kernel.org/stable/c/a07bee32127d7c4cd3b1bb9a088e21d0c93634c9
    Added Reference https://git.kernel.org/stable/c/ced1186fea7c77e16681c7ef4802897885989c3b
    Added Reference https://git.kernel.org/stable/c/cf20d7476754c00eec04ae23d3e929de33ce0345
    Added Reference https://git.kernel.org/stable/c/ffb80872617b5f9b3dd1536ec2909029fa66f228
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.