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

CVE-2026-31608
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.46 % · percentile 40 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7 < 6968c91fab05b8fc4d6700e0cf34472bb422df25 ; affected 79242e7b6bc63efec28b7c235bc320806afce6c0 < 2ba03f46132b0d1a7bafb86e1ef61951a2254023 ; affected 34abd408c8ba24d7c97bd02ba874d8c714f49db1 < 830de6eeb9db4cb7e758201fb99328ef4ca4b032 ; affected 34abd408c8ba24d7c97bd02ba874d8c714f49db1 < 84ff995ae826aa6bbcc6c7b9ea569ff67c021d72 ; affected 6.18.11 < 6.18.24 ; affected 6.19.1 < 6.19.14
Linux · Linuxaffected 7.0 ; unaffected 0 < 7.0 ; unaffected 6.18.24 ≤ 6.18.* ; unaffected 6.19.14 ≤ 6.19.* ; unaffected 7.0.1 ≤ 7.0.* ; unaffected 7.1 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD