# CVE-2026-64385: smb: client: fix double-free in SMB2_ioctl() 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.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-07-25T08:50:33.997Z
- Modified: 2026-10-19T21:17:34.997Z
- 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_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.

(As written by CVE List.)

## Affected

- Linux Linux: from 433042a91f9373241307725b52de573933ffedbf before 0be4bc64882edaefaaee8d1e27d083643eb778e6; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before 96fcfc8ae7359346156e492ca610e830d2649ad6; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before 276c8efbc49f9303ac76d0d4deab7128581b0f3b; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before fc65ffb4ef1bf540da16b17c225ae51091e07d72; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before f9bbadb6c94583e3b4af1afc449bfceb1d1ddec9; 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/0be4bc64882edaefaaee8d1e27d083643eb778e6> (patch)
- <https://git.kernel.org/stable/c/96fcfc8ae7359346156e492ca610e830d2649ad6> (patch)
- <https://git.kernel.org/stable/c/276c8efbc49f9303ac76d0d4deab7128581b0f3b> (patch)
- <https://git.kernel.org/stable/c/fc65ffb4ef1bf540da16b17c225ae51091e07d72> (patch)
- <https://git.kernel.org/stable/c/f9bbadb6c94583e3b4af1afc449bfceb1d1ddec9> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-64385 · Whole record: https://cve.day/CVE-2026-64385.json · Rebuilt by cve.day 2026-11-25T22:59:30.096Z
