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

Summary

CVECVE-2026-90418
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:17:46 UTC
Updated2026-09-17 17:17:46 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001680000 probability, percentile 0.064930000 (date 2026-09-18)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 8c26c4e2694a163d525976e804d81cd955bbb40c 5166a21b12f549774f2983fa86d2526ea9e66ace git Not specified
CNA Linux Linux affected 8c26c4e2694a163d525976e804d81cd955bbb40c 4e1f21e7540b25d83f86b50780836ed7d2afcc93 git Not specified
CNA Linux Linux affected 8c26c4e2694a163d525976e804d81cd955bbb40c 3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05 git Not specified
CNA Linux Linux affected 8c26c4e2694a163d525976e804d81cd955bbb40c f181155baf0c93a74ebe804c6cecbe970e78ee9e git Not specified
CNA Linux Linux affected 8c26c4e2694a163d525976e804d81cd955bbb40c 66f4ad3ce158902e5f98afea93189972ed8750c2 git Not specified
CNA Linux Linux affected 3.10 Not specified
CNA Linux Linux unaffected 3.10 semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/66f4ad3ce158902e5f98afea93189972ed8750c2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3904fb0ee741ebbbc27ec8f50a9bb6cd31e8af05 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f181155baf0c93a74ebe804c6cecbe970e78ee9e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5166a21b12f549774f2983fa86d2526ea9e66ace 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4e1f21e7540b25d83f86b50780836ed7d2afcc93 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report