CVE-2026-64400
Vulnérabilité élevée dans Linux (Linux)
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent path traversal bypass by restricting caseless retry ksmbd_vfs_path_lookup() enforces LOOKUP_BENEATH to restrict path resolution within the share root. When a crafted path attempts to escape the share boundary using parent-directory components ('..'), vfs_path_parent_lookup() detects this and immediately fails, returning -EXDEV. However, a bug exists in __ksmbd_vfs_kern_path() under caseless mode. The function fails to intercept the -EXDEV error and erroneously falls through to the caseless retry logic, which is intended only for genuinely missing files. During this retry process, the path is reconstructed, leading to an unintended LOOKUP_BENEATH bypass that allows write-capable users to create zero-length files or directories outside the exported share. Fix this by ensuring that the execution only proceeds to the caseless lookup retry when the error is specifically -ENOENT. Any other errors, such as -EXDEV from a path traversal attempt, must be returned immediately.
Gravité et risque d'exploitation
CVE-2026-64400 obtient un score CVSS de 8.6/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.60 %, ce qui la place devant 47.8 % des CVE référencées.
Que faire ?
- Vérifiez si Linux (versions 6.1.71, ef6cc1c465786b3e4e735d1ab8b616b3e94402df, 0, <=7.1.*, 7.1.4, 6.4, 6.18.57, 019aae488dbc67c97a33db03652e20e2c9e3afa7, 5.15.145, <54bab9ba5a9f156ffa9324fcbe5a356fd0242f95, 6.3.10, <8c9a4f1327eb71efbf14842e7b8a6d965077eb67, <6.4, <cfb5a56c218888f9d74165dff0c282cd0be97983, <5.16, <=6.18.*, <6.2, 6927ffe7479c72e7ebf885507227266a75f7c97d, <=*, 74d7970febf7e9005375aeda0df821d2edffc9f7, 7.2) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
