CVE-2026-64387

smb: client: fix query directory replay double-free

CRITICAL
9.8
CVSS Score
Published: July 25, 2026 at 08:50 AM UTC
Updated: October 19, 2026 at 09:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.8
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.18.396.19 ≤ v < 7.1.46.6.32 ≤ v < 6.6.1456.8.1 ≤ v < 6.12.96433042a91f9373241307725b52de573933ffedbf4f1fffa2376922f3d1d506e49c0fd445b023a28e6.6.326.86.8 rc26.8 rc36.8 rc46.8 rc56.8 rc66.8 rc7
Vendor states this is fixed in 00b0fa425941438b664950a8ee65dfba2def4336 (fixed)
Vendor states this is fixed in 1665f25b1dea30bf2d02e16245d203a944c9d994 (fixed)
Vendor states this is fixed in 3317a5d015fca976475aa71df224056777316fde (fixed)
Vendor states this is fixed in 3409aedf3c81a810243da94164f6621c9d205c98 (fixed)
Vendor states this is fixed in 9647492b5e41954be59d5157eddbcd4cdc1656f7 (fixed)
Vendor states this is fixed in 6.12.96 (unaffected)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)
Vendor states this is fixed in 7.1.4 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitAutomatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

9.8CRITICALLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card