{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-64400","published":"2026-07-25T10:17:23.510000Z","last_modified":"2026-10-30T13:19:36.180000Z","status":"Modified","cvss":{"version":"3.1","score":8.6,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.15.145","version_end_excluding":"5.16"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.1.71","version_end_excluding":"6.2"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.3.10","version_end_excluding":"7.1.4"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2026-64400/","html_en":"/en/cve/CVE-2026-64400/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64400","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64400"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: prevent path traversal bypass by restricting caseless retry\n\nksmbd_vfs_path_lookup() enforces LOOKUP_BENEATH to restrict path\nresolution within the share root. When a crafted path attempts to\nescape the share boundary using parent-directory components ('..'),\nvfs_path_parent_lookup() detects this and immediately fails,\nreturning -EXDEV.\n\nHowever, a bug exists in __ksmbd_vfs_kern_path() under caseless mode.\nThe function fails to intercept the -EXDEV error and erroneously\nfalls through to the caseless retry logic, which is intended only\nfor genuinely missing files. During this retry process, the path\nis reconstructed, leading to an unintended LOOKUP_BENEATH bypass\nthat allows write-capable users to create zero-length files or\ndirectories outside the exported share.\n\nFix this by ensuring that the execution only proceeds to the caseless\nlookup retry when the error is specifically -ENOENT. Any other errors,\nsuch as -EXDEV from a path traversal attempt, must be returned immediately.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/21f050439db157f2afcc19885dec14549ca6ffc0","tags":[]},{"url":"https://git.kernel.org/stable/c/54bab9ba5a9f156ffa9324fcbe5a356fd0242f95","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/8c9a4f1327eb71efbf14842e7b8a6d965077eb67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a1c331d98313380c38f616c8b28b890ec8ef9c28","tags":[]},{"url":"https://git.kernel.org/stable/c/cfb5a56c218888f9d74165dff0c282cd0be97983","tags":[]},{"url":"https://git.kernel.org/stable/c/eec1dd2586c4016b7555a5d047db2b3756459fb2","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:11476-1","url":"https://www.suse.com/support/update/","published":"2026-08-09T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"kernel-devel-7.1.7-1.1 on GA media"}}]}