CVE-2026-80807

nilfs2: reject invalid block index in GC ioctl

No CVSS score yet EPSS 0.20%

Published 4 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-80807

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-80807 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: reject invalid block index in GC ioctl

Syzbot reported list corruption caused by a double list_add_tail() call on bh->b_assoc_buffers within nilfs_lookup_dirty_data_buffers().

Analysis revealed that the root cause was the insertion of a page/folio with a page index of ULONG_MAX into the page cache via the GC ioctl. filemap_get_folios_tag(), called by nilfs_lookup_dirty_data_buffers(), repeatedly detects a dirty folio with a page index of ULONG_MAX due to index wrap-around, leading to duplicate processing of dirty buffers.

As a preparatory step, the GC ioctl loads the page/folio of the block to be moved during GC and inserts it into the page cache based on information in the nilfs_vdesc structure passed as an argument. Normally, this does not cause issues because the user-space GC library configures the nilfs_vdesc structure properly. However, since there is no range check on the parameters determining the page index, a request with artificially crafted parameters -- such as those generated by Syzbot -- can result in a page/folio being inserted with a page index of ULONG_MAX, triggering the above problem.

This resolves the issue by checking the ranges of 'vd_offset' and 'vd_vblocknr' in the nilfs_vdesc structure that determine the page index, thereby preventing the invalid page/folio insertions.

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.5% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before 898404cdf882d7b54f1132f75570984ca3214796
affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before ba8a8b563a28d358c45c62a306d421434a058648
affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before 3bd064ccc70b85f9a3d53aece29dc8473be5a226
affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before a5e776e2937581d67ec5b9b4d27b0f70d7baa6b1
affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before 68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44
affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before e447f7edb99bd00cec63d6f3049e2e5074946f71
affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before ec6ddf271dfa4c7e3147bc2c8b2bad4315f316a1
affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before fbcfb75c20d71a5b542ad4ac3b79d10b997c8152
affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before a1735eae55448bc79c2da6593455791e886f6ed8
Other versions: unaffected
Linux
affected 2.6.30
unaffected before 2.6.30
unaffected from 5.10.269 up to and including 5.10.*
unaffected from 5.15.220 up to and including 5.15.*
unaffected from 6.1.187 up to and including 6.1.*
unaffected from 6.6.156 up to and including 6.6.*
unaffected from 6.12.108 up to and including 6.12.*
unaffected from 6.18.47 up to and including 6.18.*
unaffected from 7.1.11 up to and including 7.1.*
unaffected from 7.2.1 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-80807 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80807

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-80807
trivy image --scanners vuln IMAGE | grep CVE-2026-80807

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-80807 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.