{"id":"CVE-2025-38561","published":"2025-08-19T17:02:38Z","modified":"2026-08-05T12:02:55Z","title":"ksmbd: fix Preauh_HashValue race condition","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix Preauh_HashValue race condition\n\nIf client send multiple session setup requests to ksmbd,\nPreauh_HashValue race condition could happen.\nThere is no need to free sess->Preauh_HashValue at session setup phase.\nIt can be freed together with session at connection termination phase.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00542,"percentile":0.46476,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://git.kernel.org/stable/c/fbf5c0845ed15122a770bca9be1d9b60b470d3aa","tags":[]},{"url":"https://git.kernel.org/stable/c/b69fd87076daa66f3d186bd421a7b0ee0cb45829","tags":[]},{"url":"https://git.kernel.org/stable/c/edeecc7871e8fc0878d53ce286c75040a0e38f6c","tags":[]},{"url":"https://git.kernel.org/stable/c/7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc","tags":[]},{"url":"https://git.kernel.org/stable/c/6613887da1d18dd2ecfd6c6148a873c4d903ebdc","tags":[]},{"url":"https://git.kernel.org/stable/c/44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6","tags":[]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-25-916/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":9.3},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-10-08","earliestUrl":"https://github.com/toshithh/CVE-2025-38561","repos":[{"name":"toshithh/CVE-2025-38561","url":"https://github.com/toshithh/CVE-2025-38561","stars":0,"created":"2025-10-08"}]},"first":{"date":"2025-10-08","source":"PoC-in-GitHub","url":"https://github.com/toshithh/CVE-2025-38561"},"provenance":"source"},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < fbf5c0845ed15122a770bca9be1d9b60b470d3aa",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < b69fd87076daa66f3d186bd421a7b0ee0cb45829",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < edeecc7871e8fc0878d53ce286c75040a0e38f6c",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6613887da1d18dd2ecfd6c6148a873c4d903ebdc",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-09-26T03:55:12.286714Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-26504","exploited":false,"provenance":"source"}}