CVE-2026-90420

nilfs2: fix infinite loop in nilfs_clean_segments()

N/A
Published: September 17, 2026 at 04:09 PM UTC
Updated: October 19, 2026 at 09:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.309ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453
Vendor states this is fixed in 1fc6df85b4954b6fda9c351843aaca3c06f66d8d (fixed)
Vendor states this is fixed in 217b967ad7887a3e1ebc08f46f6484e081acd4b4 (fixed)
Vendor states this is fixed in 3bcdbdaac884a4baa59716cf9bd9470c75276e2d (fixed)
Vendor states this is fixed in 8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8 (fixed)
Vendor states this is fixed in c07e5ad6539e7e9350d5c65cbf8adb69d1711b15 (fixed)
Vendor states this is fixed in ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18 (fixed)
Vendor states this is fixed in d7afca8e4efbf4c455b4663c29ae59fde2f1b671 (fixed)
Vendor states this is fixed in e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3 (fixed)
Vendor states this is fixed in 2.6.30 (unaffected)
Vendor states this is fixed in 5.10.270 (unaffected)
Vendor states this is fixed in 5.15.221 (unaffected)
Vendor states this is fixed in 6.1.188 (unaffected)
Vendor states this is fixed in 6.12.110 (unaffected)
Vendor states this is fixed in 6.18.52 (unaffected)
Vendor states this is fixed in 6.6.157 (unaffected)
Vendor states this is fixed in 7.2.6 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card