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

smb: client: fix query_info() replay double-free

A response-bearing attempt can return a replayable error and free its
response buffer. If SMB2_query_info_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 vulnerability is a double‑free bug in the Linux kernel SMB client, triggered when query_info fails and a replayable error is returned. A response buffer is freed twice, leading to memory corruption and also representing a use‑after‑free condition (CWE‑1341). This can cause a kernel panic, disrupt services, and might allow an attacker to exploit the corrupted state for privilege escalation, although no direct remote code execution is recorded.

Affected Systems

All Linux kernel releases that implement the SMB2 query_info path before the fix was applied. The advisory lists Linux as the affected vendor and product but does not specify particular kernel versions.

Risk and Exploitability

The EPSS score for this vulnerability is below 1%, indicating a low exploitation probability, and it is not listed in the CISA KEV catalog. The CVSS score is 9.8. The likely attack vector is network‑based via the SMB protocol; a malicious or misconfigured SMB server could trigger the error path and double‑free the client buffer. While the impact is primarily denial of service and potential local privilege escalation, the overall risk is constrained by the low likelihood of exploitation and the requirement for a vulnerable SMB client to be active.

Generated by OpenCVE AI on August 5, 2026 at 03:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel that includes the SMB client double‑free fix (the patch can be found in the referenced kernel commits).
  • If a kernel upgrade cannot be performed immediately, disable SMBv2 client functionality or restrict SMB traffic to trusted hosts until the patch is applied.
  • Monitor system logs for abnormal kernel panics or crashes related to SMB client operations, and configure alerts to detect such events promptly.

Generated by OpenCVE AI on August 5, 2026 at 03:01 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-415

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

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

None

threat_severity

Important


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

Type Values Removed Values Added
Weaknesses CWE-415

Sat, 01 Aug 2026 02: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'}


Sun, 26 Jul 2026 02:00: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 query_info() replay double-free A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_info_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 query_info() replay double-free
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:22.958Z

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

Link: CVE-2026-64386

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

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

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

Link: CVE-2026-64386

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-64386 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T03:15:05Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle