← CVE Intelligence

CVE-2026-31608

smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list() PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7 before 6968c91fab05b8fc4d6700e0cf34472bb422df25; affected 79242e7b6bc63efec28b7c235bc320806afce6c0 before 2ba03f46132b0d1a7bafb86e1ef61951a2254023; affected 34abd408c8ba24d7c97bd02ba874d8c714f49db1 before 830de6eeb9db4cb7e758201fb99328ef4ca4b032; affected 34abd408c8ba24d7c97bd02ba874d8c714f49db1 before 84ff995ae826aa6bbcc6c7b9ea569ff67c021d72; affected 6.18.11 before 6.18.24; affected 6.19.1 before 6.19.14
Linux / Linuxaffected 7.0; unaffected 0 before 7.0; unaffected 6.18.24 through 6.18.*; unaffected 6.19.14 through 6.19.*; unaffected 7.0.1 through 7.0.*; unaffected 7.1 through *

CWE

No CWE identifiers supplied.

References