Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23B9037E5C8 for ; Thu, 17 Sep 2026 16:30:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662629; cv=none; b=qTnj+Ht2pvxpwlp4U3gKOeyAZdP19khdO7WzFmVengX4FZMIDFnSK9xRkphhY/0iYn5xvkxq1rgYPx+oaWzLrSIZVP32VBS4ff/yN1FgF02v9uRAo419NY1fEt0XxpVmnkAuXNUILDfYi8T40dj0f5mNLumXFyFlOeUk0i4Clew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662629; c=relaxed/simple; bh=5yFNN8dmzY0Jkk6K/eMYGvaRL7fv/jyJ5p6oTcyYo9A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CwWj4aqm3ukekUMAQKfSTReOE8KZn1k7C/BabkwjuCxSraNQQpa8TdeDmLeeoZg9JiXagNU3qJ3ZjESXulkXghPj/k83LO19sGt/3Nocp1p1bxretJuR/Ur/oUdlHFlzAFDleRGIUtaiSLpZz07QPRyvOGWrkSlBLfwzYOUSFv4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IEQZ/myH; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="IEQZ/myH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27D421F000FF; Thu, 17 Sep 2026 16:30:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662627; bh=M95ONakDnwIAO/pEWArIUY2P8rgU5fA5C2JmVjVTypE=; h=From:To:Cc:Subject:Date:Reply-To; b=IEQZ/myHqh7UC2uOLUYyicaWKckaP/LUcYj7KOQL/xwWoKy40pjOZ6GGUZnbPJ21o xThjdY1XOelqDbygrYKVkmQnkkWO/ax5u4ML1/+YnkLgVVgG7JkVA7SQ702sSNMm57 Lw4Wu+ZZoSFD8Usr/7qiJ+NvT6toUizrKPTaejW8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90418: nilfs2: fix BUG in nilfs_copy_dirty_pages() on dirty state mismatch Date: Thu, 17 Sep 2026 17:14:08 +0100 Message-ID: <2026091717-CVE-2026-90418-8427@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3200; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yv2OPSTqGY/TRbUNM1bwBdmJpVg0YZ7hPqe9hi8wrls=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBNa+f74lgfvcxV3S8u7qHe+urfzs8odjYqasziaGp Zr1u2VndsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEvi9iWDCv64cpu/jFb3/u 2G/uVQ991nDr5DuGuVKdae/4n588rf1mX/vyggci/mFz5wMA 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: nilfs2: fix BUG in nilfs_copy_dirty_pages() on dirty state mismatch Syzbot reported a kernel BUG triggered within nilfs_copy_dirty_pages(), which copies dirty DAT file folios/pages to its shadow page cache. The BUG occurs when a retrieved dirty folio/page unexpectedly loses its 'dirty' status. This issue arises because, since the commit referenced below, the 'dirty' flag of a folio/page can be cleared asynchronously after the filesystem detects metadata corruption and transitions to read-only mode. Resolve the issue by returning an -EROFS error if the filesystem has transitioned to read-only mode. Also change the behavior to issue a kernel warning only once instead of triggering a kernel BUG when this unexpected 'dirty' state is detected while the filesystem is not in read-only mode. The Linux kernel CVE team has assigned CVE-2026-90418 to this issue. Affected and fixed versions =========================== Issue introduced in 3.10 with commit 8c26c4e2694a163d525976e804d81cd955bbb40c and fixed in 6.6.157 with commit 5166a21b12f549774f2983fa86d2526ea9e66ace Issue introduced in 3.10 with commit 8c26c4e2694a163d525976e804d81cd955bbb40c and fixed in 6.12.110 with commit 4e1f21e7540b25d83f86b50780836ed7d2afcc93 Issue introduced in 3.10 with commit 8c26c4e2694a163d525976e804d81cd955bbb40c and fixed in 6.18.52 with commit 3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05 Issue introduced in 3.10 with commit 8c26c4e2694a163d525976e804d81cd955bbb40c and fixed in 7.2.6 with commit f181155baf0c93a74ebe804c6cecbe970e78ee9e Issue introduced in 3.10 with commit 8c26c4e2694a163d525976e804d81cd955bbb40c and fixed in 7.3-rc1 with commit 66f4ad3ce158902e5f98afea93189972ed8750c2 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-90418 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/nilfs2/page.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/5166a21b12f549774f2983fa86d2526ea9e66ace https://git.kernel.org/stable/c/4e1f21e7540b25d83f86b50780836ed7d2afcc93 https://git.kernel.org/stable/c/3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05 https://git.kernel.org/stable/c/f181155baf0c93a74ebe804c6cecbe970e78ee9e https://git.kernel.org/stable/c/66f4ad3ce158902e5f98afea93189972ed8750c2