smb: client: fix query_info() replay double-free
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix query_info() replay double-free A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_info_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 query_info() replay double-free A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_info_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/100fb7c455fa86d248b8bd7bb9de757c192870b4
- https://git.kernel.org/stable/c/2a88561d66eb855813cf004a0abe648bbb17de5e
- https://git.kernel.org/stable/c/3c81dda84799f76b42aec598564316e2964440db
- https://git.kernel.org/stable/c/89234773e8348918111aa15f6922b58cf3843364
- https://git.kernel.org/stable/c/f1add4acb656f5a82806a1ab0e63fed3d8b1bfca
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64386.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-64386