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

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

A response-bearing attempt can return a replayable error and free its
response buffer. If SMB2_close_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-08-06
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel SMB client included a flaw where a double‑free could occur during the SMB2_close replay path. A response‑bearing call that returned a replayable error freed its buffer, and a subsequent failure in SMB2_close_init() triggered cleanup that reused the stale buffer type and freed it again. This misuse of memory bookkeeping can corrupt the heap, raising the possibility of arbitrary code execution or a denial of service if an attacker can influence the SMB traffic. The exact outcome depends on the heap state at the time of exploitation.

Affected Systems

The vulnerability affects all Linux kernel releases that contain the buggy SMB client code. No specific version information is listed, but any kernel that has not yet applied the patch will be vulnerable.

Risk and Exploitability

The CVSS score of 9.8 indicates a critical severity, while the EPSS score of < 1% shows a very low projected probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. If an attacker can send crafted SMB messages that trigger the SMB2_close replay path, the double free could lead to heap corruption. This might allow remote code execution or a crash, but such outcomes are inferred from the nature of the flaw and have not been explicitly demonstrated.

Generated by OpenCVE AI on August 14, 2026 at 04:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest official release that includes the fix or apply the upstream commit(s).
  • If an immediate kernel upgrade is not possible, restrict SMB traffic to the hosts using a firewall or disable SMB protocol support in the kernel configuration.
  • Monitor the system logs for abnormal SMB activity and plan a timely kernel update.

Generated by OpenCVE AI on August 14, 2026 at 04:27 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

Fri, 14 Aug 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-762

Fri, 14 Aug 2026 00:15:00 +0000

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

None

threat_severity

Important


Sat, 08 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-762

Sat, 08 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 08 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Thu, 06 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 06 Aug 2026 07: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_close() replay A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_close_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_close() 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-17T04:58:19.742Z

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

Link: CVE-2026-64597

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-06T08:16:35.340

Modified: 2026-08-17T05:18:06.207

Link: CVE-2026-64597

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-06T00:00:00Z

Links: CVE-2026-64597 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T04:30:17Z

Weaknesses