Linux
smb: client: fix double-free in SMB2_close() replay
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 433042a91f9373241307725b52de573933ffedbf, < 037511726228aaf165c7067ff2bfc88eaecdf1f3
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < 0aa97edf7c347c0f54e7e60c4740574b8120c66a
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < d15d83125007f673aec4323e1bbbaaffbe87ea13
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < b18ed621dbfceecea5539848cddcb9272c9a61e1
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < f96e1cdcb63ed3321142ff2fcdf784e32cda8fee
- >= 6.6.32, < 6.6.145
Fixed in 037511726228aaf165c7067ff2bfc88eaecdf1f3, 0aa97edf7c347c0f54e7e60c4740574b8120c66a, d15d83125007f673aec4323e1bbbaaffbe87ea13, b18ed621dbfceecea5539848cddcb9272c9a61e1, f96e1cdcb63ed3321142ff2fcdf784e32cda8fee, 6.6.145
- 6.8
Fixed in 0, 6.6.145, 6.12.96, 6.18.39, 7.1.4, 7.2
Mitigation
Upgrade Linux to 037511726228aaf165c7067ff2bfc88eaecdf1f3 or 0aa97edf7c347c0f54e7e60c4740574b8120c66a or d15d83125007f673aec4323e1bbbaaffbe87ea13 or b18ed621dbfceecea5539848cddcb9272c9a61e1 or f96e1cdcb63ed3321142ff2fcdf784e32cda8fee or 6.6.145 or later.
Upgrade Linux to 0 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.