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 5CFD05038F9 for ; Thu, 17 Sep 2026 16:30:38 +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=1789662639; cv=none; b=PsEvSl+BXG8Yp/HxFT9MZE5dIEj6GKRS4TiHTSPmjNeYZrjNVWXycuIJ15Vji+QSOtt4uKBqL3NYV8y5QxPrNOwqK5x6iyIYMe1mtOpzxCMvedRZdBEhpI8CJ5I8eiNk6gCFJ4X5igCoI5W2PleNFDWtFM2Sy2NWaTXH2MzDVys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662639; c=relaxed/simple; bh=0F+oYM3rvVrjJrEyjPhWK1TQPs9PPhn3d7Lz7r5bOdc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EY/4YCfwt8yfAU3Z9rxOw00pB7vfE8SWlKk+OmnuuhehuY1VI6WspU1a+Rn1mNRT7JFatTtAk7xeys0VcPRYN99Te3sodbvQjO9h0FCSmOw0gonCpMIY76wb2XZsnR3KyrDJkFoMHQ7K8Hxa1p7To0telrlR36I1SIvB6rd/na0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EMILUeDP; 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="EMILUeDP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A92B31F000FF; Thu, 17 Sep 2026 16:30:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662638; bh=DJev4VmmnxP7AGYHLR4GBDxcbTli/YVRhBAdh+B/4Qs=; h=From:To:Cc:Subject:Date:Reply-To; b=EMILUeDPZJwidslnhaIlhHfIkd4wZRdieeapZuAV+2VA+jbi0fXOQh48FoQja4qqM xHkDgvmkW3nO4dS2I1rcVoOXqrb8VvrwO4D7JlHxNj9LNyKQycX9bbTKrlWhqOJ54g 4YfrHIVrBAkpi/X+Jhr343/N7pYi55rqjMhHVJ2I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90420: nilfs2: fix infinite loop in nilfs_clean_segments() Date: Thu, 17 Sep 2026 17:14:10 +0100 Message-ID: <2026091718-CVE-2026-90420-efe6@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=3763; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=79IefGEOsOb8sjCKhdIYofQ4VeUcvJkpznpyxN0edx0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBNZNszdievSp+rJLRDO315qbDUsEfdc+cFI5tvyuS ezr3VfWdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEtGwYFqw+LVs6k8/ZTiFQ aFfvj4i8sE3HpBnmZ8Vc3Ff7csmD7Y4svmwrfNxnC4vaAgA= 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 infinite loop in nilfs_clean_segments() syzbot reported a hung task in nilfs_transaction_begin(). This occurs because the cleaner ioctl falls into an infinite loop if nilfs_segctor_construct() repeatedly returns -EROFS (e.g. the device is remounted as read-only after an I/O error). Currently in nilfs_clean_segments(), if err is non-zero, it logs the error and sleeps but doesn't abort when it encounters a terminal error like -EROFS. This causes the thread to loop forever. Fix this by breaking out of the loop if nilfs_segctor_construct() returns -EROFS. This matches the behaviour in nilfs_segctor_write_out(), which also handles -EROFS. The Linux kernel CVE team has assigned CVE-2026-90420 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.30 with commit 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 and fixed in 5.10.270 with commit e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3 Issue introduced in 2.6.30 with commit 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 and fixed in 5.15.221 with commit 217b967ad7887a3e1ebc08f46f6484e081acd4b4 Issue introduced in 2.6.30 with commit 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 and fixed in 6.1.188 with commit 3bcdbdaac884a4baa59716cf9bd9470c75276e2d Issue introduced in 2.6.30 with commit 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 and fixed in 6.6.157 with commit d7afca8e4efbf4c455b4663c29ae59fde2f1b671 Issue introduced in 2.6.30 with commit 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 and fixed in 6.12.110 with commit c07e5ad6539e7e9350d5c65cbf8adb69d1711b15 Issue introduced in 2.6.30 with commit 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 and fixed in 6.18.52 with commit 1fc6df85b4954b6fda9c351843aaca3c06f66d8d Issue introduced in 2.6.30 with commit 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 and fixed in 7.2.6 with commit 8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8 Issue introduced in 2.6.30 with commit 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 and fixed in 7.3-rc1 with commit ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18 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-90420 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/segment.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/e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3 https://git.kernel.org/stable/c/217b967ad7887a3e1ebc08f46f6484e081acd4b4 https://git.kernel.org/stable/c/3bcdbdaac884a4baa59716cf9bd9470c75276e2d https://git.kernel.org/stable/c/d7afca8e4efbf4c455b4663c29ae59fde2f1b671 https://git.kernel.org/stable/c/c07e5ad6539e7e9350d5c65cbf8adb69d1711b15 https://git.kernel.org/stable/c/1fc6df85b4954b6fda9c351843aaca3c06f66d8d https://git.kernel.org/stable/c/8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8 https://git.kernel.org/stable/c/ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18