CVE-2026-64129

mm/migrate_device: fix spinlock leak in migrate_vma_insert_huge_pmd_page

Published Jul 19, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a spinlock leak in the Linux kernel function that handles memory migration for huge pages. When a stability check fails after the PMD spinlock is acquired, the code jumps to an abort label that bypasses the unlock, leaving the spinlock permanently held. The locked spinlock blocks further progress of the migration path and can prevent other kernel operations from acquiring the resource, resulting in a deadlock that effectively halts memory management and can bring the system to a stand‑still.

Affected Systems

All current stable Linux kernel releases that contain the vulnerable migrate_vma_insert_huge_pmd_page code path are affected. The fix is included in the kernel after commit 63451de1, so any system running a kernel older than that commit contains the flaw.

Risk and Exploitability

The CVSS score of 5.5 is reported and the EPSS score is reported as less than 1 %, indicating a very low expected exploitation probability at this time. The vulnerability is not listed in CISA KEV. The description does not disclose an explicit attack vector, privilege requirement, or conditions beyond the failure of a stability check during a high‑memory‑usage migration operation. Consequently, the exact scope of exploitability cannot be determined from the available data, though the capacity to induce a system‑wide denial of service exists once the spinlock is held.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that incorporates commit 63451de1 or later, which contains the spinlock release fix.
  • Reboot the system so that the updated kernel image is loaded and the protection takes effect.
  • If the patch is not yet available for your distribution, apply the patch from the referenced commit directly to the kernel source and rebuild the kernel.

Generated by OpenCVE AI on August 13, 2026 at 18:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
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.
Title mm/migrate_device: fix spinlock leak in migrate_vma_insert_huge_pmd_page
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jul 19, 2026, 3:40 PM
Reserved
Jul 19, 2026, 7:54 AM
Status
Analyzed
Published
Jul 19, 2026, 4:17 PM
Modified
Aug 13, 2026, 3:10 PM
Severity
Public date
Jul 19, 2026, 12:00 AM