1. Home
  2. Vulnerabilities
  3. CVE-2026-90418

CVE-2026-90418

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

Published 17 Sept 2026 · modified 30 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 12/100

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 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 products and versions

Linux (1 line(s))
Linux
ProductVersionsFixed inSource
Linux 3.10 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1289)
  3. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)
  4. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1469)
  5. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1537)
  6. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1595)
  7. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1596)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)

How this data is obtained and calculated