CVE-2026-31608Published Apr 24, 2026 · Apr 24Updated 3d ago
smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()
Linux
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel SMB server can double-free a send message after it has been moved to the batch list, because smb_direct_flush_send_list() already frees it. The input does not establish what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers running the Linux kernel SMB server should check their systems; affected versions were not provided.