{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64392","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-07-19T15:36:31.785Z","datePublished":"2026-07-25T08:50:38.634Z","dateUpdated":"2026-08-17T04:54:44.931Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T04:54:44.931Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: use opener credentials for delete-on-close\n\nDelete-on-close can be completed by deferred or durable handle teardown,\nwhere no request work is available. Both the base-file unlink and the ADS\nxattr removal consequently run with the ksmbd worker credentials and can\nbypass filesystem permission checks.\n\nRun both operations with the credentials captured in struct file when the\nhandle was opened. This preserves the authenticated user's fsuid, fsgid,\nsupplementary groups and capability restrictions at final close."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - A remote SMB client reaches the vulnerable CREATE, SET_INFO, and CLOSE paths through ksmbd over TCP/445.\nAC:L - The attacker can deterministically request delete-on-close and close or disconnect the handle; no race or condition outside attacker control is required.\nPR:N - Although a valid SMB session and writable tree are required, ksmbd supports anonymous guest sessions, making exploitation possible without prior privileges on a reasonably configured writable guest share.\nUI:N - Exploitation requires only attacker-generated SMB requests and no action by another user.\nS:U - The unauthorized filesystem operations occur within the same host and kernel security authority, without crossing a VM, sandbox, or IOMMU boundary.\nC:N - The flaw only unlinks filesystem objects or removes ADS xattrs; it provides no read primitive, information disclosure, or memory corruption.\nI:H - The privileged worker can delete attacker-selected files, empty directories, or ADS data despite the opener's filesystem restrictions, permitting complete destruction or replacement of protected exported data.\nA:H - The attacker can repeatedly and recursively delete exported resources, potentially causing complete loss of critical share data or services that depend on it."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/vfs.c","fs/smb/server/vfs_cache.c"],"versions":[{"version":"f44158485826c076335d6860d35872271a83791d","lessThan":"f08b3f451f12eee4abd8a5981803bc36db84458b","status":"affected","versionType":"git"},{"version":"f44158485826c076335d6860d35872271a83791d","lessThan":"18c59109bb6fb816d5102171666f87cf1e29901d","status":"affected","versionType":"git"},{"version":"f44158485826c076335d6860d35872271a83791d","lessThan":"e72c15085b6d86f45d224d98aa75b5cace4aaab9","status":"affected","versionType":"git"},{"version":"f44158485826c076335d6860d35872271a83791d","lessThan":"4b7059974549d278e30fe70e2a4e421f9839817d","status":"affected","versionType":"git"},{"version":"f44158485826c076335d6860d35872271a83791d","lessThan":"52e2f21911158ec961cd5aae19c56460db382af0","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/vfs.c","fs/smb/server/vfs_cache.c"],"versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.96","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.39","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.4","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.1.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/f08b3f451f12eee4abd8a5981803bc36db84458b"},{"url":"https://git.kernel.org/stable/c/18c59109bb6fb816d5102171666f87cf1e29901d"},{"url":"https://git.kernel.org/stable/c/e72c15085b6d86f45d224d98aa75b5cace4aaab9"},{"url":"https://git.kernel.org/stable/c/4b7059974549d278e30fe70e2a4e421f9839817d"},{"url":"https://git.kernel.org/stable/c/52e2f21911158ec961cd5aae19c56460db382af0"}],"title":"ksmbd: use opener credentials for delete-on-close","x_generator":{"engine":"bippy-1.2.0"}}}}