CVE-2026-64387
Awaiting Analysis Awaiting Analysis - Queue

SMB Client Directory Query Double-Free Vulnerability

Vulnerability report for CVE-2026-64387, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-25

Last updated on: 2026-08-11

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix query directory replay double-free A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_directory_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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-25
Last Modified
2026-08-11
Generated
2026-08-14
AI Q&A
2026-07-25
EPSS Evaluated
2026-08-13
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a double-free issue in the SMB client component. When a response-bearing attempt returns a replayable error and frees its response buffer, a subsequent failure in SMB2_query_directory_init() before the next send can cause cleanup to free the previous response buffer again, leading to a double-free condition.

Detection Guidance

This vulnerability is specific to the Linux kernel's SMB client implementation. Detection requires checking kernel logs for SMB-related errors or crashes, particularly after failed directory queries. Monitor logs with commands like 'dmesg | grep smb' or 'journalctl -k | grep smb'. If kernel panics or SMB client errors occur, further investigation is needed.

Impact Analysis

This vulnerability could lead to system crashes or potential code execution if exploited. It specifically affects systems using the SMB client functionality in the Linux kernel, potentially causing instability or denial of service.

Compliance Impact

This vulnerability is specific to the Linux kernel's SMB client functionality and involves a double-free issue during directory query operations. It does not directly impact compliance with standards like GDPR or HIPAA, as those focus on data protection, privacy, and security controls rather than kernel-level memory management flaws.

Mitigation Strategies

Apply the latest Linux kernel security updates to patch this issue. If immediate patching is not possible, consider disabling SMB client functionality temporarily or restricting SMB access via firewall rules until the update is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64387. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart