Use-after-free in Linux kernel - CVE-2026-98217
Published: October 7, 2026
Vulnerability details
The vulnerability allows a local user to trigger a use-after-free during device cleanup.
The vulnerability exists due to use-after-free in the mlx4 InfiniBand driver's pkey sysfs cleanup when cleaning up a device after a per-slave pkey sysfs registration failure. A local user can trigger cleanup of a failed slave tree with stale parent kobject pointers to trigger a use-after-free.
Registration continues for the remaining slaves despite per-slave registration errors.
Affected software
Debian Linux
Ubuntu
linux (Ubuntu package)
linux-kvm (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oracle (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-gke (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux-lowlatency-hwe-5.15 (Ubuntu package)
linux-hwe-5.15 (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-ibm-5.15 (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-intel-iotg (Ubuntu package)
linux-nvidia-tegra-igx (Ubuntu package)
linux-realtime (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-azure-fde-5.15 (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-ibm (Ubuntu package)
linux-intel-iotg-5.15 (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-nvidia-tegra-5.15 (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux (Debian package)
linux-azure-fde (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-lowlatency-hwe-6.8 (Ubuntu package)
linux-azure-fde-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-oracle-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-nvidia-6.8 (Ubuntu package)
linux-vmware (Ubuntu package)
linux-ibm-6.8 (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)
linux-6.12 (Debian package)
linux-hwe-7.0 (Ubuntu package)
linux-oracle-7.0 (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-azure-fde-7.0 (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux-aws-7.0 (Ubuntu package)
How to mitigate CVE-2026-98217
linux (Ubuntu package) - addressed in versions 5.15.0-202.212, 6.8.0-149.149, 7.0.0-42.42
linux-kvm (Ubuntu package) - update to 5.15.0-1111.116
linux-gcp (Ubuntu package) - addressed in versions 5.15.0-1120.130, 6.8.0-1073.81, 7.0.0-1016.18
linux-aws (Ubuntu package) - addressed in versions 5.15.0-1119.126, 6.8.0-1069.74, 7.0.0-1016.17
linux-azure (Ubuntu package) - addressed in versions 5.15.0-1125.134, 6.8.0-1073.82, 7.0.0-1020.21
linux-raspi (Ubuntu package) - addressed in versions 5.15.0-1113.116, 6.8.0-1068.72, 7.0.0-1023.23
linux-oracle (Ubuntu package) - addressed in versions 5.15.0-1116.122, 6.8.0-1067.71, 7.0.0-1015.16
linux-lowlatency (Ubuntu package) - addressed in versions 5.15.0-197.207, 6.8.0-149.149.1
linux-gke (Ubuntu package) - addressed in versions 5.15.0-1115.121, 6.8.0-1068.77, 7.0.0-1010.11
linux-aws-5.15 (Ubuntu package) - update to 5.15.0-1119.126~20.04.1
linux-lowlatency-hwe-5.15 (Ubuntu package) - update to 5.15.0-197.207~20.04.1
linux-hwe-5.15 (Ubuntu package) - update to 5.15.0-202.212~20.04.1
linux-fips (Ubuntu package) - addressed in versions 5.15.0-202.212+fips1, 6.8.0-151.151+fips1
linux-azure-5.15 (Ubuntu package) - update to 5.15.0-1125.134~20.04.1
linux-ibm-5.15 (Ubuntu package) - update to 5.15.0-1113.117~20.04.1
linux-gkeop (Ubuntu package) - addressed in versions 5.15.0-1102.110, 6.8.0-1053.57
linux-intel-iotg (Ubuntu package) - update to 5.15.0-1114.120
linux-nvidia-tegra-igx (Ubuntu package) - update to 5.15.0-1059.59
linux-realtime (Ubuntu package) - addressed in versions 5.15.0-1118.127, 6.8.1-1064.65, 7.0.0-43.43.1
linux-nvidia (Ubuntu package) - addressed in versions 5.15.0-1114.115, 6.8.0-1067.70
linux-azure-fde-5.15 (Ubuntu package) - update to 5.15.0-1124.133~20.04.1
linux-nvidia-tegra (Ubuntu package) - addressed in versions 5.15.0-1070.72, 6.8.0-1039.40
linux-ibm (Ubuntu package) - addressed in versions 5.15.0-1113.117, 6.8.0-1069.70, 7.0.0-1017.17
linux-intel-iotg-5.15 (Ubuntu package) - update to 5.15.0-1114.120~20.04.1
linux-oracle-5.15 (Ubuntu package) - update to 5.15.0-1116.122~20.04.1
linux-gcp-5.15 (Ubuntu package) - update to 5.15.0-1120.130~20.04.1
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1070.72~20.04.1
linux-intel-iot-realtime (Ubuntu package) - update to 5.15.0-1111.115
linux-gcp-fips (Ubuntu package) - addressed in versions 5.15.0-1120.130+fips1, 6.8.0-1073.81+fips1
linux-aws-fips (Ubuntu package) - addressed in versions 5.15.0-1119.126+fips1, 6.8.0-1069.74+fips1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0-1125.134+fips1, 6.8.0-1073.82+fips1
linux (Debian package) - addressed in versions 6.1.190-1, 6.12.113-1
linux-azure-fde (Ubuntu package) - addressed in versions 6.8.0-1071.78, 7.0.0-1019.19
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-149.149~22.04.1
linux-lowlatency-hwe-6.8 (Ubuntu package) - update to 6.8.0-149.149.1~22.04.1
linux-azure-fde-6.8 (Ubuntu package) - update to 6.8.0-1071.78~22.04.1
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1069.74~22.04.1
linux-oracle-6.8 (Ubuntu package) - update to 6.8.0-1067.71~22.04.1
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1073.82~22.04.1
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1067.70.1
linux-nvidia-6.8 (Ubuntu package) - update to 6.8.0-1068.71~22.04.1
linux-vmware (Ubuntu package) - update to 6.8.0-1010.10
linux-ibm-6.8 (Ubuntu package) - update to 6.8.0-1069.70~22.04.1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1073.81~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2056.58
linux-realtime-6.8 (Ubuntu package) - update to 6.8.1-1064.65~22.04.1
linux-6.12 (Debian package) - update to 6.12.113-1~deb12u1
linux-hwe-7.0 (Ubuntu package) - update to 7.0.0-42.42~24.04.1
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1016.18~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1017.19~24.04.1
linux-azure-fde-7.0 (Ubuntu package) - update to 7.0.0-1019.19~24.04.1
linux-azure-7.0 (Ubuntu package) - update to 7.0.0-1020.21~24.04.2
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1017.17
linux-aws-7.0 (Ubuntu package) - update to 7.0.0-1017.18~24.04.1
External 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
- https://git.kernel.org/stable/c/ced1186fea7c77e16681c7ef4802897885989c3b
- https://git.kernel.org/stable/c/cf20d7476754c00eec04ae23d3e929de33ce0345
- https://git.kernel.org/stable/c/ffb80872617b5f9b3dd1536ec2909029fa66f228
Related Security Bulletins
- Use-after-free in Linux kernel hw mlx4 driver
- Debian update for linux
- Ubuntu update for linux-oem-7.0
- Ubuntu update for linux, linux-aws, linux-gcp and more
- Ubuntu update for linux-nvidia-tegra, linux-nvidia-tegra-5.15, linux-nvidia-tegra-igx
- Ubuntu update for linux, linux-aws, linux-aws-5.15 and more
- Ubuntu update for linux-azure
- Ubuntu update for linux-aws-7.0, linux-azure-fde, linux-azure-fde-7.0 and more
- Ubuntu update for linux-aws-fips, linux-gcp-fips, linux-gkeop and more
- Ubuntu update for linux-raspi
- Ubuntu update for linux-azure-6.8, linux-azure-fde-6.8
- Ubuntu update for linux-oracle-6.8, linux-raspi, linux-raspi-realtime
- Ubuntu update for linux-aws-6.8, linux-gcp-6.8, linux-ibm-6.8 and more
- Ubuntu update for linux, linux-aws, linux-azure and more
- Ubuntu update for linux-raspi
- Ubuntu update for linux-azure-fde
- Ubuntu update for linux-nvidia-lowlatency
- Ubuntu update for linux-hwe-6.8
- Ubuntu update for linux-nvidia-tegra
- Ubuntu update for linux-azure-7.0
- Ubuntu update for linux-fips
- Ubuntu update for linux-nvidia-6.8
- Debian update for linux
- Debian update for linux-6.12