# CVE-2026-80807: nilfs2: reject invalid block index in GC ioctl

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **Published:** 2026-09-04T15:13:23.605Z
- **Modified:** 2026-10-19T09:17:15.380Z

## Who should check

- Anyone running Linux \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< 898404cdf882d7b54f1132f75570984ca3214796; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< ba8a8b563a28d358c45c62a306d421434a058648; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< 3bd064ccc70b85f9a3d53aece29dc8473be5a226; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< a5e776e2937581d67ec5b9b4d27b0f70d7baa6b1; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< 68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< e447f7edb99bd00cec63d6f3049e2e5074946f71; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< ec6ddf271dfa4c7e3147bc2c8b2bad4315f316a1; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< fbcfb75c20d71a5b542ad4ac3b79d10b997c8152; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< a1735eae55448bc79c2da6593455791e886f6ed8
- Anyone running Linux 2.6.30

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

## Affected and fixed versions

- Linux: \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< 898404cdf882d7b54f1132f75570984ca3214796; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< ba8a8b563a28d358c45c62a306d421434a058648; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< 3bd064ccc70b85f9a3d53aece29dc8473be5a226; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< a5e776e2937581d67ec5b9b4d27b0f70d7baa6b1; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< 68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< e447f7edb99bd00cec63d6f3049e2e5074946f71; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< ec6ddf271dfa4c7e3147bc2c8b2bad4315f316a1; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< fbcfb75c20d71a5b542ad4ac3b79d10b997c8152; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< a1735eae55448bc79c2da6593455791e886f6ed8 (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80807. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80807.md
Affected: Linux >= 7942b919f7321f95a777d396ff7894a7a83dc9b0, < 898404cdf882d7b54f1132f75570984ca3214796; >= 7942b919f7321f95a777d396ff7894a7a83dc9b0, < ba8a8b563a28d358c45c62a306d421434a058648; >= 7942b919f7321f95a777d396ff7894a7a83dc9b0, < 3bd064ccc70b85f9a3d53aece29dc8473be5a226; >= 7942b919f7321f95a777d39…
Fixed in: Linux 898404cdf882d7b54f1132f75570984ca3214796, Linux 3bd064ccc70b85f9a3d53aece29dc8473be5a226, Linux 68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80807 being exploited?

There is no confirmed exploitation: CVE-2026-80807 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80807?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-80807?

Linux \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< 898404cdf882d7b54f1132f75570984ca3214796; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< ba8a8b563a28d358c45c62a306d421434a058648; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< 3bd064ccc70b85f9a3d53aece29dc8473be5a226; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< a5e776e2937581d67ec5b9b4d27b0f70d7baa6b1; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< 68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< e447f7edb99bd00cec63d6f3049e2e5074946f71; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< ec6ddf271dfa4c7e3147bc2c8b2bad4315f316a1; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< fbcfb75c20d71a5b542ad4ac3b79d10b997c8152; \>= 7942b919f7321f95a777d396ff7894a7a83dc9b0, \< a1735eae55448bc79c2da6593455791e886f6ed8; Linux 2.6.30.

### Is there a fix for CVE-2026-80807?

Yes. Fixed in Linux 898404cdf882d7b54f1132f75570984ca3214796, Linux 3bd064ccc70b85f9a3d53aece29dc8473be5a226, Linux 68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-80807?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/898404cdf882d7b54f1132f75570984ca3214796>
- other: <https://git.kernel.org/stable/c/ba8a8b563a28d358c45c62a306d421434a058648>
- other: <https://git.kernel.org/stable/c/3bd064ccc70b85f9a3d53aece29dc8473be5a226>
- other: <https://git.kernel.org/stable/c/a5e776e2937581d67ec5b9b4d27b0f70d7baa6b1>
- other: <https://git.kernel.org/stable/c/68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44>
- other: <https://git.kernel.org/stable/c/e447f7edb99bd00cec63d6f3049e2e5074946f71>
- other: <https://git.kernel.org/stable/c/ec6ddf271dfa4c7e3147bc2c8b2bad4315f316a1>
- other: <https://git.kernel.org/stable/c/fbcfb75c20d71a5b542ad4ac3b79d10b997c8152>
- other: <https://git.kernel.org/stable/c/a1735eae55448bc79c2da6593455791e886f6ed8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80807>

HTML: <https://flawdb.com/CVE-2026-80807> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80807>
