VDB

CVE-2026-64387

CVE-2026-64387 PUBLISHED CVSS 9.8 CRITICAL

smb: client: fix query directory replay double-free

Reported by linux · Published July 25, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-debuginfo-common-aarch64errata.rockylinux.org5.14.0-687.44.1.el9
kernel-rt-debug-moduleserrata.rockylinux.org5.14.0-687.44.1.el9
kernel-debug-develerrata.rockylinux.org5.14.0-687.44.1.el9
kernel-rterrata.rockylinux.org6.12.0-211.51.1.el10

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux433042a91f9373241307725b52de573933ffedbf, 4f1fffa2376922f3d1d506e49c0fd445b023a28e, 4f1fffa2376922f3d1d506e49c0fd445b023a28e
LinuxLinux6.8, 0, 6.6.145
linuxlinux_kernel6.6.32, 6.8, 6.8
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-devel0
LinuxLinux0, 6.8, 6.6.32
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.18.39-79.1410
amazon:2023python3-perf6.180
amazon:2023kernel6.180
amazon:2023perf6.120
amazon:2023kernel6.120
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-livepatch-6.12.100-125.1790
amazon:2023kernel6.18-modules-extra0

…and 7 more

Timeline

  • Jul 25, 2026 EPSS Score (30 in total, the first dated here)
  • Jul 25, 2026 CVE Published
  • Jul 26, 2026 Security Advisory (23 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 12, 2026 Distribution Patch (26 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64387
vulnetix vdb fixes CVE-2026-64387

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64387/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›