# CVE-2026-31608: smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-04-24T14:42:30.137Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-415
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7 before 6968c91fab05b8fc4d6700e0cf34472bb422df25; from 79242e7b6bc63efec28b7c235bc320806afce6c0 before 2ba03f46132b0d1a7bafb86e1ef61951a2254023; from 34abd408c8ba24d7c97bd02ba874d8c714f49db1 before 830de6eeb9db4cb7e758201fb99328ef4ca4b032; from 34abd408c8ba24d7c97bd02ba874d8c714f49db1 before 84ff995ae826aa6bbcc6c7b9ea569ff67c021d72; from 6.18.11 before 6.18.24; from 6.19.1 before 6.19.14; 7.0 (not affected: before 7.0; from 6.18.24 up to 6.18.*; from 6.19.14 up to 6.19.*; from 7.0.1 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: before 6.18.24; from 6.19 before 6.19.14; from 7.0 before 7.0.1

## References

- <https://git.kernel.org/stable/c/6968c91fab05b8fc4d6700e0cf34472bb422df25> (patch)
- <https://git.kernel.org/stable/c/2ba03f46132b0d1a7bafb86e1ef61951a2254023> (patch)
- <https://git.kernel.org/stable/c/830de6eeb9db4cb7e758201fb99328ef4ca4b032> (patch)
- <https://git.kernel.org/stable/c/84ff995ae826aa6bbcc6c7b9ea569ff67c021d72> (patch)

## Sources

- CVE List: [CVE-2026-31608](https://www.cve.org/CVERecord?id=CVE-2026-31608), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-31608](https://nvd.nist.gov/vuln/detail/CVE-2026-31608), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31608 · Whole record: https://cve.day/CVE-2026-31608.json · Rebuilt by cve.day 2026-11-25T22:59:19.512Z
