Linux
smb: client: fix change notify replay double-free
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix change notify replay double-free A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_notify_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, < 5821f9dbb8b5b24391850a13418e633edd0fb003
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < d684f4134998085702009b94c35c2003fc9e72d3
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < 52af1975f0dfae990c5a0e85872cc41be0e88a68
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < 901891513951bc8322ece754863909ea45af95c6
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < 145f820dcbb2cced374f2532f8a61a44dce4a615
- >= 6.6.32, < 6.6.145
Fixed in 5821f9dbb8b5b24391850a13418e633edd0fb003, d684f4134998085702009b94c35c2003fc9e72d3, 52af1975f0dfae990c5a0e85872cc41be0e88a68, 901891513951bc8322ece754863909ea45af95c6, 145f820dcbb2cced374f2532f8a61a44dce4a615, 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 5821f9dbb8b5b24391850a13418e633edd0fb003 or d684f4134998085702009b94c35c2003fc9e72d3 or 52af1975f0dfae990c5a0e85872cc41be0e88a68 or 901891513951bc8322ece754863909ea45af95c6 or 145f820dcbb2cced374f2532f8a61a44dce4a615 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.