smb: client: fix double-free in SMB2_ioctl() replay
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.
02 / AFFECTED SOFTWARE
Affected packages
113 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/0be4bc64882edaefaaee8d1e27d083643eb778e6
- https://git.kernel.org/stable/c/276c8efbc49f9303ac76d0d4deab7128581b0f3b
- https://git.kernel.org/stable/c/96fcfc8ae7359346156e492ca610e830d2649ad6
- https://git.kernel.org/stable/c/f9bbadb6c94583e3b4af1afc449bfceb1d1ddec9
- https://git.kernel.org/stable/c/fc65ffb4ef1bf540da16b17c225ae51091e07d72
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64385.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-64385