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

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

SMB2_flush() keeps its response buffer bookkeeping across replay
attempts. If a replayable flush response is received and the retry then
fails before cifs_send_recv() stores a replacement response, flush_exit
will free the stale response pointer a second time.

Reinitialize resp_buftype and rsp_iov at the top of the replay loop so
cleanup only acts on response state produced by the current attempt.
This fixes a double-free without changing replay handling for successful
requests.
Published: 2026-07-25
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel SMB client contains a double‑free bug in the SMB2_flush() routine. When a flush response can be replayed, the routine keeps the response buffer from a previous attempt in memory. If the retry fails before a new response is stored, the old buffer pointer is freed twice, corrupting kernel memory. This improper deallocation can trigger a kernel crash or, if an attacker can craft SMB traffic, allow execution of arbitrary code with kernel privileges. The weakness is a use‑after‑free fault.

Affected Systems

The flaw is present in all Linux kernel releases that have not yet incorporated the patch commits detailed in the kernel changelog for the SMB client (e.g., commit 013a9a3d and the stable releases that follow). Any system running an affected kernel and acting as a Samba client that receives flush requests is potentially vulnerable until the kernel is updated. The issue is confined to the SMB client side of the kernel and does not affect Samba servers directly.

Risk and Exploitability

The EPSS score is reported as less than 1%, indicating a very low likelihood of exploitation at present, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, the CVSS score of 9.8 reflects high severity if exploited, due to possible kernel memory corruption leading to elevation of privilege. Exploitation would require an attacker able to send crafted SMB packets to a vulnerable host and is likely to operate over the network. Given the low current exploitation probability, the recommended response is to patch promptly rather than rely solely on monitoring.

Generated by OpenCVE AI on August 4, 2026 at 14:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a patched version that includes the SMB2_flush double‑free fix.
  • If a kernel update cannot be performed immediately, disable SMB flush operations or restrict SMB traffic to trusted hosts as a temporary containment measure.
  • Monitor kernel logs for kernel panic or OOPS events indicating double‑free or memory corruption.

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

Tue, 04 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

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

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 01 Aug 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 30 Jul 2026 00:15:00 +0000


Mon, 27 Jul 2026 05: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'}


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_flush() replay SMB2_flush() keeps its response buffer bookkeeping across replay attempts. If a replayable flush response is received and the retry then fails before cifs_send_recv() stores a replacement response, flush_exit will free the stale response pointer a second time. Reinitialize resp_buftype and rsp_iov at the top of the replay loop so cleanup only acts on response state produced by the current attempt. This fixes a double-free without changing replay handling for successful requests.
Title smb: client: fix double-free in SMB2_flush() 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:18.383Z

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

Link: CVE-2026-64383

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

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

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

Link: CVE-2026-64383

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-64383 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T14:45:03Z

Weaknesses