# CVE-2026-90418: nilfs2: fix BUG in nilfs\_copy\_dirty\_pages() on dirty state mismatch

> 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.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:09:43.223Z
- **Modified:** 2026-10-30T13:20:52.760Z

## Who should check

- Anyone running Linux \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 6879c603a8d07af82da83768cc2342a11bd444e5; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 5166a21b12f549774f2983fa86d2526ea9e66ace; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 4e1f21e7540b25d83f86b50780836ed7d2afcc93; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< f181155baf0c93a74ebe804c6cecbe970e78ee9e; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 66f4ad3ce158902e5f98afea93189972ed8750c2
- Anyone running Linux 3.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: fix BUG in nilfs\_copy\_dirty\_pages() on dirty state mismatch

Syzbot reported a kernel BUG triggered within nilfs\_copy\_dirty\_pages(),
which copies dirty DAT file folios/pages to its shadow page cache.  The
BUG occurs when a retrieved dirty folio/page unexpectedly loses its
'dirty' status.

This issue arises because, since the commit referenced below, the 'dirty'
flag of a folio/page can be cleared asynchronously after the filesystem
detects metadata corruption and transitions to read-only mode.

Resolve the issue by returning an -EROFS error if the filesystem has
transitioned to read-only mode.  Also change the behavior to issue a
kernel warning only once instead of triggering a kernel BUG when this
unexpected 'dirty' state is detected while the filesystem is not in
read-only mode.

## Affected and fixed versions

- Linux: \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 6879c603a8d07af82da83768cc2342a11bd444e5; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 5166a21b12f549774f2983fa86d2526ea9e66ace; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 4e1f21e7540b25d83f86b50780836ed7d2afcc93; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< f181155baf0c93a74ebe804c6cecbe970e78ee9e; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 66f4ad3ce158902e5f98afea93189972ed8750c2 (cvelist)
- Linux: 3.10 (cvelist)

## Mitigation

- Upgrade Linux to 66f4ad3ce158902e5f98afea93189972ed8750c2 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-90418.md
Affected: Linux >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 6879c603a8d07af82da83768cc2342a11bd444e5; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 5166a21b12f549774f2983fa86d2526ea9e66ace; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4e1f21e7540b25d83f86b50780836ed7d2afcc93; >= 8c26c4e2694a163d525976e…
Fixed in: Linux 6879c603a8d07af82da83768cc2342a11bd444e5, Linux 5166a21b12f549774f2983fa86d2526ea9e66ace, Linux 4e1f21e7540b25d83f86b50780836ed7d2afcc93, Linux 3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05, Linux 66f4ad3ce158902e5f98afea93189972ed8750c2

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-90418 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 6879c603a8d07af82da83768cc2342a11bd444e5; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 5166a21b12f549774f2983fa86d2526ea9e66ace; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 4e1f21e7540b25d83f86b50780836ed7d2afcc93; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< f181155baf0c93a74ebe804c6cecbe970e78ee9e; \>= 8c26c4e2694a163d525976e804d81cd955bbb40c, \< 66f4ad3ce158902e5f98afea93189972ed8750c2; Linux 3.10.

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

Yes. Fixed in Linux 6879c603a8d07af82da83768cc2342a11bd444e5, Linux 5166a21b12f549774f2983fa86d2526ea9e66ace, Linux 4e1f21e7540b25d83f86b50780836ed7d2afcc93, Linux 3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05, Linux 66f4ad3ce158902e5f98afea93189972ed8750c2. Upgrade Linux to 66f4ad3ce158902e5f98afea93189972ed8750c2 or later.

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

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/6879c603a8d07af82da83768cc2342a11bd444e5>
- other: <https://git.kernel.org/stable/c/5166a21b12f549774f2983fa86d2526ea9e66ace>
- other: <https://git.kernel.org/stable/c/4e1f21e7540b25d83f86b50780836ed7d2afcc93>
- other: <https://git.kernel.org/stable/c/3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05>
- other: <https://git.kernel.org/stable/c/f181155baf0c93a74ebe804c6cecbe970e78ee9e>
- other: <https://git.kernel.org/stable/c/66f4ad3ce158902e5f98afea93189972ed8750c2>

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

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