Junglewise Threat Intelligence

CVE-2026-64381: Linux Kernel SMB client memory leak in receive_encrypted_standard

CVE-2026-64381 · Severity: info · CVSS 0 · Published 2026-07-25

Technologies: Linux. Vendors: Linux.

Executive brief

A memory leak vulnerability was identified in the Linux kernel's SMB client component, which handles file sharing and network communication with Windows-compatible servers. When processing certain encrypted network responses, the system could fail to properly release memory buffers if a specific limit on combined data packets was exceeded. Over time, this could lead to system instability or performance degradation as available memory is exhausted.

Technical details

A memory leak exists in the Linux kernel SMB client (cifs.ko) within the receive_encrypted_standard() function in fs/smb/client/smb2ops.c. The function allocates 'next_buffer' before validating if the number of compound Protocol Data Units (PDUs) has reached the MAX_COMPOUND limit. If this limit is exceeded, the function returns an error immediately without freeing the newly allocated buffer or assigning it to the server structures, resulting in a kernel memory leak. An attacker or a malicious SMB server could potentially trigger this leak repeatedly to cause a denial-of-service condition via memory exhaustion. The fix involves reordering the logic to perform the MAX_COMPOUND check prior to buffer allocation.

Affected products

  • Linux Linux 4.19 to 6.13

Timeline

  • 2026-06-23: other: Vulnerability fixed by developer Haoxiang Li
  • 2026-07-24: patched: Patch committed to stable tree by Greg Kroah-Hartman
  • 2026-07-25: disclosed: CVE-2026-64381 published

References