CVE-2026-64385 smb: client: fix double-free in SMB2_ioctl() replay
A double-free vulnerability in the Linux kernel SMB client allows attackers to cause denial of service or potentially execute code via crafted SMB2 ioctl responses.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-64385?
CVE-2026-64385 is a critical use after free vulnerability in Linux kernel, published on 25 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-415
Which versions are affected by CVE-2026-64385?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-64385?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-64385 being exploited?
There is no known exploitation of CVE-2026-64385 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-93893, BELL-CVE-2026-64385, DEBIAN-CVE-2026-64385, GHSA-w5jf-frgq-phfp, ROOT-OS-UBUNTU-2204-CVE-2026-64385, UBUNTU-CVE-2026-64385.