Race Condition Vulnerability in Linux Kernel - Potential Impact on System Stability
CVE-2025-39754
What is CVE-2025-39754?
A race condition has been identified in the Linux kernel that involves the smaps_hugetlb_range() function interacting with the migration process. This can lead to a critical situation where concurrent operations may trigger a system crash, specifically through the BUG_ON failure in the pfn_swap_entry_to_page() function. The vulnerability arises when smaps_hugetlb_range accesses the page table entry without holding a necessary lock, thereby allowing a possibility of conflict when migration takes place. The issue has been addressed by enforcing a consistent locking mechanism within the smaps_hugetlb_range function to prevent disruptions during page migrations.
Affected Version(s)
Linux 25ee01a2fca02dfb5a3ce316e77910c468108199 < 2a1f3663974162b8f1e098196f557cfc1d160138
Linux 25ee01a2fca02dfb5a3ce316e77910c468108199 < 09fc018f48871123ad5dbd7b03c956580232ed76
Linux 25ee01a2fca02dfb5a3ce316e77910c468108199