{"id":"CVE-2026-31694","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: reject oversized dirents in page cache\n\nfuse_add_dirent_to_cache() computes a serialized dirent size from the\nserver-controlled namelen field and copies the diren…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: reject oversized dirents in page cache\n\nfuse_add_dirent_to_cache() computes a serialized dirent size from the\nserver-controlled namelen field and copies the diren…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 4.20, < 6.6.136","linux_kernel >= 6.7, < 6.12.84","linux_kernel >= 6.13, < 6.18.25","linux_kernel >= 6.19, < 7.0.2","linux_kernel = 7.1"],"patched":["linux_kernel 7.0.2"],"published":"2026-05-01","updated":"2026-07-02","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-31694","references":[{"url":"https://git.kernel.org/stable/c/474ce83c96a55f2eeb14dee2be375eeadfdacdf5","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/51a8de6c50bf947c8f534cd73da4c8f0a13e7bed","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7de93abfaae1b2dc94da8a07a36421bd073f1d8f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","exploit-available"],"epss":0.00173,"epssPercentile":0.05929,"ingestedAt":"2026-07-02T15:38:24.962Z","exploits":{"github":1,"githubRepos":["https://github.com/0xCyberstan/CVE-2026-31694-POC"],"checkedAt":"2026-09-25T08:20:54.745Z"},"exploitAvailable":true,"slug":"CVE-2026-31694","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nfuse: reject oversized dirents in page cache\n\nfuse_add_dirent_to_cache() computes a serialized dirent size from the\nserver-controlled namelen field and copies the dirent into a single\npage-cache page. The existing logic only checks whether the dirent fits\nin the remaining space of the current page and advances to a fresh page\nif not. It never checks whether the dirent itself exceeds PAGE_SIZE.\n\nAs a result, a malicious FUSE server can return a dirent with\nnamelen=4095, producing a serialized record size of 4120 bytes. On 4 KiB\npage systems this causes memcpy() to overflow the cache page by 24 bytes\ninto the following kernel page.\n\nReject dirents that cannot fit in a single page before copying them into\nthe readdir cache.\n\n## Affected\n\n- `linux_kernel >= 4.20, < 6.6.136`\n- `linux_kernel >= 6.7, < 6.12.84`\n- `linux_kernel >= 6.13, < 6.18.25`\n- `linux_kernel >= 6.19, < 7.0.2`\n- `linux_kernel = 7.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 7.0.2`","depth":"midnight","depthScore":55,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":5074,"id":"CVE-2026-31694","ts":1788887247704,"field":"exploit_available","old":"false","new":"true"},{"seq":3957,"id":"CVE-2026-31694","ts":1788886363345,"field":"exploit_available","old":"true","new":"false"},{"seq":2778,"id":"CVE-2026-31694","ts":1788883029679,"field":"exploit_available","old":"false","new":"true"},{"seq":1807,"id":"CVE-2026-31694","ts":1788882432977,"field":"exploit_available","old":"true","new":"false"},{"seq":912,"id":"CVE-2026-31694","ts":1788881866729,"field":"exploit_available","old":"false","new":"true"}]}