CVE-2026-80807
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
19/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
nilfs2: reject invalid block index in GC ioctl<br />
<br />
Syzbot reported list corruption caused by a double list_add_tail() call on<br />
bh->b_assoc_buffers within nilfs_lookup_dirty_data_buffers().<br />
<br />
Analysis revealed that the root cause was the insertion of a page/folio<br />
with a page index of ULONG_MAX into the page cache via the GC ioctl.<br />
filemap_get_folios_tag(), called by nilfs_lookup_dirty_data_buffers(),<br />
repeatedly detects a dirty folio with a page index of ULONG_MAX due to<br />
index wrap-around, leading to duplicate processing of dirty buffers.<br />
<br />
As a preparatory step, the GC ioctl loads the page/folio of the block to<br />
be moved during GC and inserts it into the page cache based on information<br />
in the nilfs_vdesc structure passed as an argument. Normally, this does<br />
not cause issues because the user-space GC library configures the<br />
nilfs_vdesc structure properly. However, since there is no range check on<br />
the parameters determining the page index, a request with artificially<br />
crafted parameters -- such as those generated by Syzbot -- can result in a<br />
page/folio being inserted with a page index of ULONG_MAX, triggering the<br />
above problem.<br />
<br />
This resolves the issue by checking the ranges of &#39;vd_offset&#39; and<br />
&#39;vd_vblocknr&#39; in the nilfs_vdesc structure that determine the page index,<br />
thereby preventing the invalid page/folio insertions.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/3bd064ccc70b85f9a3d53aece29dc8473be5a226
- https://git.kernel.org/stable/c/68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44
- https://git.kernel.org/stable/c/898404cdf882d7b54f1132f75570984ca3214796
- https://git.kernel.org/stable/c/a1735eae55448bc79c2da6593455791e886f6ed8
- https://git.kernel.org/stable/c/a5e776e2937581d67ec5b9b4d27b0f70d7baa6b1
- https://git.kernel.org/stable/c/ba8a8b563a28d358c45c62a306d421434a058648
- https://git.kernel.org/stable/c/e447f7edb99bd00cec63d6f3049e2e5074946f71
- https://git.kernel.org/stable/c/ec6ddf271dfa4c7e3147bc2c8b2bad4315f316a1
- https://git.kernel.org/stable/c/fbcfb75c20d71a5b542ad4ac3b79d10b997c8152


