mm/migrate_device: fix spinlock leak in migrate_vma_insert_huge_pmd_page
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 63451de16e0a08be40f9ab5e7c5c8f5c79676fb1 and Kernel c715f7ccf7a294c058667b678a4ba50fad933c62.
In the Linux kernel, the following vulnerability has been resolved: mm/migrate_device: fix spinlock leak in migrate_vma_insert_huge_pmd_page When check_stable_address_space() fails after the PMD spinlock has been acquired via pmd_lock(), the code jumps directly to the abort label, bypassing the spin_unlock() call in unlock_abort. This causes the PMD spinlock to be permanently held, leading to a deadlock. Change the goto target from abort to unlock_abort to ensure the spinlock is always released on this error path.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=a30b48bf1b244f11bf9b6d20cdccfe0c2264130c <63451de16e0a08be40f9ab5e7c5c8f5c79676fb1, >=a30b48bf1b244f11bf9b6d20cdccfe0c2264130c <c715f7ccf7a294c058667b678a4ba50fad933c62 | 63451de16e0a08be40f9ab5e7c5c8f5c79676fb1, c715f7ccf7a294c058667b678a4ba50fad933c62 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket