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

arm64: make huge_ptep_get handled unaligned addresses

huge_ptep_get() can be handed a virtual address pointing to the middle
of a contpmd/contpte mapped hugetlb folio (examples of callers are
pagemap_hugetlb_range, page_mapped_in_vma).

The arm64 helper rewalks the pgtables in find_num_contig to answer
whether the huge pte we have maps a contpmd or a contpte hugetlb folio,
and returns CONT_PMDS or CONT_PTES, so that it can collect a/d bits over
the contiguous ptes. We can falsely return CONT_PTES instead of
CONT_PMDS if the addr is not aligned. On systems where CONT_PTES !=
CONT_PMDS (meaning page size is 16K), we could collect excess A/D bit
state, meaning extra work for the kernel. Even worse, we may iterate
beyond the PTE table and dereference a garbage ptep pointer to access
physical memory we don't own. Since the ptep pointer is a linear map
address, we may run off the end of the linear map or into a hole,
dereference a VA not mapped into the kernel pgtables and cause kernel
panic.

Fix this by aligning the pmdp pointer down to a contpmd base before
checking equality with the passed huge pte pointer, to correctly answer
whether the huge pte is the base of a contpmd block.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs in the arm64 kernel helper function huge_ptep_get, which can be invoked with a virtual address that is not aligned to the base of a contpmd or contpte hugetlb folio. When the address is misaligned, the function may mistakenly treat a continuous PTE block as a PMD block, collecting incorrect bits and iterating past the end of the page table entries. This can result in dereferencing a kernel‑space pointer beyond the linear map, accessing memory that the kernel does not own and ultimately causing a kernel panic. The impact is kernel memory corruption followed by a denial‑of‑service event.

Affected Systems

This issue affects all arm64 Linux kernels that include the vulnerable version of huge_ptep_get and have not yet incorporated the commit that aligns the PMDP pointer before comparison. It is applicable to any system running a kernel that supports hugetlb page mappings and where functions such as pagemap_hugetlb_range or page_mapped_in_vma may be invoked.

Risk and Exploitability

No public exploits have been reported and the exploitation likelihood is presently unknown; EPSS data is not available. The vulnerability is not listed in the CISA KEV catalog, indicating no widely known exploitation. Based on the description, it is inferred that the likely attack vector requires an attacker to invoke a local system call that triggers huge_ptep_get with a crafted unaligned address; such a call would need to be performed by code running with sufficient privileges to access the relevant kernel functions. Consequently, the risk is primarily a local denial‑of‑service threat rather than a remote code execution vector, but it remains important to mitigate.

Generated by OpenCVE AI on August 10, 2026 at 14:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the hotpatch addressing the alignment check in huge_ptep_get
  • If an immediate kernel update is not possible, disable or avoid the use of hugepages on affected arm64 systems until the patch is available
  • Continuously monitor system logs for kernel panic events and isolate the host from network access if repeated panics occur to prevent potential privilege escalation from a reboot scenario

Generated by OpenCVE AI on August 10, 2026 at 14:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-125

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: arm64: make huge_ptep_get handled unaligned addresses huge_ptep_get() can be handed a virtual address pointing to the middle of a contpmd/contpte mapped hugetlb folio (examples of callers are pagemap_hugetlb_range, page_mapped_in_vma). The arm64 helper rewalks the pgtables in find_num_contig to answer whether the huge pte we have maps a contpmd or a contpte hugetlb folio, and returns CONT_PMDS or CONT_PTES, so that it can collect a/d bits over the contiguous ptes. We can falsely return CONT_PTES instead of CONT_PMDS if the addr is not aligned. On systems where CONT_PTES != CONT_PMDS (meaning page size is 16K), we could collect excess A/D bit state, meaning extra work for the kernel. Even worse, we may iterate beyond the PTE table and dereference a garbage ptep pointer to access physical memory we don't own. Since the ptep pointer is a linear map address, we may run off the end of the linear map or into a hole, dereference a VA not mapped into the kernel pgtables and cause kernel panic. Fix this by aligning the pmdp pointer down to a contpmd base before checking equality with the passed huge pte pointer, to correctly answer whether the huge pte is the base of a contpmd block.
Title arm64: make huge_ptep_get handled unaligned addresses
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T11:59:41.893Z

Reserved: 2026-07-30T09:28:09.372Z

Link: CVE-2026-68172

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T16:30:04Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-125

    Out-of-bounds Read