CVE-2026-64386
smb: client: fix query_info() replay double-free
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix query_info() replay double-free A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_info_init() fails before the next send, cleanup retains the previous buffer type and frees that response again. Reset response bookkeeping before each attempt to prevent the stale free.
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-64386
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
- Reset response bookkeeping before each attempt.
- Apply vendor patches for Linux kernel smb.
- Update the Linux kernel to a secure version.
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-64386.
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-64386 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-64386
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-64386 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64386 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': '433042a91f9373241307725b52de573933ffedbf', 'lessThan': '100fb7c455fa86d248b8bd7bb9de757c192870b4', 'versionType': 'git'}, {'status': 'affected', 'version': '4f1fffa2376922f3d1d506e49c0fd445b023a28e', 'lessThan': '3c81dda84799f76b42aec598564316e2964440db', 'versionType': 'git'}, {'status': 'affected', 'version': '4f1fffa2376922f3d1d506e49c0fd445b023a28e', 'lessThan': 'f1add4acb656f5a82806a1ab0e63fed3d8b1bfca', 'versionType': 'git'}, {'status': 'affected', 'version': '4f1fffa2376922f3d1d506e49c0fd445b023a28e', 'lessThan': '89234773e8348918111aa15f6922b58cf3843364', 'versionType': 'git'}, {'status': 'affected', 'version': '4f1fffa2376922f3d1d506e49c0fd445b023a28e', 'lessThan': '2a88561d66eb855813cf004a0abe648bbb17de5e', 'versionType': 'git'}, {'status': 'affected', 'version': '6.6.32', 'lessThan': '6.6.145', 'versionType': 'semver'}], 'programFiles': ['fs/smb/client/smb2pdu.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.8'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.8', 'versionType': 'semver'}, {'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/smb2pdu.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: smb: client: fix query_info() replay double-free A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_info_init() fails before the next send, cleanup retains the previous buffer type and frees that response again. Reset response bookkeeping before each attempt to prevent the stale free. Added Reference https://git.kernel.org/stable/c/100fb7c455fa86d248b8bd7bb9de757c192870b4 Added Reference https://git.kernel.org/stable/c/2a88561d66eb855813cf004a0abe648bbb17de5e Added Reference https://git.kernel.org/stable/c/3c81dda84799f76b42aec598564316e2964440db Added Reference https://git.kernel.org/stable/c/89234773e8348918111aa15f6922b58cf3843364 Added Reference https://git.kernel.org/stable/c/f1add4acb656f5a82806a1ab0e63fed3d8b1bfca