CVE-2026-98217

IB/mlx4: Fix use-after-free on pkey sysfs registration failure

No CVSS score yet EPSS 0.22%

Published 6 Oct 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98217

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98217 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.37% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c1e7e466120b80ce49e91af0c9da1ce6dee4844a, before 791471421d848ce13e84f4b21c9e19973d471c4e
affected from c1e7e466120b80ce49e91af0c9da1ce6dee4844a, before 734f066933484f6c7cedea0312763249beed5845
affected from c1e7e466120b80ce49e91af0c9da1ce6dee4844a, before a07bee32127d7c4cd3b1bb9a088e21d0c93634c9
affected from c1e7e466120b80ce49e91af0c9da1ce6dee4844a, before cf20d7476754c00eec04ae23d3e929de33ce0345
affected from c1e7e466120b80ce49e91af0c9da1ce6dee4844a, before 0c3482e965b18bc242e54e899d1c4d391ca8e5e3
affected from c1e7e466120b80ce49e91af0c9da1ce6dee4844a, before ffb80872617b5f9b3dd1536ec2909029fa66f228
affected from c1e7e466120b80ce49e91af0c9da1ce6dee4844a, before ced1186fea7c77e16681c7ef4802897885989c3b
affected from c1e7e466120b80ce49e91af0c9da1ce6dee4844a, before 1af874e9f4ce22ccf8b10ab5462f32c70d3be21a
Other versions: unaffected
Linux
affected 3.7
unaffected before 3.7
unaffected from 5.10.271 up to and including 5.10.*
unaffected from 5.15.222 up to and including 5.15.*
unaffected from 6.1.189 up to and including 6.1.*
unaffected from 6.6.158 up to and including 6.6.*
unaffected from 6.12.112 up to and including 6.12.*
unaffected from 6.18.54 up to and including 6.18.*
unaffected from 7.2.8 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98217 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98217

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98217
trivy image --scanners vuln IMAGE | grep CVE-2026-98217

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98217 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.