CVE-2026-31608: 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.
Security readout for executives and security teams
Plain-English summary
A flaw in the Linux kernel’s SMB server can free the same memory twice while processing an SMB Direct send operation. This can corrupt kernel memory and potentially disrupt or compromise an affected system. The supplied CVSS score is 9.8, but the sources do not establish real-world exploitation or a specific exploitation outcome.
Executive priority
Prioritize rapid exposure assessment and vendor-supported patching for network-accessible Linux SMB servers. Escalate internet-facing or broadly reachable systems first. The rating is critical, but management should not describe this as actively exploited without new evidence. Systems not running the affected code path may have substantially lower immediate exposure.
Technical view
The flaw occurs because smb_direct_flush_send_list() calls smb_direct_free_sendmsg(), followed by another free after post_sendmsg() moves the message to the batch list. The kernel fix removes the duplicate free. The supplied assessment indicates network reachability, low complexity, no privileges, and high confidentiality, integrity, and availability impact, but does not prove code execution.
Likely exposure
Systems using affected Linux kernel builds and the SMB server’s SMB Direct send path are the primary concern. The bundle marks 6.18.24, 6.19.14, 7.0, 7.0.1, and 7.1 as affected, but also contains opaque version entries. Distribution backports may alter exposure, so package-level vendor confirmation is necessary.
Exploitation context
The CVSS vector describes a network-accessible, low-complexity issue requiring neither privileges nor user interaction. However, the bundle does not identify a public exploit, observed attacks, or CISA KEV listing. Treat exploitation as plausible based on severity, not confirmed. Exact triggering conditions and reliable impact beyond double-free memory corruption are not documented here.
Researcher notes
The source bundle provides a concise root cause and four stable-kernel fix references, but no CWE, proof of concept, attack telemetry, configuration prerequisites, or demonstrated primitive. Version data includes duplicate and opaque entries, so commit ancestry and distribution backports are more reliable than version-string comparison alone. Avoid inferring remote code execution from CVSS impacts.
Mitigation direction
Update to a vendor-supported kernel containing the referenced stable fix.
Confirm distribution backport status instead of relying only on the displayed kernel version.
Restrict SMB server access to trusted networks while remediation is pending.
Review vendor guidance before disabling SMB Direct or other production functionality.
Validation and detection
Inventory kernel package versions on systems providing SMB services.
Determine whether the SMB server and SMB Direct functionality are enabled and reachable.
Verify the installed kernel contains an applicable referenced fix commit or vendor backport.
Review kernel and SMB service logs for crashes or memory-corruption symptoms.
Retest service operation after updating the kernel.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2026-31608 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
5Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.