Null Pointer Dereference in Linux Kernel SMB2 Handling
CVE-2026-64140

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
19 July 2026

What is CVE-2026-64140?

A vulnerability in the Linux kernel's SMB2 handling can lead to a kernel panic due to a null pointer dereference during file operations. When an SMB2 client interacts with files using a durable v2 handle and subsequently logs off the session, the system fails to properly manage the file pointer. This results in the file pointer being improperly registered in a global structure, leading to a dereference of an invalid memory address in the proc_show_files function. If a read operation is attempted on the /proc/fs/ksmbd/files, it triggers a kernel panic rather than handling the case gracefully. The issue arises specifically when durable handles are configured and poses a significant risk to system stability. Corrective actions involve implementing a guard for this dereference to prevent kernel crashes.

Affected Version(s)

Linux b38f99c1217ae04753340f0fdcd8f35bf56841dc < 8eab081627b67216d1c8f638b68289b500dc9a6b

Linux b38f99c1217ae04753340f0fdcd8f35bf56841dc < 904901561e61a2b559070b20c74a8c95491f30aa

Linux 7.0

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.