Critical severity · published Jul 25, 2026
CVE-2026-64387
smb: client: fix query directory replay double-free
9.8
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 39% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
6.6.32 before 6.6.145; 6.8.1 before 6.12.96; 6.13 before 6.18.39; 6.19 before 7.1.4; 6.8; 6.8; +5 more · source: NVD
LI
Linux · Linux
433042a91f9373241307725b52de573933ffedbf before 3409aedf3c81a810243da94164f6621c9d205c98; 4f1fffa2376922f3d1d506e49c0fd445b023a28e before 1665f25b1dea30bf2d02e16245d203a944c9d994; 4f1fffa2376922f3d1d506e49c0fd445b023a28e before 00b0fa425941438b664950a8ee65dfba2def4336; 4f1fffa2376922f3d1d506e49c0fd445b023a28e before 3317a5d015fca976475aa71df224056777316fde; 4f1fffa2376922f3d1d506e49c0fd445b023a28e before 9647492b5e41954be59d5157eddbcd4cdc1656f7; 6.6.32 before 6.6.145; +1 more · source: vendor