# CVE-2026-90420: nilfs2: fix infinite loop in nilfs\_clean\_segments()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:09:44.558Z
- **Modified:** 2026-10-19T09:19:36.350Z

## Who should check

- Anyone running Linux \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 217b967ad7887a3e1ebc08f46f6484e081acd4b4; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 3bcdbdaac884a4baa59716cf9bd9470c75276e2d; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< d7afca8e4efbf4c455b4663c29ae59fde2f1b671; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< c07e5ad6539e7e9350d5c65cbf8adb69d1711b15; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 1fc6df85b4954b6fda9c351843aaca3c06f66d8d; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18
- Anyone running Linux 2.6.30

## 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 and fixed versions

- Linux: \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 217b967ad7887a3e1ebc08f46f6484e081acd4b4; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 3bcdbdaac884a4baa59716cf9bd9470c75276e2d; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< d7afca8e4efbf4c455b4663c29ae59fde2f1b671; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< c07e5ad6539e7e9350d5c65cbf8adb69d1711b15; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 1fc6df85b4954b6fda9c351843aaca3c06f66d8d; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18 (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90420. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90420.md
Affected: Linux >= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3; >= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < 217b967ad7887a3e1ebc08f46f6484e081acd4b4; >= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, < 3bcdbdaac884a4baa59716cf9bd9470c75276e2d; >= 9ff05123e3bfbb1d2b68ba1…
Fixed in: Linux 217b967ad7887a3e1ebc08f46f6484e081acd4b4, Linux 3bcdbdaac884a4baa59716cf9bd9470c75276e2d, Linux 1fc6df85b4954b6fda9c351843aaca3c06f66d8d, Linux 8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90420 being exploited?

There is no confirmed exploitation: CVE-2026-90420 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90420?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90420?

Linux \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 217b967ad7887a3e1ebc08f46f6484e081acd4b4; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 3bcdbdaac884a4baa59716cf9bd9470c75276e2d; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< d7afca8e4efbf4c455b4663c29ae59fde2f1b671; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< c07e5ad6539e7e9350d5c65cbf8adb69d1711b15; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 1fc6df85b4954b6fda9c351843aaca3c06f66d8d; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< 8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8; \>= 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, \< ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18; Linux 2.6.30.

### Is there a fix for CVE-2026-90420?

Yes. Fixed in Linux 217b967ad7887a3e1ebc08f46f6484e081acd4b4, Linux 3bcdbdaac884a4baa59716cf9bd9470c75276e2d, Linux 1fc6df85b4954b6fda9c351843aaca3c06f66d8d, Linux 8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-90420?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3>
- other: <https://git.kernel.org/stable/c/217b967ad7887a3e1ebc08f46f6484e081acd4b4>
- other: <https://git.kernel.org/stable/c/3bcdbdaac884a4baa59716cf9bd9470c75276e2d>
- other: <https://git.kernel.org/stable/c/d7afca8e4efbf4c455b4663c29ae59fde2f1b671>
- other: <https://git.kernel.org/stable/c/c07e5ad6539e7e9350d5c65cbf8adb69d1711b15>
- other: <https://git.kernel.org/stable/c/1fc6df85b4954b6fda9c351843aaca3c06f66d8d>
- other: <https://git.kernel.org/stable/c/8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8>
- other: <https://git.kernel.org/stable/c/ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90420>

HTML: <https://flawdb.com/CVE-2026-90420> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90420>
