CVE-2026-64385

smb: client: fix double-free in SMB2_ioctl() replay

State
Published
Severity
9.8 Critical
Published
Jul 25, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix double-free in SMB2_ioctl() replay

A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_ioctl_init() fails before the next send, cleanup retains the previous buffer type and frees that response again.

Reset response bookkeeping before each attempt to prevent the stale free.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 433042a91f9373241307725b52de573933ffedbf to before 0be4bc64882edaefaaee8d1e27d083643eb778e6Affected
  • 4f1fffa2376922f3d1d506e49c0fd445b023a28e to before 96fcfc8ae7359346156e492ca610e830d2649ad6Affected
  • 4f1fffa2376922f3d1d506e49c0fd445b023a28e to before 276c8efbc49f9303ac76d0d4deab7128581b0f3bAffected
  • 4f1fffa2376922f3d1d506e49c0fd445b023a28e to before fc65ffb4ef1bf540da16b17c225ae51091e07d72Affected
  • 4f1fffa2376922f3d1d506e49c0fd445b023a28e to before f9bbadb6c94583e3b4af1afc449bfceb1d1ddec9Affected
  • 6.6.32 to before 6.6.145Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.96 through 6.12.*Not affected
  • 6.18.39 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.