0.0
NA
CVE-2026-64385
smb: client: fix double-free in SMB2_ioctl() replay
Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double-free in SMB2_ioctl() replay A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_ioctl_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-64385 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 to prevent double-free in SMB2_ioctl().
  • Reset response bookkeeping before each SMB2_ioctl() attempt.
  • Ensure proper cleanup and buffer management.
  • Apply the provided patch to the Linux kernel.
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-64385 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-64385 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-64385 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-64385 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': '0be4bc64882edaefaaee8d1e27d083643eb778e6', 'versionType': 'git'}, {'status': 'affected', 'version': '4f1fffa2376922f3d1d506e49c0fd445b023a28e', 'lessThan': '96fcfc8ae7359346156e492ca610e830d2649ad6', 'versionType': 'git'}, {'status': 'affected', 'version': '4f1fffa2376922f3d1d506e49c0fd445b023a28e', 'lessThan': '276c8efbc49f9303ac76d0d4deab7128581b0f3b', 'versionType': 'git'}, {'status': 'affected', 'version': '4f1fffa2376922f3d1d506e49c0fd445b023a28e', 'lessThan': 'fc65ffb4ef1bf540da16b17c225ae51091e07d72', 'versionType': 'git'}, {'status': 'affected', 'version': '4f1fffa2376922f3d1d506e49c0fd445b023a28e', 'lessThan': 'f9bbadb6c94583e3b4af1afc449bfceb1d1ddec9', '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 double-free in SMB2_ioctl() replay A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_ioctl_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/0be4bc64882edaefaaee8d1e27d083643eb778e6
    Added Reference https://git.kernel.org/stable/c/276c8efbc49f9303ac76d0d4deab7128581b0f3b
    Added Reference https://git.kernel.org/stable/c/96fcfc8ae7359346156e492ca610e830d2649ad6
    Added Reference https://git.kernel.org/stable/c/f9bbadb6c94583e3b4af1afc449bfceb1d1ddec9
    Added Reference https://git.kernel.org/stable/c/fc65ffb4ef1bf540da16b17c225ae51091e07d72
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.