Skip to content
Medium 4.7

fuse: don't launder folios of a bad inode

CVE-2026-100047 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 4.9.298, < 4.10→ 4.10
≥ 4.14.263, < 4.15→ 4.15
≥ 4.19.226, < 4.20→ 4.20
≥ 5.4.88, < 5.5→ 5.5
≥ 5.10.6, < 5.10.275→ 5.10.275
≥ 5.11.0, < 5.15.226→ 5.15.226
≥ 5.16.0, < 6.1.193→ 6.1.193
≥ 6.2.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.118→ 6.12.118
≥ 6.13.0, < 6.18.63→ 6.18.63
≥ 6.19.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

fuse: don't launder folios of a bad inode

fuse_flush() and fuse_writepages() reject writing back dirty data for
any inode that has been marked bad, but fuse_launder_folio() doesn't.

This can cause the following warning in fuse_write_file_get() to
trigger, as reported by syzbot:

WARNING: fs/fuse/file.c:2043 at fuse_write_file_get fs/fuse/file.c:2043 [inline]
WARNING: fs/fuse/file.c:2043 at fuse_iomap_writeback_range+0x7c8/0x18f0 fs/fuse/file.c:2227
Call Trace:
iomap_writeback_folio+0x1526/0x2490 fs/iomap/buffered-io.c:2022
fuse_launder_folio+0x17b/0x240 fs/fuse/file.c:2331
folio_unmap_invalidate+0x4cd/0x830 mm/truncate.c:634
invalidate_inode_pages2_range+0x629/0xb30 mm/truncate.c:726
fuse_open+0x5a6/0x770 fs/fuse/file.c:297

This can be hit on a writeback cache mount:

  1. a writeable file is open and a buffered write dirties some pages
  2. another thread opens the same file read-only. fuse_open() passes the
    bad inode check and sends OPEN to the server.
  3. a SETATTR reply with the wrong file type marks the inode bad
  4. the writeable file is closed. Flush and release skip writeback
    because the inode is bad. The pages stay dirty but the file gets
    removed from write_files.
  5. server replies to the OPEN. The reply has no FOPEN_KEEP_CACHE, so
    fuse_open() calls invalidate_inode_pages2().
  6. the invalidation finds the dirty pages and calls
    fuse_launder_folio(), which finds no wriab…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details