# CVE-2026-64129: mm/migrate_device: fix spinlock leak in migrate_vma_insert_huge_pmd_page

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T15:40:25.385Z
- Modified: 2026-08-13T15:10:58.313Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from a30b48bf1b244f11bf9b6d20cdccfe0c2264130c before c715f7ccf7a294c058667b678a4ba50fad933c62; from a30b48bf1b244f11bf9b6d20cdccfe0c2264130c before 63451de16e0a08be40f9ab5e7c5c8f5c79676fb1; 6.19 (not affected: before 6.19; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/c715f7ccf7a294c058667b678a4ba50fad933c62> (patch)
- <https://git.kernel.org/stable/c/63451de16e0a08be40f9ab5e7c5c8f5c79676fb1> (patch)

## Sources

- CVE List: [CVE-2026-64129](https://www.cve.org/CVERecord?id=CVE-2026-64129), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2026-64129](https://nvd.nist.gov/vuln/detail/CVE-2026-64129), Public domain, modified 2026-08-13

---

Page: https://cve.day/CVE-2026-64129 · Whole record: https://cve.day/CVE-2026-64129.json · Rebuilt by cve.day 2026-11-25T22:59:29.161Z
