Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix double-free in SMB2_open() replay

A response-bearing attempt can return a replayable error and free its
response buffer. If SMB2_open_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.
Published: 2026-07-25
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a double‑free bug in the Linux kernel SMB client’s SMB2_open() routine. A response-bearing attempt can generate a replayable error and free its response buffer. If SMB2_open_init() fails before the subsequent send, the cleanup logic attempts to free the prior response again, causing a stale free. This memory corruption flaw, classified as CWE-1341, can potentially be exploited to execute arbitrary code on the vulnerable system. Based on the description, it is inferred that an attacker can craft malicious SMB traffic to trigger the double‑free, leading to control over the host process.

Affected Systems

The flaw affects any Linux distribution that uses a Linux kernel containing the SMB client module. The vendor and product identifiers reference Linux:Linux, and no specific kernel versions are listed; therefore the issue may exist in any kernel that implements the unpatched SMB2_open() logic.

Risk and Exploitability

The EPSS score indicates a very low exploitation probability (less than 1 %). The CVSS score of 8.8 reflects a high severity. This vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a remote attacker sending crafted SMB traffic to the target machine that acts as an SMB client. Because the flaw requires the SMB client to encounter a replayable error, an attacker would need to trigger such a scenario, which could be achieved by exploiting fault conditions within the SMB protocol. If successfully exploited, the double‑free could lead to memory corruption and arbitrary code execution at the privilege level of the kernel process.

Generated by OpenCVE AI on August 5, 2026 at 00:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that fixes the SMB client double‑free by merging the relevant commit(s) into the running kernel source and rebuilding the kernel.
  • Install the rebuilt kernel and update the bootloader configuration so that it is the default kernel entry.
  • Reboot the system to load the patched kernel.

Generated by OpenCVE AI on August 5, 2026 at 00:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Sun, 02 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 29 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1341
References
Metrics threat_severity

None

threat_severity

Important


Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Sun, 26 Jul 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double-free in SMB2_open() replay A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_open_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.
Title smb: client: fix double-free in SMB2_open() replay
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:41:17.288Z

Reserved: 2026-07-19T15:36:31.784Z

Link: CVE-2026-64382

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:21.477

Modified: 2026-08-11T15:01:50.637

Link: CVE-2026-64382

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64382 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T00:45:03Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle