CVE-2026-90420
UNKNOWN
NVD
CVSS Score
0
Severity
UNKNOWN
Published
Sep 17, 2026
Vendor
unknown
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.
References
- https://git.kernel.org/stable/c/1fc6df85b4954b6fda9c351843aaca3c06f66d8d
- https://git.kernel.org/stable/c/217b967ad7887a3e1ebc08f46f6484e081acd4b4
- https://git.kernel.org/stable/c/3bcdbdaac884a4baa59716cf9bd9470c75276e2d
- https://git.kernel.org/stable/c/8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8
- https://git.kernel.org/stable/c/c07e5ad6539e7e9350d5c65cbf8adb69d1711b15