CVE Catalog

CVE-2026-90420

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the nilfs2 filesystem has an infinite loop in nilfs_clean_segments(). When nilfs_segctor_construct() repeatedly returns -EROFS (e.g., after an I/O error and remounting the device read-only), the cleaner thread loops forever.

Risk Assessment

An infinite loop in the kernel can lead to a hung thread, CPU exhaustion, and general system instability. This may result in service unavailability and require a restart.

Recommendation

Update the Linux kernel to a version containing the fix that breaks out of the loop when -EROFS is returned. Updating systems using the nilfs2 filesystem is recommended.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS