PoC Monitor
← All CVEs
CVE-2025-21896published 1 Apr 2025 15:26 UTCData: JSON · API

Linux

fuse: revert back to __readahead_folio() for readahead

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-416
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 3eab9d7bc2f4ae7f3f9c9c7852ff61600df79856, < 60db11f1b7fba4a66b117ea998d965818784a98d
  • >= 3eab9d7bc2f4ae7f3f9c9c7852ff61600df79856, < 0c67c37e1710b2a8f61c8a02db95a51fe577e2c1

Fixed in 60db11f1b7fba4a66b117ea998d965818784a98d, 0c67c37e1710b2a8f61c8a02db95a51fe577e2c1

Linux Linux
  • 6.13

Fixed in 0, 6.13.6, 6.14

Mitigation

Upgrade Linux to 60db11f1b7fba4a66b117ea998d965818784a98d or 0c67c37e1710b2a8f61c8a02db95a51fe577e2c1 or later.

Upgrade Linux to 0 or 6.13.6 or 6.14 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published1 Apr 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.