CVE-2026-98217: IB/mlx4: Fix use-after-free on pkey sysfs registration failure
IB/mlx4: Fix use-after-free on pkey sysfs registration failure
IB/mlx4: Fix use-after-free on pkey sysfs registration failure
Registration of a per-slave pkey sysfs tree must fail. The driver then continues registering other slaves while retaining stale parent kobject pointers for the failed tree, and a later device cleanup can invoke kobject_put() on those stale pointers.
No. The existing behavior is best-effort: registration continues for remaining slaves even when one slave tree registration fails. The fix clears the failed tree's parent pointers so cleanup skips trees that were not successfully registered.
The described failure path involves the Linux kernel IB/mlx4 driver and pkey sysfs tree registration for slaves. The supplied data does not provide affected kernel version ranges or observable logs or indicators.