# CVE-2026-64597: smb: client: fix double-free in SMB2_close() replay

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-08-06T07:13:52.117Z
- Modified: 2026-12-01T18:44:48.597Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 433042a91f9373241307725b52de573933ffedbf before 037511726228aaf165c7067ff2bfc88eaecdf1f3; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before 0aa97edf7c347c0f54e7e60c4740574b8120c66a; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before d15d83125007f673aec4323e1bbbaaffbe87ea13; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before b18ed621dbfceecea5539848cddcb9272c9a61e1; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before f96e1cdcb63ed3321142ff2fcdf784e32cda8fee; from 6.6.32 before 6.6.145; 6.8 (not affected: before 6.8; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.6.32 before 6.6.145; from 6.8.1 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 6.8

## References

- <https://git.kernel.org/stable/c/037511726228aaf165c7067ff2bfc88eaecdf1f3> (patch)
- <https://git.kernel.org/stable/c/0aa97edf7c347c0f54e7e60c4740574b8120c66a> (patch)
- <https://git.kernel.org/stable/c/d15d83125007f673aec4323e1bbbaaffbe87ea13> (patch)
- <https://git.kernel.org/stable/c/b18ed621dbfceecea5539848cddcb9272c9a61e1> (patch)
- <https://git.kernel.org/stable/c/f96e1cdcb63ed3321142ff2fcdf784e32cda8fee> (patch)

## Sources

- CVE List: [CVE-2026-64597](https://www.cve.org/CVERecord?id=CVE-2026-64597), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64597](https://nvd.nist.gov/vuln/detail/CVE-2026-64597), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-64597 · Whole record: https://cve.day/CVE-2026-64597.json · Rebuilt by cve.day 2026-12-01T18:47:34.904Z
