CVE-2026-90420

nilfs2: fix infinite loop in nilfs_clean_segments()

No CVSS score yet EPSS 0.22%

Published 17 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-90420

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-90420 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.23% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before e3e9367dae1a6392cbb14ab0b2ab5edbf39735c3
affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 217b967ad7887a3e1ebc08f46f6484e081acd4b4
affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 3bcdbdaac884a4baa59716cf9bd9470c75276e2d
affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before d7afca8e4efbf4c455b4663c29ae59fde2f1b671
affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before c07e5ad6539e7e9350d5c65cbf8adb69d1711b15
affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 1fc6df85b4954b6fda9c351843aaca3c06f66d8d
affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 8cea0bc78ac64cb88da49c07f80bf2cf9fb7aff8
affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before ce5a5ad1a8330a2fcfdd9ec2ab341be739e89a18
Other versions: unaffected
Linux
affected 2.6.30
unaffected before 2.6.30
unaffected from 5.10.270 up to and including 5.10.*
unaffected from 5.15.221 up to and including 5.15.*
unaffected from 6.1.188 up to and including 6.1.*
unaffected from 6.6.157 up to and including 6.6.*
unaffected from 6.12.110 up to and including 6.12.*
unaffected from 6.18.52 up to and including 6.18.*
unaffected from 7.2.6 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-90420 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90420

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-90420
trivy image --scanners vuln IMAGE | grep CVE-2026-90420

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-90420 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.