{"id":"CVE-2026-90420","published":"2026-09-17T16:09:44Z","modified":"2026-10-19T09:03:24Z","title":"nilfs2: fix infinite loop in nilfs_clean_segments()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix infinite loop in nilfs_clean_segments()\n\nsyzbot reported a hung task in nilfs_transaction_begin(). This occurs\nbecause the cleaner ioctl falls into an infinite loop if\nnilfs_segctor_construct() repeatedly returns -EROFS (e.g. the device\nis remounted as read-only after an I/O error).\n\nCurrently in nilfs_clean_segments(), if err is non-zero, it logs the\nerror and sleeps but doesn't abort when it encounters a terminal error\nlike -EROFS. This causes the thread to loop forever.\n\nFix this by breaking out of the loop if nilfs_segctor_construct()\nreturns -EROFS. This matches the behaviour in\nnilfs_segctor_write_out(), which also handles -EROFS.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0022,"percentile":0.07278,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3","tags":[]},{"url":"https://git.kernel.org/stable/c/217b967ad7887a3e1ebc08f46f6484e081acd4b4","tags":[]},{"url":"https://git.kernel.org/stable/c/3bcdbdaac884a4baa59716cf9bd9470c75276e2d","tags":[]},{"url":"https://git.kernel.org/stable/c/d7afca8e4efbf4c455b4663c29ae59fde2f1b671","tags":[]},{"url":"https://git.kernel.org/stable/c/c07e5ad6539e7e9350d5c65cbf8adb69d1711b15","tags":[]},{"url":"https://git.kernel.org/stable/c/1fc6df85b4954b6fda9c351843aaca3c06f66d8d","tags":[]},{"url":"https://git.kernel.org/stable/c/8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8","tags":[]},{"url":"https://git.kernel.org/stable/c/ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18","tags":[]}],"priority":{"score":1.5,"factors":[{"name":"EPSS percentile","points":1.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3",">= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < 217b967ad7887a3e1ebc08f46f6484e081acd4b4",">= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < 3bcdbdaac884a4baa59716cf9bd9470c75276e2d",">= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < d7afca8e4efbf4c455b4663c29ae59fde2f1b671",">= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < c07e5ad6539e7e9350d5c65cbf8adb69d1711b15",">= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < 1fc6df85b4954b6fda9c351843aaca3c06f66d8d",">= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < 8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8",">= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18"]},{"vendor":"Linux","product":"Linux","versions":["2.6.30"]}],"euvd":{"id":"EUVD-2026-82081","exploited":false,"provenance":"source"}}