CVE-2026-98217
UNKNOWN
NVD
CVSS Score
0
Severity
UNKNOWN
Published
Oct 06, 2026
Vendor
unknown
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.
References
- https://git.kernel.org/stable/c/0c3482e965b18bc242e54e899d1c4d391ca8e5e3
- https://git.kernel.org/stable/c/1af874e9f4ce22ccf8b10ab5462f32c70d3be21a
- https://git.kernel.org/stable/c/734f066933484f6c7cedea0312763249beed5845
- https://git.kernel.org/stable/c/791471421d848ce13e84f4b21c9e19973d471c4e
- https://git.kernel.org/stable/c/a07bee32127d7c4cd3b1bb9a088e21d0c93634c9