{"id":"CVE-2026-64382","state":"PUBLISHED","title":"smb: client: fix double-free in SMB2_open() replay","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix double-free in SMB2_open() replay\n\nA response-bearing attempt can return a replayable error and free its\nresponse buffer. If SMB2_open_init() fails before the next send, cleanup\nretains the previous buffer type and frees that response again.\n\nReset response bookkeeping before each attempt to prevent the stale free.","publishedAt":"2026-07-25T08:50:31.937Z","updatedAt":"2026-10-19T20:38:25.998Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"433042a91f9373241307725b52de573933ffedbf","status":"affected","lessThan":"02bc2896bdc3e29362d6e40d404006944a159c25","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"3196b5192f246df4272072f61a2f4a3e9967f55d","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"14498ff5ce0f272ce0ef988721413e06b7038972","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"ff2d30927bc3bf3c629f0768d2068096e64ef5ce","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"b55e182f2324bc6a604c21a47aa6c448f719a532","versionType":"git"},{"version":"6.6.32","status":"affected","lessThan":"6.6.145","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2pdu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2pdu.c"]}],"references":["https://git.kernel.org/stable/c/02bc2896bdc3e29362d6e40d404006944a159c25","https://git.kernel.org/stable/c/3196b5192f246df4272072f61a2f4a3e9967f55d","https://git.kernel.org/stable/c/14498ff5ce0f272ce0ef988721413e06b7038972","https://git.kernel.org/stable/c/ff2d30927bc3bf3c629f0768d2068096e64ef5ce","https://git.kernel.org/stable/c/b55e182f2324bc6a604c21a47aa6c448f719a532"],"weaknesses":["CWE-415"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64382.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64382","state":"PUBLISHED","datePublished":"2026-07-25T08:50:31.937Z","dateUpdated":"2026-10-19T20:38:25.998Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T15:36:31.784Z"},"containers":{"cna":{"title":"smb: client: fix double-free in SMB2_open() replay","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix double-free in SMB2_open() replay\n\nA response-bearing attempt can return a replayable error and free its\nresponse buffer. If SMB2_open_init() fails before the next send, cleanup\nretains the previous buffer type and frees that response again.\n\nReset response bookkeeping before each attempt to prevent the stale free."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"433042a91f9373241307725b52de573933ffedbf","status":"affected","lessThan":"02bc2896bdc3e29362d6e40d404006944a159c25","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"3196b5192f246df4272072f61a2f4a3e9967f55d","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"14498ff5ce0f272ce0ef988721413e06b7038972","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"ff2d30927bc3bf3c629f0768d2068096e64ef5ce","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"b55e182f2324bc6a604c21a47aa6c448f719a532","versionType":"git"},{"version":"6.6.32","status":"affected","lessThan":"6.6.145","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2pdu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2pdu.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/02bc2896bdc3e29362d6e40d404006944a159c25"},{"url":"https://git.kernel.org/stable/c/3196b5192f246df4272072f61a2f4a3e9967f55d"},{"url":"https://git.kernel.org/stable/c/14498ff5ce0f272ce0ef988721413e06b7038972"},{"url":"https://git.kernel.org/stable/c/ff2d30927bc3bf3c629f0768d2068096e64ef5ce"},{"url":"https://git.kernel.org/stable/c/b55e182f2324bc6a604c21a47aa6c448f719a532"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - A malicious SMB2/SMB3 server can trigger the flaw through network-delivered CREATE error responses after a victim mounts or accesses its share.\nAC:L - The server controls the replayable status and can disconnect or refuse reconnection so the next initialization fails; it can repeat the sequence to overcome scheduling variance.\nPR:N - The attacking server needs no account or privileges on the client, because the victim supplies the mounted SMB session and initiates the request.\nUI:R - A victim must mount the malicious share or perform an operation such as statfs, ACL access, notification, or file access that causes SMB2_open() to run.\nS:U - The double-free corrupts memory within the client kernel's existing security authority and does not inherently cross a VM or IOMMU boundary.\nC:H - The double-free can produce overlapping live SMB buffers and use-after-free access, supporting kernel-memory disclosure and arbitrary-read exploitation.\nI:H - Reallocation of the freed mempool object permits attacker-controlled network data to corrupt live kernel objects or allocator metadata, enabling arbitrary writes or control-flow hijacking.\nA:H - The double-free can immediately trigger allocator diagnostics or heap corruption leading to a kernel oops or panic, and the server can repeatedly retrigger it."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T04:54:33.945Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.32","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.1.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-64382","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:39:50.312133Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-415","lang":"en","type":"CWE","description":"CWE-415 Double Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T20:38:25.998Z"}}]}}}