CVE-2026-64129

mm/migrate_device: fix spinlock leak in migrate_vma_insert_huge_pmd_page

State
Published
Severity
Not scored
Published
Jul 19, 2026
Updated
Jul 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a30b48bf1b244f11bf9b6d20cdccfe0c2264130c to before c715f7ccf7a294c058667b678a4ba50fad933c62Affected
  • a30b48bf1b244f11bf9b6d20cdccfe0c2264130c to before 63451de16e0a08be40f9ab5e7c5c8f5c79676fb1Affected
LinuxLinux
  • 6.19Affected
  • before 6.19Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.