---
id: CVE-2026-90418
title: |-
  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…
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 8c26c4e2694a163d525976e804d81cd955bbb40c <
    5166a21b12f549774f2983fa86d2526ea9e66ace
  - >-
    Linux >= 8c26c4e2694a163d525976e804d81cd955bbb40c <
    4e1f21e7540b25d83f86b50780836ed7d2afcc93
  - >-
    Linux >= 8c26c4e2694a163d525976e804d81cd955bbb40c <
    3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05
  - >-
    Linux >= 8c26c4e2694a163d525976e804d81cd955bbb40c <
    f181155baf0c93a74ebe804c6cecbe970e78ee9e
  - >-
    Linux >= 8c26c4e2694a163d525976e804d81cd955bbb40c <
    66f4ad3ce158902e5f98afea93189972ed8750c2
  - Linux 3.10
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T17:17:46.167'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90418'
references:
  - url: 'https://git.kernel.org/stable/c/3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4e1f21e7540b25d83f86b50780836ed7d2afcc93'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5166a21b12f549774f2983fa86d2526ea9e66ace'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/66f4ad3ce158902e5f98afea93189972ed8750c2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f181155baf0c93a74ebe804c6cecbe970e78ee9e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-17T16:21:47.795Z'
epss: 0.00168
epssPercentile: 0.05381
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
