IB/mlx4: Fix use-after-free on pkey sysfs registration failure (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.18 % · percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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/791471421d848ce13e84f4b21c9e19973d471c4e
- https://git.kernel.org/stable/c/734f066933484f6c7cedea0312763249beed5845
- https://git.kernel.org/stable/c/a07bee32127d7c4cd3b1bb9a088e21d0c93634c9
- https://git.kernel.org/stable/c/cf20d7476754c00eec04ae23d3e929de33ce0345
- https://git.kernel.org/stable/c/0c3482e965b18bc242e54e899d1c4d391ca8e5e3
- https://git.kernel.org/stable/c/ffb80872617b5f9b3dd1536ec2909029fa66f228
- https://git.kernel.org/stable/c/ced1186fea7c77e16681c7ef4802897885989c3b
- https://git.kernel.org/stable/c/1af874e9f4ce22ccf8b10ab5462f32c70d3be21a
European references
- ENISA EUVD · EUVD-2026-93145
- GCVE · GCVE-0-2026-98217
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected c1e7e466120b80ce49e91af0c9da1ce6dee4844a < 791471421d848ce13e84f4b21c9e19973d471c4e ; affected c1e7e466120b80ce49e91af0c9da1ce6dee4844a < 734f066933484f6c7cedea0312763249beed5845 ; affected c1e7e466120b80ce49e91af0c9da1ce6dee4844a < a07bee32127d7c4cd3b1bb9a088e21d0c93634c9 ; affected c1e7e466120b80ce49e91af0c9da1ce6dee4844a < cf20d7476754c00eec04ae23d3e929de33ce0345 ; affected c1e7e466120b80ce49e91af0c9da1ce6dee4844a < 0c3482e965b18bc242e54e899d1c4d391ca8e5e3 ; affected c1e7e466120b80ce49e91af0c9da1ce6dee4844a < ffb80872617b5f9b3dd1536ec2909029fa66f228 |
| Linux · Linux | affected 3.7 ; unaffected 0 < 3.7 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |