Skip to contentSkip to conversation

CVE-2026-98506: mm/hugetlb: do not dissolve gigantic pages without runtime support

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

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/hugetlb: do not dissolve gigantic pages without runtime support

dissolve_free_hugetlb_folio() doesn't check hstate_is_gigantic_no_runtime(h) though remove_hugetlb_folio()/ update_and_free_hugetlb_folio() silently bail for such folios, so it frees a still-listed folio and, on vmemmap restore failure, the add_hugetlb_folio() rollback corrupts the free list.

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

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

	Issue introduced in 5.13 with commit 6eb4e88a6d27022ea8aff424d47a0a5dfc9fcb34 and fixed in 6.12.112 with commit ddc1055b557506a6ea8930dfbd8d1555d6a3f01e
	Issue introduced in 5.13 with commit 6eb4e88a6d27022ea8aff424d47a0a5dfc9fcb34 and fixed in 6.18.55 with commit ccf96a4b8626a001c13c5836d8357f31c57bbd8e
	Issue introduced in 5.13 with commit 6eb4e88a6d27022ea8aff424d47a0a5dfc9fcb34 and fixed in 7.2.9 with commit 443628f755b35bf45044f68b970b65cd531c42fd
	Issue introduced in 5.13 with commit 6eb4e88a6d27022ea8aff424d47a0a5dfc9fcb34 and fixed in 7.3-rc5 with commit a363c62a653cc8b3e21da9545fa4e028ef50f9c3

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-98506

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/hugetlb.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/ddc1055b557506a6ea8930dfbd8d1555d6a3f01e
	https://git.kernel.org/stable/c/ccf96a4b8626a001c13c5836d8357f31c57bbd8e
	https://git.kernel.org/stable/c/443628f755b35bf45044f68b970b65cd531c42fd
	https://git.kernel.org/stable/c/a363c62a653cc8b3e21da9545fa4e028ef50f9c3