CVE Catalog

CVE-2026-90418

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the nilfs2 filesystem has a BUG in nilfs_copy_dirty_pages() triggered by a dirty state mismatch. When a dirty page unexpectedly loses its dirty status after the filesystem transitions to read-only mode, the kernel triggers a BUG.

Risk Assessment

A kernel BUG causes an immediate system crash (panic), leading to service unavailability and potential data loss. The risk occurs on systems with nilfs2 after metadata corruption is detected.

Recommendation

Update the Linux kernel to a version containing the fix that returns -EROFS instead of BUG and issues a warning only once. Updating systems using nilfs2 is recommended.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS