smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()
In the Linux kernel, the following vulnerability has been resolved: smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list() smb_direct_flush_send_list() already calls smb_direct_free_sendmsg(), so we should not call it again after post_sendmsg() moved it to the batch list.
02 / AFFECTED SOFTWARE
Affected packages
26 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
In the Linux kernel, the following vulnerability has been resolved: smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list() smb_direct_flush_send_list() already calls smb_direct_free_sendmsg(), so we should not call it again after post_sendmsg() moved it to the batch list.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/2ba03f46132b0d1a7bafb86e1ef61951a2254023
- https://git.kernel.org/stable/c/6968c91fab05b8fc4d6700e0cf34472bb422df25
- https://git.kernel.org/stable/c/830de6eeb9db4cb7e758201fb99328ef4ca4b032
- https://git.kernel.org/stable/c/84ff995ae826aa6bbcc6c7b9ea569ff67c021d72
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31608.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-31608