CVE-2026-90418

nilfs2: fix BUG in nilfs_copy_dirty_pages() on dirty state mismatch

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 30, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8c26c4e2694a163d525976e804d81cd955bbb40c to before 6879c603a8d07af82da83768cc2342a11bd444e5Affected
  • 8c26c4e2694a163d525976e804d81cd955bbb40c to before 5166a21b12f549774f2983fa86d2526ea9e66aceAffected
  • 8c26c4e2694a163d525976e804d81cd955bbb40c to before 4e1f21e7540b25d83f86b50780836ed7d2afcc93Affected
  • 8c26c4e2694a163d525976e804d81cd955bbb40c to before 3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05Affected
  • 8c26c4e2694a163d525976e804d81cd955bbb40c to before f181155baf0c93a74ebe804c6cecbe970e78ee9eAffected
  • 8c26c4e2694a163d525976e804d81cd955bbb40c to before 66f4ad3ce158902e5f98afea93189972ed8750c2Affected
LinuxLinux
  • 3.10Affected
  • before 3.10Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.