Linux
smb: client: fix double-free in SMB2_open() replay
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double-free in SMB2_open() replay A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_open_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, < 02bc2896bdc3e29362d6e40d404006944a159c25
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < 3196b5192f246df4272072f61a2f4a3e9967f55d
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < 14498ff5ce0f272ce0ef988721413e06b7038972
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < ff2d30927bc3bf3c629f0768d2068096e64ef5ce
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < b55e182f2324bc6a604c21a47aa6c448f719a532
- >= 6.6.32, < 6.6.145
Fixed in 02bc2896bdc3e29362d6e40d404006944a159c25, 3196b5192f246df4272072f61a2f4a3e9967f55d, 14498ff5ce0f272ce0ef988721413e06b7038972, ff2d30927bc3bf3c629f0768d2068096e64ef5ce, b55e182f2324bc6a604c21a47aa6c448f719a532, 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 02bc2896bdc3e29362d6e40d404006944a159c25 or 3196b5192f246df4272072f61a2f4a3e9967f55d or 14498ff5ce0f272ce0ef988721413e06b7038972 or ff2d30927bc3bf3c629f0768d2068096e64ef5ce or b55e182f2324bc6a604c21a47aa6c448f719a532 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.