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.
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_ioctl() replay logic where a response buffer is freed twice after a failed initialization attempt, causing a kernel memory corruption that can trigger a panic or enable arbitrary code execution. This kernel‑level flaw provides an attacker the opportunity to gain elevated privileges or crash the system.

Affected Systems

The vulnerability resides in the generic Linux kernel SMB client and affects any distribution running a kernel that has not incorporated the commit 0be4bc64882edaefaaee8d1e27d083643eb778e6 or subsequent merges. Administrators should verify whether their running kernel version contains this security fix and schedule an update if necessary.

Risk and Exploitability

The CVSS score of 9.8 indicates critical severity, while the EPSS score of less than 1 % and the absence from the CISA KEV catalog suggest that widespread exploitation is currently unlikely. An attacker who can drive SMB2 ioctl requests—either remotely as a SMB client or locally by accessing SMB services—could trigger the double‑free, potentially causing a denial‑of-service or achieving privilege escalation. Based on the description, it is inferred that the likely attack vector is remote SMB traffic, although local exploitation is possible if SMB support is enabled on the host.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes commit 0be4bc64882edaefaaee8d1e27d083643eb778e6 or later to eliminate the double‑free bug
  • If a kernel update cannot be applied immediately, block or filter SMB traffic or disable the SMB client to reduce exposure
  • After updating the kernel, reboot the system so the patched code is loaded and active

Generated by OpenCVE AI on August 5, 2026 at 00:31 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

Wed, 05 Aug 2026 01:00:00 +0000

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

Mon, 03 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

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


Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

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_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.
Title smb: client: fix double-free in SMB2_ioctl() 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:21.895Z

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

Link: CVE-2026-64385

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

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

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

Link: CVE-2026-64385

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-64385 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses