Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-21896

published high CVSS 3.1 · 7.8

fuse: revert back to __readahead_folio() for readahead

Published
01 Apr 2025, 15:26:49 UTC
Updated
05 Aug 2026, 11:55:13 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3eab9d7bc2f4ae7f3f9c9c7852ff61600df79856 to < 60db11f1b7fba4a66b117ea998d965818784a98d · 3eab9d7bc2f4ae7f3f9c9c7852ff61600df79856 to < 0c67c37e1710b2a8f61c8a02db95a51fe577e2c1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.13.6 through 6.13.* (unaffected · semver) · 6.14 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: revert back to __readahead_folio() for readahead In commit 3eab9d7bc2f4 ("fuse: convert readahead to use folios"), the logic was converted to using the new folio readahead code, which drops the reference on the folio once it is locked, using an inferred reference on the folio. Previously we held a reference on the folio for the entire duration of the readpages call. This is fine, however for the case for splice pipe responses where we will remove the old folio and splice in the new folio (see fuse_try_move_page()), we assume that there is a reference held on the folio for ap->folios, which is no longer the case. To fix this, revert back to __readahead_folio() which allows us to hold the reference on the folio for the duration of readpages until either we drop the reference ourselves in fuse_readpages_end() or the reference is dropped after it's replaced in the page cache in the splice case. This will fix the UAF bug that was reported.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

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 bug is reached by mounting a FUSE filesystem and reading a file on it, with the attacker-controlled userspace FUSE server replying over /dev/fuse; this requires local system access (mount + syscalls), not network reachability. AC:L - The attacker controls both halves of the trigger — their own FUSE daemon chooses SPLICE_F_MOVE splice replies with page-aligned stealable buffers, and their own reader process drives readahead — making the refcount underflow deterministic rather than racy. PR:L - Only an unprivileged local account is needed: fuse_fs_type sets FS_USERNS_MOUNT so FUSE can be mounted inside an unprivileged user namespace (unshare -Urm), and distros also ship setuid fusermount3 for direct unprivileged mounts. UI:N - The attacker's own processes perform both the mount/server role and the file read; no action by any other user is required. S:U - The corruption stays within the kernel's own security authority — standard local kernel memory corruption with no VM, IOMMU, or hypervisor boundary crossed. C:H - The over-decremented folio is returned to the page allocator while still referenced by ap->folios[] and potentially the LRU, so it can be reallocated to another security context and its contents read back through the stale mapping — an arbitrary kernel/page-cache read primitive. I:H - fuse_readpages_end() writes folio flags (folio_end_read) into the already-freed and possibly reallocated page, and the extra folio_put() constitutes a double free — a page-level UAF that is groomable into an arbitrary write and control-flow hijack. A:H - In practice this produced refcount-underflow BUG splats and kernel oopses for ordinary users (Arch and openSUSE crash reports), and the UAF/double-free reliably panics the machine.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3eab9d7bc2f4ae7f3f9c9c7852ff61600df79856 to < 60db11f1b7fba4a66b117ea998d965818784a98d (affected · git)3eab9d7bc2f4ae7f3f9c9c7852ff61600df79856 to < 0c67c37e1710b2a8f61c8a02db95a51fe577e2c1 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.13 (affected)0 to < 6.13 (unaffected · semver)6.13.6 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

fuse: revert back to __readahead_folio() for readahead

Provenance

Schema
5.2
Searchable
yes
Content hash
3b7aa466a42057479473992da68f1fd25980722baf7ec2660123e89c993bfa2e
Ingested
23 Sep 2026, 08:39:46 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected