smb: client: fix double-free in SMB2_flush() replay (Linux Linux)

CVE-2026-64383
CRITICAL 9.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double-free in SMB2_flush() replay SMB2_flush() keeps its response buffer bookkeeping across replay attempts. If a replayable flush response is received and the retry then fails before cifs_send_recv() stores a replacement response, flush_exit will free the stale response pointer a second time. Reinitialize resp_buftype and rsp_iov at the top of the replay loop so cleanup only acts on response state produced by the current attempt. This fixes a double-free without changing replay handling for successful requests.

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 433042a91f9373241307725b52de573933ffedbf < 6e27f40b682a5e42a2daae3ce6d96f0e0e16dedb ; affected 4f1fffa2376922f3d1d506e49c0fd445b023a28e < 878757163eea684750107a31ea134c103863515d ; affected 4f1fffa2376922f3d1d506e49c0fd445b023a28e < 3407240cde132a4b72d6429a2625a09a2f78adaf ; affected 4f1fffa2376922f3d1d506e49c0fd445b023a28e < 013a9a3da46c5dabcf18f65ea6a47874ba12a15d ; affected 4f1fffa2376922f3d1d506e49c0fd445b023a28e < 4be31c943a3a27a5a0251dbb8f5cb89059ec3d5a ; affected 6.6.32 < 6.6.145
Linux · Linuxaffected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.96 ≤ 6.12.* ; unaffected 6.18.39 ≤ 6.18.* ; unaffected 7.1.4 ≤ 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