{"id":"CVE-2026-90420","aliases":["CVE-2026-90420"],"related":[],"kind":"vulnerability","state":"published","title":"nilfs2: fix infinite loop in nilfs_clean_segments()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-17T16:09:44.558Z","modified":"2026-10-19T09:19:36.350Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"217b967ad7887a3e1ebc08f46f6484e081acd4b4","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"3bcdbdaac884a4baa59716cf9bd9470c75276e2d","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"d7afca8e4efbf4c455b4663c29ae59fde2f1b671","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"c07e5ad6539e7e9350d5c65cbf8adb69d1711b15","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"1fc6df85b4954b6fda9c351843aaca3c06f66d8d","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/217b967ad7887a3e1ebc08f46f6484e081acd4b4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3bcdbdaac884a4baa59716cf9bd9470c75276e2d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7afca8e4efbf4c455b4663c29ae59fde2f1b671","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c07e5ad6539e7e9350d5c65cbf8adb69d1711b15","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1fc6df85b4954b6fda9c351843aaca3c06f66d8d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90420","url":"https://www.cve.org/CVERecord?id=CVE-2026-90420","licence":"CVE Terms of Use","modified":"2026-10-19T09:03:24.266Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90420","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90420","licence":"Public domain","modified":"2026-10-19T09:19:36.350Z"}],"updatedAt":"2026-11-25T22:59:39.411Z","epss":{"score":0.00211,"percentile":0.11931,"date":"2026-12-01T12:00:22.000Z"}}