CVE-2026-142899: fuse: validate folio state before pipe_buf_try_steal() in fuse_try_move_folio()
In the Linux kernel, the following vulnerability has been resolved:
fuse: validate folio state before pipebuftrysteal() in fusetrymovefolio()
In fusetrymovefolio(), check that the pipe buffer's folio is not hugetlb, swap-backed, or already mapped/anon before attempting pipebuftrysteal() and inserting it into the FUSE inode's page cache, preventing VMBUGONFOLIO() and page cache state corruption.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In fuse_try_move_folio(), validate that the pipe buffer's folio is not hugetlb, swap-backed, or already mapped/anon before calling pipe_buf_try_steal() or inserting it into the FUSE inode's page cache.
Event History
Frequently Asked Questions
What conditions indicate that the unsafe page-cache insertion path could be reached?
The relevant pipe-buffer folio is hugetlb, swap-backed, already mapped, or anonymous. These states must be rejected before attempting to steal the buffer and insert it into a FUSE inode's page cache.
What is the consequence of reaching this path without the validation?
It can trigger VM_BUG_ON_FOLIO() and corrupt page-cache state. The affected operation is the movement of a folio from a pipe buffer into a FUSE inode's page cache.
How can I verify that the fix is present?
Check whether the kernel source includes validation in fuse_try_move_folio() that rejects hugetlb, swap-backed, mapped, or anonymous pipe-buffer folios before pipe_buf_try_steal(). The provided stable references identify commits containing the resolution.