In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double-free in SMB2_flush() replay SMB2_flush() keeps its response buffer bookkeeping across replay attempts. If a replayable flush response is received and the retry then fails before cifs_send_recv() stores a replacement response, flush_exit will free the stale response pointer a second time. Reinitialize resp_buftype and rsp_iov at the top of the replay loop so cleanup only acts on response state produced by the current attempt. This fixes a double-free without changing replay handling for successful requests.
Fix
Patch, vendor advisory and mitigation references on NVD 5
- https://git.kernel.org/stable/c/013a9a3da46c5dabcf18f65ea6a47874ba12a15d Patch
- https://git.kernel.org/stable/c/3407240cde132a4b72d6429a2625a09a2f78adaf Patch
- https://git.kernel.org/stable/c/4be31c943a3a27a5a0251dbb8f5cb89059ec3d5a Patch
- https://git.kernel.org/stable/c/6e27f40b682a5e42a2daae3ce6d96f0e0e16dedb Patch
- https://git.kernel.org/stable/c/878757163eea684750107a31ea134c103863515d Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 2
- StatusAnalyzed → ModifiedNVD modified 2026-10-19 21:17
- First seenCVSS 9.8 · linuxNVD modified 2026-10-16 16:19
Affected (CPE criteria) 8
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.8:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.8:rc7:*:*:*:*:*:*
References 5
- https://git.kernel.org/stable/c/013a9a3da46c5dabcf18f65ea6a47874ba12a15d Patch
- https://git.kernel.org/stable/c/3407240cde132a4b72d6429a2625a09a2f78adaf Patch
- https://git.kernel.org/stable/c/4be31c943a3a27a5a0251dbb8f5cb89059ec3d5a Patch
- https://git.kernel.org/stable/c/6e27f40b682a5e42a2daae3ce6d96f0e0e16dedb Patch
- https://git.kernel.org/stable/c/878757163eea684750107a31ea134c103863515d Patch