# CVE-2026-31694: fuse: reject oversized dirents in page cache

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-28)
- **Published:** 2026-05-01T13:53:36.048Z
- **Modified:** 2026-11-11T21:10:00.200Z

## Who should check

- Anyone running Linux \>= 27992ef80770d61a57f6c3a551735b08cefdffa3, \< 7de93abfaae1b2dc94da8a07a36421bd073f1d8f; \>= 27992ef80770d61a57f6c3a551735b08cefdffa3, \< 474ce83c96a55f2eeb14dee2be375eeadfdacdf5; \>= 27992ef80770d61a57f6c3a551735b08cefdffa3, \< 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed
- Anyone running Linux 6.15

## 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 and fixed versions

- Linux: \>= 27992ef80770d61a57f6c3a551735b08cefdffa3, \< 7de93abfaae1b2dc94da8a07a36421bd073f1d8f; \>= 27992ef80770d61a57f6c3a551735b08cefdffa3, \< 474ce83c96a55f2eeb14dee2be375eeadfdacdf5; \>= 27992ef80770d61a57f6c3a551735b08cefdffa3, \< 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31694. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31694.md
Affected: Linux >= 27992ef80770d61a57f6c3a551735b08cefdffa3, < 7de93abfaae1b2dc94da8a07a36421bd073f1d8f; >= 27992ef80770d61a57f6c3a551735b08cefdffa3, < 474ce83c96a55f2eeb14dee2be375eeadfdacdf5; >= 27992ef80770d61a57f6c3a551735b08cefdffa3, < 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed; Linux 6.15
Fixed in: Linux 7de93abfaae1b2dc94da8a07a36421bd073f1d8f, Linux 474ce83c96a55f2eeb14dee2be375eeadfdacdf5, Linux 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31694 being exploited?

There is no confirmed exploitation: CVE-2026-31694 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-31694?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31694?

Linux \>= 27992ef80770d61a57f6c3a551735b08cefdffa3, \< 7de93abfaae1b2dc94da8a07a36421bd073f1d8f; \>= 27992ef80770d61a57f6c3a551735b08cefdffa3, \< 474ce83c96a55f2eeb14dee2be375eeadfdacdf5; \>= 27992ef80770d61a57f6c3a551735b08cefdffa3, \< 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed; Linux 6.15.

### Is there a fix for CVE-2026-31694?

Yes. Fixed in Linux 7de93abfaae1b2dc94da8a07a36421bd073f1d8f, Linux 474ce83c96a55f2eeb14dee2be375eeadfdacdf5, Linux 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed. Upgrade Linux to 51a8de6c50bf947c8f534cd73da4c8f0a13e7bed or later.

### How do I check if I'm affected by CVE-2026-31694?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7de93abfaae1b2dc94da8a07a36421bd073f1d8f>
- patch: <https://git.kernel.org/stable/c/474ce83c96a55f2eeb14dee2be375eeadfdacdf5>
- patch: <https://git.kernel.org/stable/c/51a8de6c50bf947c8f534cd73da4c8f0a13e7bed>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31694>

HTML: <https://flawdb.com/CVE-2026-31694> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31694>
