CVE-2026-31694

fuse: reject oversized dirents in page cache

HIGH
7.8
CVSS Score
Published: May 1, 2026 at 01:53 PM UTC
Updated: October 23, 2026 at 02:06 PM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 Tm MFP Firmware· also runs on 1 platform

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: fuse: reject oversized dirents in page cache fuse_add_dirent_to_cache() computes a serialized dirent size from the server-controlled namelen field and copies the dirent into a single page-cache page. The existing logic only checks whether the dirent fits in the remaining space of the current page and advances to a fresh page if not. It never checks whether the dirent itself exceeds PAGE_SIZE. As a result, a malicious FUSE server can return a dirent with namelen=4095, producing a serialized record size of 4120 bytes. On 4 KiB page systems this causes memcpy() to overflow the cache page by 24 bytes into the following kernel page. Reject dirents that cannot fit in a single page before copying them into the readdir cache.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.15 ≤ v < 6.18.256.19 ≤ v < 7.0.227992ef80770d61a57f6c3a551735b08cefdffa37.17.1 rc17.1 rc2
Vendor states this is fixed in 474ce83c96a55f2eeb14dee2be375eeadfdacdf5 (fixed)
Vendor states this is fixed in 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed (fixed)
Vendor states this is fixed in 7de93abfaae1b2dc94da8a07a36421bd073f1d8f (fixed)
Affected range stops below 6.12.84, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.18.25 (unaffected)
Affected range stops below 6.6.136, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 7.0.2 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card