Notifier and Folio Deadlock Issue in Linux Kernel
CVE-2025-37868
Summary
A deadlock issue has been identified within the Linux kernel, specifically involving interactions between notifier callbacks and folio locks during memory management operations. When the migrate_pages_batch function holds onto folio locks, it can trigger a situation where notifier locks are simultaneously requested, leading to potential system instability. This issue arises when the page access and dirty marking procedures overlap, with critical timing causing contention between multiple processes. The kernel developers have mitigated this risk by eliminating the unnecessary marking of pages as accessed or dirty, thereby ensuring smoother operation without compromising functionality.
Affected Version(s)
Linux 2a24c98f0e4cc994334598d4f3a851972064809d < 65dc4e3d5b01db0179fc95c1f0bdb87194c28ab5
Linux 0a98219bcc961edd3388960576e4353e123b4a51 < 90574ecf6052be83971d91d16600c5cf07003bbb
Linux 0a98219bcc961edd3388960576e4353e123b4a51 < 2577b202458cddff85cc154b1fe7f313e0d1f418
References
Timeline
Vulnerability published
Vulnerability Reserved