{"id":"CVE-2026-31717","published":"2026-05-01T13:56:12Z","modified":"2026-08-05T12:24:48Z","title":"ksmbd: validate owner of durable handle on reconnect","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate owner of durable handle on reconnect\n\nCurrently, ksmbd does not verify if the user attempting to reconnect\nto a durable handle is the same user who originally opened the file.\nThis allows any authenticated user to hijack an orphaned durable handle\nby predicting or brute-forcing the persistent ID.\n\nAccording to MS-SMB2, the server MUST verify that the SecurityContext\nof the reconnect request matches the SecurityContext associated with\nthe existing open.\nAdd a durable_owner structure to ksmbd_file to store the original opener's\nUID, GID, and account name. and catpure the owner information when a file\nhandle becomes orphaned. and implementing ksmbd_vfs_compare_durable_owner()\nto validate the identity of the requester during SMB2_CREATE (DHnC).","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00601,"percentile":0.42828,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/712cdf917e77a6444ce3836874829d770db20ee6","tags":[]},{"url":"https://git.kernel.org/stable/c/c7f0f0d01c88bdcb8b1694d7d321670013f7ed7d","tags":[]},{"url":"https://git.kernel.org/stable/c/00ce8d6789dae72d042a4522264964c72891ca37","tags":[]},{"url":"https://git.kernel.org/stable/c/c908c853f304a4969b5aa10eba0b50350cc65b80","tags":[]},{"url":"https://git.kernel.org/stable/c/49110a8ce654bbe56bef7c5e44cce31f4b102b8a","tags":[]}],"priority":{"score":19.7,"factors":[{"name":"EPSS percentile","points":8.57},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-04","earliestUrl":"https://github.com/TurtleARM/ksmbrace","repos":[{"name":"TurtleARM/ksmbrace","url":"https://github.com/TurtleARM/ksmbrace","stars":5,"created":"2026-05-04"}]},"first":{"date":"2026-05-04","source":"PoC-in-GitHub","url":"https://github.com/TurtleARM/ksmbrace"},"provenance":"source"},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8df4bcdb0a4232192b2445256c39b787d58ef14d, < 712cdf917e77a6444ce3836874829d770db20ee6",">= c8efcc786146a951091588e5fa7e3c754850cb3c, < c7f0f0d01c88bdcb8b1694d7d321670013f7ed7d",">= c8efcc786146a951091588e5fa7e3c754850cb3c, < 00ce8d6789dae72d042a4522264964c72891ca37",">= c8efcc786146a951091588e5fa7e3c754850cb3c, < c908c853f304a4969b5aa10eba0b50350cc65b80",">= c8efcc786146a951091588e5fa7e3c754850cb3c, < 49110a8ce654bbe56bef7c5e44cce31f4b102b8a",">= 6.6.32, < 6.6.142"]},{"vendor":"Linux","product":"Linux","versions":["6.9"]}],"euvd":{"id":"EUVD-2026-26526","exploited":false,"provenance":"source"}}