CVE-2025-39888
published high CVSS 3.1 · 7.8fuse: Block access to folio overlimit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3568a956932621cafadafc8b75fcf6dc06555105 to < 623719227b114d73a2cee45f1b343ced63ce09ec · 3568a956932621cafadafc8b75fcf6dc06555105 to < 9d81ba6d49a7457784f0b6a71046818b86ec7e44 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.16.8 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: fuse: Block access to folio overlimit syz reported a slab-out-of-bounds Write in fuse_dev_do_write. When the number of bytes to be retrieved is truncated to the upper limit by fc->max_pages and there is an offset, the oob is triggered. Add a loop termination condition to prevent overruns.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached by a local process writing a FUSE_NOTIFY_RETRIEVE message to an open /dev/fuse file descriptor; no network or physical access is involved. AC:L - Every parameter that determines the overflow is attacker-controlled — max_pages and max_write via the FUSE_INIT reply, file size via attribute replies, page-cache residency via FUSE_NOTIFY_STORE, and the intra-page offset via the notify message — making the overflow deterministic and repeatable. PR:L - An unprivileged local user suffices: FUSE is flagged FS_USERNS_MOUNT so a mount can be created inside an unprivileged user namespace (unshare -Ur), and the setuid fusermount helper offers the same on typical distros; the notify path itself has no capability check. UI:N - The attacker acts as both the FUSE server and the client, populating the page cache from the server side via FUSE_NOTIFY_STORE and issuing the malicious retrieve notification itself, so no victim action is needed. S:U - The heap corruption occurs in kernel memory belonging to the same security authority as the attacking process; this is standard kernel privilege escalation with no crossing of a hypervisor or IOMMU boundary. C:H - Overwriting descs[0] with a folio pointer yields a ~0xffffea00 byte offset passed to kmap_local_folio(), causing a large out-of-bounds kernel read whose contents are copied straight into the attacker's userspace read() buffer on /dev/fuse. I:H - This is a slab out-of-bounds write of 8 attacker-influenced bytes past the kzalloc'd allocation, and because the attacker tunes max_pages to land the allocation exactly on a kmalloc bucket boundary the write corrupts an adjacent slab object — a classic heap-corruption primitive for privilege escalation. A:H - The out-of-bounds write plus the resulting wild-pointer read from a bogus folio offset reliably produce memory corruption and an oops/panic, as demonstrated by the KASAN-detected slab-out-of-bounds write in the syzbot reproducer.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3568a956932621cafadafc8b75fcf6dc06555105 to < 623719227b114d73a2cee45f1b343ced63ce09ec (affected · git)3568a956932621cafadafc8b75fcf6dc06555105 to < 9d81ba6d49a7457784f0b6a71046818b86ec7e44 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.16.8 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-787 CWE-787 Out-of-bounds Write
References
2Provider assertions
2Linux · cna
fuse: Block access to folio overlimit
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- db67c9baedd5a985750a9715e83e84fb19aa2e37fb15a30fb9003b137b75b229
- Ingested
- 23 Sep 2026, 08:47:06 UTC
- Source record
- Official CVE record