CVE-2026-80807
Received Received - Intake

nilfs2 GC ioctl Page Index Validation Flaw

Vulnerability report for CVE-2026-80807, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-04

Last updated on: 2026-09-04

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-04
Last Modified
2026-09-04
Generated
2026-09-04
AI Q&A
2026-09-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Linux kernel vulnerability in the nilfs2 filesystem. It involves a double list_add_tail() call causing list corruption in bh->b_assoc_buffers due to a page/folio with an invalid page index (ULONG_MAX) being inserted into the page cache via the GC ioctl. The root cause is the lack of range checks on parameters determining the page index, allowing crafted requests to trigger the issue.

Detection Guidance

This vulnerability is specific to the Linux kernel's nilfs2 filesystem and requires kernel-level detection. Check if your system uses nilfs2 with uname -a and verify kernel version. Look for kernel logs mentioning nilfs2 or GC ioctl errors. No direct network detection commands are applicable.

Impact Analysis

This vulnerability could lead to system instability or crashes due to list corruption in the nilfs2 filesystem. An attacker with local access could exploit this to cause a denial of service or potentially escalate privileges by manipulating filesystem operations.

Mitigation Strategies

Update your Linux kernel to a patched version that includes the fix for this nilfs2 vulnerability. If nilfs2 is not in use, no action is required. Monitor kernel security advisories for nilfs2-related patches.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-80807. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart