CVE-2026-64381
smb: client: Fix next buffer leak in receive_encrypted_standard()
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix next buffer leak in receive_encrypted_standard() receive_encrypted_standard() allocates next_buffer before checking whether the number of compound PDUs already reached MAX_COMPOUND. If the limit check fails, the function returns immediately and the newly allocated next_buffer is not assigned to server->smallbuf/server->bigbuf, making it leaked. Move the MAX_COMPOUND check before allocating next_buffer.
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
July 25, 2026, 10:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-64381
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Move MAX_COMPOUND check before allocating next_buffer.
- Apply the patch to the Linux kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64381.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64381 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64381
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64381 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64381 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'b24df3e30cbf48255db866720fb71f14bf9d2f39', 'lessThan': '94e4f672db029414b9888b5137a7559f1febf2d8', 'versionType': 'git'}, {'status': 'affected', 'version': 'b24df3e30cbf48255db866720fb71f14bf9d2f39', 'lessThan': '68fc0b6cc03ca58060c0f36454e169f5fe258974', 'versionType': 'git'}, {'status': 'affected', 'version': 'b24df3e30cbf48255db866720fb71f14bf9d2f39', 'lessThan': '07e0ab81df1790afa35732a4e8e07ff831b29008', 'versionType': 'git'}, {'status': 'affected', 'version': 'b24df3e30cbf48255db866720fb71f14bf9d2f39', 'lessThan': '9136a08dc29328edd9867f2545e73906ac9df93b', 'versionType': 'git'}, {'status': 'affected', 'version': 'b24df3e30cbf48255db866720fb71f14bf9d2f39', 'lessThan': '67097772df7791c53d608f04bd31c676ccf79b83', 'versionType': 'git'}, {'status': 'affected', 'version': 'b24df3e30cbf48255db866720fb71f14bf9d2f39', 'lessThan': '297243e365fc9fe2f8e9b7dd535a65d922cd108b', 'versionType': 'git'}, {'status': 'affected', 'version': 'b24df3e30cbf48255db866720fb71f14bf9d2f39', 'lessThan': '927d4805aea0a287d36dd4f826ee24d69a2afee3', 'versionType': 'git'}, {'status': 'affected', 'version': 'b24df3e30cbf48255db866720fb71f14bf9d2f39', 'lessThan': '1c6267a1d5cf4c73b656f8181b310cbbb3e4767b', 'versionType': 'git'}], 'programFiles': ['fs/smb/client/smb2ops.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.19'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.19', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/client/smb2ops.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix next buffer leak in receive_encrypted_standard() receive_encrypted_standard() allocates next_buffer before checking whether the number of compound PDUs already reached MAX_COMPOUND. If the limit check fails, the function returns immediately and the newly allocated next_buffer is not assigned to server->smallbuf/server->bigbuf, making it leaked. Move the MAX_COMPOUND check before allocating next_buffer. Added Reference https://git.kernel.org/stable/c/07e0ab81df1790afa35732a4e8e07ff831b29008 Added Reference https://git.kernel.org/stable/c/1c6267a1d5cf4c73b656f8181b310cbbb3e4767b Added Reference https://git.kernel.org/stable/c/297243e365fc9fe2f8e9b7dd535a65d922cd108b Added Reference https://git.kernel.org/stable/c/67097772df7791c53d608f04bd31c676ccf79b83 Added Reference https://git.kernel.org/stable/c/68fc0b6cc03ca58060c0f36454e169f5fe258974 Added Reference https://git.kernel.org/stable/c/9136a08dc29328edd9867f2545e73906ac9df93b Added Reference https://git.kernel.org/stable/c/927d4805aea0a287d36dd4f826ee24d69a2afee3 Added Reference https://git.kernel.org/stable/c/94e4f672db029414b9888b5137a7559f1febf2d8