Description
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 wriable file and hits the
WARN_ON in fuse_write_file_get().
Instead of trying to write back dirty data for the bad inode,
fuse_launder_folio() should return -EIO.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | patch: 6.1.193 | — |
| Linux | Linux | patch: 6.18.63 | — |
| Linux | Linux | 5d069dbe8aaf2a197142558b6fb2978189ba3454 <c469b5b6ed441f39073e1a0c5761e85380ca51f1 | — |
| Linux | Linux | 5d069dbe8aaf2a197142558b6fb2978189ba3454 <5f8b531d751ca2998df4fbabf70855408cee5d01 | — |
| Linux | Linux | 5.4.88 <5.5 | — |
| Linux | Linux | patch: 5.10.275 | — |
| Linux | Linux | 732251cabeb3bfd917d453a42274d769d6883fc4 | — |
| Linux | Linux | 4.14.263 <4.15 | — |
| Linux | Linux | 5.11 | — |
| Linux | Linux | 4.19.226 <4.20 | — |
| Linux | Linux | patch: 7.4-rc1 | — |
| Linux | Linux | patch: 7.3.4 | — |
| Linux | Linux | patch: 6.6.163 | — |
| Linux | Linux | 5d069dbe8aaf2a197142558b6fb2978189ba3454 <e5aa194300693af04753fadef575cc78581c051f | — |
| Linux | Linux | 5d069dbe8aaf2a197142558b6fb2978189ba3454 <ae29ed93288e8aa0e92fb849a52e68abbe9fcf30 | — |
| Linux | Linux | 5d069dbe8aaf2a197142558b6fb2978189ba3454 <d75a44d360b6410eb89d0029b3eb1eea0571e2f9 | — |
| Linux | Linux | 3a2f8823aa565cc67bdd00c4cd5e1d8ad81e8436 | — |
| Linux | Linux | 2cd45139c0f28ebfa7604866faee00c99231a62b | — |
| Linux | Linux | 5d069dbe8aaf2a197142558b6fb2978189ba3454 <386a2e9de329e1590152f6f4628ced700af7e73c | — |
| Linux | Linux | 36cf9ae54b0ead0daab7701a994de3dcd9ef605d <d845e4306bcb56cecf47006e12d4a9c2424b76dc | — |
| Linux | Linux | 1e1bb4933f1faafc68db8e0ecd5838a65dd1aae9 | — |
| Linux | Linux | patch: 5.15.226 | — |
| Linux | Linux | 5d069dbe8aaf2a197142558b6fb2978189ba3454 <01d0f3d294af126f517d92c11e100525537f8be4 | — |
| Linux | Linux | 5.10.6 <5.10.275 | — |
| Linux | Linux | patch: 6.12.118 | — |
| Linux | Linux | 4.9.298 <4.10 | — |
| Linux | Linux | patch: 0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.3.4-1 | — |
| Debian 13 | linux | 6.12.118-1 | — |
| Debian 12 | linux | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 26.10 | linux +8 | No fix yet | — |
| Ubuntu 26.04 LTS | linux +14 | No fix yet | — |
| Ubuntu 24.04 LTS | linux +52 | No fix yet | — |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | linux +59 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime +3 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime +2 | No fix yet | — |
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-preview 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux +21 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux +12 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux +7 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux +3 | No fix yet | — |
Advisories 1
- WID-SEC-2026-4889 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 30, 2026
References
- https://git.kernel.org/stable/c/d845e4306bcb56cecf47006e12d4a9c2424b76dc
- https://git.kernel.org/stable/c/c469b5b6ed441f39073e1a0c5761e85380ca51f1
- https://git.kernel.org/stable/c/e5aa194300693af04753fadef575cc78581c051f
- https://git.kernel.org/stable/c/ae29ed93288e8aa0e92fb849a52e68abbe9fcf30
- https://git.kernel.org/stable/c/386a2e9de329e1590152f6f4628ced700af7e73c
- https://git.kernel.org/stable/c/d75a44d360b6410eb89d0029b3eb1eea0571e2f9
- https://git.kernel.org/stable/c/5f8b531d751ca2998df4fbabf70855408cee5d01
- https://git.kernel.org/stable/c/01d0f3d294af126f517d92c11e100525537f8be4