Skip to contentSkip to conversation

CVE-2026-63953: mm/migrate_device: fix pgtable leak in migrate_vma_insert_huge_pmd_page

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

mm/migrate_device: fix pgtable leak in migrate_vma_insert_huge_pmd_page

When migrate_vma_insert_huge_pmd_page() jumps to unlock_abort due to a PMD check failure, the pgtable allocated earlier via pte_alloc_one() is never freed, causing a memory leak.

Added free_abort label to release the pgtable in error path.

The Linux kernel CVE team has assigned CVE-2026-63953 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.19 with commit a30b48bf1b244f11bf9b6d20cdccfe0c2264130c and fixed in 7.0.12 with commit 24861d04f197bb651e9dfb211978271c15f75a98
	Issue introduced in 6.19 with commit a30b48bf1b244f11bf9b6d20cdccfe0c2264130c and fixed in 7.1 with commit 2c6f81d58741349298f51ff697d988cb42881453

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-63953

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
mm/migrate_device.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/24861d04f197bb651e9dfb211978271c15f75a98
	https://git.kernel.org/stable/c/2c6f81d58741349298f51ff697d988cb42881453