{"id":"CVE-2026-64387","aliases":["CVE-2026-64387"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: fix query directory replay double-free","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix query directory replay double-free\n\nA response-bearing attempt can return a replayable error and free its\nresponse buffer. If SMB2_query_directory_init() fails before the next send,\ncleanup retains the previous buffer type and frees that response again.\n\nReset response bookkeeping before each attempt to prevent the stale free.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix query directory replay double-free\n\nA response-bearing attempt can return a replayable error and free its\nresponse buffer. If SMB2_query_directory_init() fails before the next send,\ncleanup retains the previous buffer type and frees that response again.\n\nReset response bookkeeping before each attempt to prevent the stale free.","source":"cvelist"}],"published":"2026-07-25T08:50:35.543Z","modified":"2026-10-19T21:17:35.290Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"433042a91f9373241307725b52de573933ffedbf","fixed":"3409aedf3c81a810243da94164f6621c9d205c98","status":"affected"},{"type":"git","introduced":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","fixed":"1665f25b1dea30bf2d02e16245d203a944c9d994","status":"affected"},{"type":"git","introduced":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","fixed":"00b0fa425941438b664950a8ee65dfba2def4336","status":"affected"},{"type":"git","introduced":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","fixed":"3317a5d015fca976475aa71df224056777316fde","status":"affected"},{"type":"git","introduced":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","fixed":"9647492b5e41954be59d5157eddbcd4cdc1656f7","status":"affected"},{"type":"semver","introduced":"6.6.32","fixed":"6.6.145","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6.32","fixed":"6.6.145"},{"status":"affected","introduced":"6.8.1","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3409aedf3c81a810243da94164f6621c9d205c98","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1665f25b1dea30bf2d02e16245d203a944c9d994","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00b0fa425941438b664950a8ee65dfba2def4336","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3317a5d015fca976475aa71df224056777316fde","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9647492b5e41954be59d5157eddbcd4cdc1656f7","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T15:40:04.387Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64387","url":"https://www.cve.org/CVERecord?id=CVE-2026-64387","licence":"CVE Terms of Use","modified":"2026-10-19T20:38:26.713Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64387","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64387","licence":"Public domain","modified":"2026-10-19T21:17:35.290Z"}],"updatedAt":"2026-11-25T22:59:30.097Z","epss":{"score":0.00457,"percentile":0.41377,"date":"2026-12-01T12:00:22.000Z"}}