# CVE-2026-64386: smb: client: fix query_info() replay double-free

- 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:34.729Z
- Modified: 2026-10-19T21:17:35.140Z
- 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 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 433042a91f9373241307725b52de573933ffedbf before 100fb7c455fa86d248b8bd7bb9de757c192870b4; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before 3c81dda84799f76b42aec598564316e2964440db; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before f1add4acb656f5a82806a1ab0e63fed3d8b1bfca; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before 89234773e8348918111aa15f6922b58cf3843364; from 4f1fffa2376922f3d1d506e49c0fd445b023a28e before 2a88561d66eb855813cf004a0abe648bbb17de5e; 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/100fb7c455fa86d248b8bd7bb9de757c192870b4> (patch)
- <https://git.kernel.org/stable/c/3c81dda84799f76b42aec598564316e2964440db> (patch)
- <https://git.kernel.org/stable/c/f1add4acb656f5a82806a1ab0e63fed3d8b1bfca> (patch)
- <https://git.kernel.org/stable/c/89234773e8348918111aa15f6922b58cf3843364> (patch)
- <https://git.kernel.org/stable/c/2a88561d66eb855813cf004a0abe648bbb17de5e> (patch)

## Sources

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

---

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