CVE-2026-64387
smb: client: fix query directory replay double-free
Check your servers for CVE-2026-64387
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64387 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.67%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 47.0% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-415 Double Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 433042a91f9373241307725b52de573933ffedbf, before 3409aedf3c81a810243da94164f6621c9d205c98 affected from 4f1fffa2376922f3d1d506e49c0fd445b023a28e, before 1665f25b1dea30bf2d02e16245d203a944c9d994 affected from 4f1fffa2376922f3d1d506e49c0fd445b023a28e, before 00b0fa425941438b664950a8ee65dfba2def4336 affected from 4f1fffa2376922f3d1d506e49c0fd445b023a28e, before 3317a5d015fca976475aa71df224056777316fde affected from 4f1fffa2376922f3d1d506e49c0fd445b023a28e, before 9647492b5e41954be59d5157eddbcd4cdc1656f7 affected from 6.6.32, before 6.6.145
Other versions: unaffected
|
| Linux |
affected 6.8 unaffected before 6.8 unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.96 up to and including 6.12.* unaffected from 6.18.39 up to and including 6.18.* unaffected from 7.1.4 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64387 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64387
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64387
trivy image --scanners vuln IMAGE | grep CVE-2026-64387
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/3409aedf3c81a810243da94164f6621c9d205c98 git.kernel.org
- https://git.kernel.org/stable/c/1665f25b1dea30bf2d02e16245d203a944c9d994 git.kernel.org
- https://git.kernel.org/stable/c/00b0fa425941438b664950a8ee65dfba2def4336 git.kernel.org
- https://git.kernel.org/stable/c/3317a5d015fca976475aa71df224056777316fde git.kernel.org
- https://git.kernel.org/stable/c/9647492b5e41954be59d5157eddbcd4cdc1656f7 git.kernel.org
Source: the record CVE-2026-64387 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse