VDB

CVE-2026-80807

CVE-2026-80807 PUBLISHED

nilfs2: reject invalid block index in GC ioctl

Reported by linux · Published September 4, 2026

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.

EPSS 0.20% · 9.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxfbcfb75c20d71a5b542ad4ac3b79d10b997c8152, ec6ddf271dfa4c7e3147bc2c8b2bad4315f316a1, e447f7edb99bd00cec63d6f3049e2e5074946f71, ba8a8b563a28d358c45c62a306d421434a058648, a5e776e2937581d67ec5b9b4d27b0f70d7baa6b1, a1735eae55448bc79c2da6593455791e886f6ed8, 898404cdf882d7b54f1132f75570984ca3214796, 68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44, 3bd064ccc70b85f9a3d53aece29dc8473be5a226

Risk scores

EPSS Score
0.20%
9.9th percentile

Affected products

VendorProductVersions
LinuxLinux7942b919f7321f95a777d396ff7894a7a83dc9b0, 7942b919f7321f95a777d396ff7894a7a83dc9b0, 7942b919f7321f95a777d396ff7894a7a83dc9b0
LinuxLinux2.6.30, 0, 5.10.269
LinuxLinux7.3, 0, 5.10.269
linuxlinux_kernel2.6.30, 2.6.30, 2.6.30

Timeline

  • Sep 4, 2026 Coalition ESS Score
  • Sep 4, 2026 CVE Published
  • Sep 5, 2026 EPSS Score (14 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80807
vulnetix vdb fixes CVE-2026-80807

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80807/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›