NULL pointer dereference in Linux kernel - CVE-2026-64140
Published: July 20, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to a null pointer dereference in proc_show_files() when reading /proc/fs/ksmbd/files after an SMB2 client opens a file with a durable v2 handle and issues SMB2 SESSION_LOGOFF. A remote user can establish an SMB2 session and trigger the vulnerable state to cause a denial of service.
Exploitation requires a share configured with durable handles enabled, and the crash occurs during the interval before the durable scavenger removes the disconnected file pointer.
Affected software
Ubuntu
linux-ibm (Ubuntu package)
linux-azure (Ubuntu package)
linux-aws (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-nvidia-bos (Ubuntu package)
How to mitigate CVE-2026-64140
linux-ibm (Ubuntu package) - addressed in versions 7.0.0-1008.8, 7.0.0-1010.10
linux-azure (Ubuntu package) - addressed in versions 7.0.0-1009.9, 7.0.0-1010.10
linux-aws (Ubuntu package) - addressed in versions 7.0.0-1009.9, 7.0.0-1015.15
linux-nvidia (Ubuntu package) - addressed in versions 7.0.0-1016.16, 7.0.0-1016.16~24.04.1
linux-nvidia-bos (Ubuntu package) - update to 7.0.0-2016.16