Bug 2507046 (CVE-2026-64387) - CVE-2026-64387 kernel: smb: client: fix query directory replay double-free
Summary: CVE-2026-64387 kernel: smb: client: fix query directory replay double-free
Keywords:
Status: NEW
Alias: CVE-2026-64387
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-25 10:02 UTC by OSIDB Bzimport
Modified: 2026-07-29 13:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-25 10:02:11 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-07-29 08:16:10 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026072526-CVE-2026-64387-ff1a@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.