Linux
smb: client: fix query_info() replay double-free
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 433042a91f9373241307725b52de573933ffedbf, < 100fb7c455fa86d248b8bd7bb9de757c192870b4
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < 3c81dda84799f76b42aec598564316e2964440db
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < f1add4acb656f5a82806a1ab0e63fed3d8b1bfca
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < 89234773e8348918111aa15f6922b58cf3843364
- >= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < 2a88561d66eb855813cf004a0abe648bbb17de5e
- >= 6.6.32, < 6.6.145
Fixed in 100fb7c455fa86d248b8bd7bb9de757c192870b4, 3c81dda84799f76b42aec598564316e2964440db, f1add4acb656f5a82806a1ab0e63fed3d8b1bfca, 89234773e8348918111aa15f6922b58cf3843364, 2a88561d66eb855813cf004a0abe648bbb17de5e, 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 100fb7c455fa86d248b8bd7bb9de757c192870b4 or 3c81dda84799f76b42aec598564316e2964440db or f1add4acb656f5a82806a1ab0e63fed3d8b1bfca or 89234773e8348918111aa15f6922b58cf3843364 or 2a88561d66eb855813cf004a0abe648bbb17de5e 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.