smb: client: fix double-free in SMB2_close() replay
Summary
| CVE | CVE-2026-64597 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-06 08:16:35 UTC |
| Updated | 2026-08-06 08:16:35 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 433042a91f9373241307725b52de573933ffedbf 037511726228aaf165c7067ff2bfc88eaecdf1f3 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4f1fffa2376922f3d1d506e49c0fd445b023a28e 0aa97edf7c347c0f54e7e60c4740574b8120c66a git |
Not specified |
| CNA |
Linux |
Linux |
affected 4f1fffa2376922f3d1d506e49c0fd445b023a28e d15d83125007f673aec4323e1bbbaaffbe87ea13 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4f1fffa2376922f3d1d506e49c0fd445b023a28e b18ed621dbfceecea5539848cddcb9272c9a61e1 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4f1fffa2376922f3d1d506e49c0fd445b023a28e f96e1cdcb63ed3321142ff2fcdf784e32cda8fee git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.6.32 6.6.145 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.8 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.8 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.145 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.96 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.39 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1.4 7.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/f96e1cdcb63ed3321142ff2fcdf784e32cda8fee |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d15d83125007f673aec4323e1bbbaaffbe87ea13 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/037511726228aaf165c7067ff2bfc88eaecdf1f3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/b18ed621dbfceecea5539848cddcb9272c9a61e1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/0aa97edf7c347c0f54e7e60c4740574b8120c66a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.