From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796045879; b=puHgN+yj86hs2bpTUtWbXayFeBMHQRZ/FME69RshqG16vnZzpWSJsMGGIXOtYByoyBmt XqeWal/zIzqe66KFs66f1MzE2RQoqGMJjc/xLZj+CUInFEAkdMiyTnnTdjKY+JbtZO0T4 OJOEt5PzrK76CiNjrleUc74WR3MEyzBRR2j9Y566sfphVLF+bS58iZFLw47lL58rZzzCU Y23vq36X/Vs+aOLMr4F/2VF4xvctYOYqUY89j2s14hWDWNjGOAKlBp+fsjoB/NSnJYxqw EWmqvW/o1fYhmE/g3yZzkXVwwy7LPWAo0FkopjmAsHuhFzXsqZ2J9x4RiEDorWR+8+A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796045879; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=CqM5h2W3ZgsBwHzvhrrCMljq2E/oq6iv5QtCmRxl578=; b=opv3d7UynwI1jaEyL92+s4jcKRNdJXy9Vme0Re6XhS2Lmw/EXlTmj2Mf/bQbeH0XyeL5 8SnEgdnVeMn/fXWKoM1kR8cvZRJht4fTSNbmLSig8MAir0PXaMAd0ZU6yyDFZ+zd5WWXB 9JL/cSON+BezhhbA0KA3FEXHCh4JBdNZQKGwg3LSRomg+FceHy13BIQUuTTHdGoeoGCNr lN7L961wy9u3OxgjSZE4RldU0JVbqe+54Y/5ORjxYxEOFcIXLh3z41pe2x9jBPvS2nyOG ks08HzIqe/n5wAsCsi01IEObhyfCgMkXMsyow93+ER6n5/DFwtYZp+FSB3Obcf5Krzg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=P6iw2+Uc; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2D6A606A320 for ; Mon, 30 Nov 2026 13:37:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=P6iw2+Uc Received: by smtp.kernel.org (Postfix) with ESMTPSA id 347701F000C1; Mon, 30 Nov 2026 13:37:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796045879; bh=CqM5h2W3ZgsBwHzvhrrCMljq2E/oq6iv5QtCmRxl578=; h=From:To:Cc:Subject:Date:Reply-To; b=P6iw2+Uc30CoHDmSki3Cuz16hUf/bB71CKY2CMkXRMxNlojCkAlFF6WZs9Nr6PjKz e/HSTHrKQgqiyxeMHIqqEsp7h+sJQswGUe1DgL6rloTGWO8DLykZbm2odblaMjiEPJ h37I3snk+1RqQ4n1KNCOxqXnPOwv+6y27MetFpFM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-100047: fuse: don't launder folios of a bad inode Date: Mon, 30 Nov 2026 14:23:52 +0100 Message-ID: <2026113015-CVE-2026-100047-2c19@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=5034; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gqWIP1zvlty+equ6MLEOK9aVr7f6rWdXNpDiVon4IgQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm8FYe5trIkx3M+bOb1mrBv7u9d+bWtRQuEL3cLsz+5v l/K8tCFjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIfQaG+dUFe6Y9OjLz4ysX oermSWd7tRWeaDIs2MrQu+mq2r17aWwxp0v/22/f9exCIwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-100047 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.6 with commit 36cf9ae54b0ead0daab7701a994de3dcd9ef605d and fixed in 5.10.275 with commit d845e4306bcb56cecf47006e12d4a9c2424b76dc Issue introduced in 5.11 with commit 5d069dbe8aaf2a197142558b6fb2978189ba3454 and fixed in 5.15.226 with commit c469b5b6ed441f39073e1a0c5761e85380ca51f1 Issue introduced in 5.11 with commit 5d069dbe8aaf2a197142558b6fb2978189ba3454 and fixed in 6.1.193 with commit e5aa194300693af04753fadef575cc78581c051f Issue introduced in 5.11 with commit 5d069dbe8aaf2a197142558b6fb2978189ba3454 and fixed in 6.6.163 with commit ae29ed93288e8aa0e92fb849a52e68abbe9fcf30 Issue introduced in 5.11 with commit 5d069dbe8aaf2a197142558b6fb2978189ba3454 and fixed in 6.12.118 with commit 386a2e9de329e1590152f6f4628ced700af7e73c Issue introduced in 5.11 with commit 5d069dbe8aaf2a197142558b6fb2978189ba3454 and fixed in 6.18.63 with commit d75a44d360b6410eb89d0029b3eb1eea0571e2f9 Issue introduced in 5.11 with commit 5d069dbe8aaf2a197142558b6fb2978189ba3454 and fixed in 7.3.4 with commit 5f8b531d751ca2998df4fbabf70855408cee5d01 Issue introduced in 5.11 with commit 5d069dbe8aaf2a197142558b6fb2978189ba3454 and fixed in 7.4-rc1 with commit 01d0f3d294af126f517d92c11e100525537f8be4 Issue introduced in 4.9.298 with commit 3a2f8823aa565cc67bdd00c4cd5e1d8ad81e8436 Issue introduced in 4.14.263 with commit 2cd45139c0f28ebfa7604866faee00c99231a62b Issue introduced in 4.19.226 with commit 1e1bb4933f1faafc68db8e0ecd5838a65dd1aae9 Issue introduced in 5.4.88 with commit 732251cabeb3bfd917d453a42274d769d6883fc4 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-100047 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/fuse/file.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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