CVE-2026-64386 PUBLISHED

smb: client: fix query_info() replay double-free

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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

smb: client: fix query_info() replay double-free

A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_query_info_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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 433042a91f9373241307725b52de573933ffedbf to 100fb7c455fa86d248b8bd7bb9de757c192870b4 (excl.)
  • affected from 4f1fffa2376922f3d1d506e49c0fd445b023a28e to 3c81dda84799f76b42aec598564316e2964440db (excl.)
  • affected from 4f1fffa2376922f3d1d506e49c0fd445b023a28e to f1add4acb656f5a82806a1ab0e63fed3d8b1bfca (excl.)
  • affected from 4f1fffa2376922f3d1d506e49c0fd445b023a28e to 89234773e8348918111aa15f6922b58cf3843364 (excl.)
  • affected from 4f1fffa2376922f3d1d506e49c0fd445b023a28e to 2a88561d66eb855813cf004a0abe648bbb17de5e (excl.)
  • affected from 6.6.32 to 6.6.145 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.8 is affected
  • unaffected from 0 to 6.8 (excl.)
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References