KernelScan.io

HIGH Introduced in 5.13

hugetlb GiganticPage Corruption

CVE-2026-98506

CVSS 7.1 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

01

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.

02

Engine v0.9.0

Risk summary

A local attacker on a system configured with gigantic huge pages lacking runtime support can trigger free list corruption in the hugetlb subsystem, potentially leading to kernel memory corruption, privilege escalation, information disclosure, or system crash. The vulnerability requires a specific kernel boot configuration (gigantic pages without runtime support) and the ability to trigger memory management operations that dissolve free huge pages.

Affectedmm/hugetlb.c (hugetlb subsystem)

Vulnerability analysis

The huge page subsystem's page dissolution path does not verify whether a gigantic huge page lacks runtime support before trying to dissolve it. While the underlying removal and free functions correctly abort for such pages, the dissolution function continues as if the page had been removed from the free list, leaving the page still linked. If a subsequent memory map restoration fails, the rollback path tries to re-add the already-listed page, corrupting the free list's pointers. This memory corruption can be exploited for arbitrary kernel memory write or read, enabling privilege escalation or information disclosure, and can also cause kernel crashes. The fix adds an early exit in the dissolution function for gigantic pages without runtime support, preventing the inconsistent state. Exploitation requires a system booted with gigantic huge pages configured without runtime support (a kernel command-line setting) and the ability to trigger memory compaction, hotplug, or other operations that dissolve free huge pages — typically accessible to local users with huge page access permissions.

03

BranchIntroducedFixed inPatch commit
6.15.136.1.19327f6ae7fa424
6.125.136.12.112ddc1055b5575
6.185.136.18.55ccf96a4b8626
6.65.136.6.163cac59c26f817
7.25.137.2.9443628f755b3
mainline5.137.3a363c62a653c
cip/6.125.136.12.112-cip33ddc1055b5575

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)