Use-after-free in Linux kernel - CVE-2026-98370
Published: October 6, 2026
Vulnerability details
The vulnerability allows a local user to trigger a use-after-free in the kernel.
The vulnerability exists due to use-after-free in xfrm_alloc_userspi() and xfrm_user_rcv_msg() when processing compat ALLOCSPI requests. A local user can submit a compat ALLOCSPI request that causes a translated child buffer to be attached to the inbound request to trigger a use-after-free in the kernel.
Exploitation depends on a multicast clone sharing skb_shared_info with the request and a compat receiver still copying from the translated child when the request handler frees it.
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-98370
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/17893987e52918c23945c42e47e894a936305a25
- https://git.kernel.org/stable/c/248433942155b42a0ef04a5806c8aca024ea7c33
- https://git.kernel.org/stable/c/2b63341e2ebc9b6f73cbd9214dbe7d46dd98c718
- https://git.kernel.org/stable/c/42971ea17c7a8afc0bdd5ca40648bf4e5bb7b810
- https://git.kernel.org/stable/c/494f2bee9d8d0ebcfa249ac41bed7fed26d119b4
- https://git.kernel.org/stable/c/bb63ab52a18273ec68340ac49aebbaa7b514ccd5
- https://git.kernel.org/stable/c/d1ebd9081879fd9ae9c8fb7e8928f19cc88ae320
- https://git.kernel.org/stable/c/e70f639aee2ff0def155c256cace9e0f81d998e2
Related Security Bulletins
- Use-after-free in Linux kernel xfrm
- 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