Use-after-free in Linux kernel - CVE-2026-64396
Published: July 27, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to use-after-free in the SMB2 lock handling logic in fs/smb/server/smb2pdu.c when canceling a deferred SMB2_LOCK request. A remote user can send crafted SMB lock and cancellation requests to cause a denial of service.
The issue is triggered by a race between deferred-lock cleanup and asynchronous cancellation while processing blocking byte-range locks.
Affected software
Ubuntu
linux (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-raspi (Ubuntu package)
linux-azure (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-realtime (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-lowlatency-hwe-6.8 (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-fde-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-oracle-6.8 (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-gke (Ubuntu package)
linux-ibm-6.8 (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)
linux-nvidia-bos (Ubuntu package)
linux-hwe-7.0 (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oracle-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux-aws-7.0 (Ubuntu package)
linux-nvidia-7.0 (Ubuntu package)
How to mitigate CVE-2026-64396
linux (Ubuntu package) - addressed in versions 6.8.0-147.147, 7.0.0-31.31
linux-lowlatency (Ubuntu package) - update to 6.8.0-147.147.1
linux-raspi (Ubuntu package) - addressed in versions 6.8.0-1068.72, 7.0.0-1019.19
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1071.79, 7.0.0-1014.14
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1071.79, 7.0.0-1011.11
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1067.70, 7.0.0-1012.12
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-1067.68, 7.0.0-1013.13
linux-oracle (Ubuntu package) - addressed in versions 6.8.0-1064.67, 7.0.0-1011.11
linux-azure-fde (Ubuntu package) - update to 6.8.0-1069.76
linux-nvidia (Ubuntu package) - addressed in versions 6.8.0-1067.70, 7.0.0-1018.18
linux-realtime (Ubuntu package) - addressed in versions 6.8.1-1062.63, 7.0.0-31.31.1
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-fips (Ubuntu package) - update to 6.8.0-147.147+fips1
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-azure-6.8 (Ubuntu package) - update to 6.8.0-1073.82~22.04.1
linux-oracle-6.8 (Ubuntu package) - update to 6.8.0-1067.71~22.04.1
linux-nvidia-tegra (Ubuntu package) - update to 6.8.0-1035.38
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1067.70.1
linux-gkeop (Ubuntu package) - update to 6.8.0-1052.56
linux-gke (Ubuntu package) - addressed in versions 6.8.0-1066.74, 7.0.0-1006.7
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-aws-fips (Ubuntu package) - update to 6.8.0-1067.70+fips1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1071.79+fips1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1071.79+fips1
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-nvidia-bos (Ubuntu package) - update to 7.0.0-2018.18
linux-hwe-7.0 (Ubuntu package) - update to 7.0.0-31.31~24.04.1
linux-azure-7.0 (Ubuntu package) - update to 7.0.0-1014.14~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1013.13
linux-aws-7.0 (Ubuntu package) - update to 7.0.0-1012.12~24.04.1
linux-nvidia-7.0 (Ubuntu package) - update to 7.0.0-1018.18~24.04.1
External References
- https://git.kernel.org/stable/c/367c42a611fe488b7b03f1f6737f4dee0e8b20a2
- https://git.kernel.org/stable/c/463bbd79698513af4dad50fe1c573825f297ca2e
- https://git.kernel.org/stable/c/5aa1cb01155f96824003baf7997cdf1f150caba3
- https://git.kernel.org/stable/c/5c75275c0fc9a2deb0d8f5604edcb16f288171c8
- https://git.kernel.org/stable/c/7703fd9aba1f2483c8e55f9ff73b7663e0761ed9
- https://git.kernel.org/stable/c/d20d1c8ba5765d1d12eefc0aee6385ab3f240e1e
Related Security Bulletins
- Use-after-free in Linux kernel smb server
- Ubuntu update for linux-oem-7.0
- Ubuntu update for linux
- Ubuntu update for linux-gcp-7.0
- Ubuntu update for linux-oracle-7.0
- Ubuntu update for linux-azure
- Ubuntu update for linux-azure-7.0
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-nvidia-bos
- Ubuntu update for linux-ibm
- Ubuntu update for linux-raspi
- Ubuntu update for linux-nvidia-tegra
- Ubuntu update for linux-nvidia-7.0
- Ubuntu update for linux, linux-aws, linux-aws-fips and more
- Ubuntu update for linux-azure, linux-azure-fde, linux-azure-fips
- 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-nvidia-lowlatency
- Ubuntu update for linux-hwe-6.8