Skip to content
CVE PROGRAM SOURCE RECORD9.8 Critical

CVE-2026-64387

smb: client: fix query directory replay double-free

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix query directory replay double-free A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_directory_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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 433042a91f9373241307725b52de573933ffedbf to < 3409aedf3c81a810243da94164f6621c9d205c98affected
  • 4f1fffa2376922f3d1d506e49c0fd445b023a28e to < 1665f25b1dea30bf2d02e16245d203a944c9d994affected
  • 4f1fffa2376922f3d1d506e49c0fd445b023a28e to < 00b0fa425941438b664950a8ee65dfba2def4336affected
  • 4f1fffa2376922f3d1d506e49c0fd445b023a28e to < 3317a5d015fca976475aa71df224056777316fdeaffected
  • 4f1fffa2376922f3d1d506e49c0fd445b023a28e to < 9647492b5e41954be59d5157eddbcd4cdc1656f7affected
  • 6.6.32 to < 6.6.145affected

Linux Linux

Default version status: affected

  • 6.8affected
  • 0 to < 6.8unaffected
  • 6.6.145 to ≤ 6.6.*unaffected
  • 6.12.96 to ≤ 6.12.*unaffected
  • 6.18.39 to ≤ 6.18.*unaffected
  • 7.1.4 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References