CVE-2026-98729

x86/mm: Don't apply va_align to hugetlb mappings on AMD F15h

Published Oct 18, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

x86/mm: Don't apply va_align to hugetlb mappings on AMD F15h

get_align_mask() returns huge_page_mask_align() for hugetlbfs, but get_align_bits()
adds va_align.bits regardless, so vm_unmapped_area() returns an address off the huge
page boundary and __unmap_hugepage_range() hits BUG_ON(start & ~huge_page_mask(h)) at
teardown.

This can be triggered on Carrizo and FX-8370E, both hstates.

Pass the file to get_align_bits() and skip the randomisation for hugetlbfs.

[ bp: Massage commit message. ]

Analysis

AI-generated

Technical impact

The flaw lies in the Linux kernel's memory‑management logic for x86 architectures. When a hugetlbfs mapping is requested, the core routine get_align_mask() supplies the page‑alignment mask for huge pages, but a subsequent call to get_align_bits() mistakenly adds general va_align bits even for a huge‑page mapping. This causes vm_unmapped_area() to return a virtual address that is not aligned to a huge page, and when the kernel later attempts to tear down the mapping with __unmap_hugepage_range(), a BUG_ON is triggered. The kernel therefore panics, resulting in an immediate denial of service. The weakness falls under incorrect alignment handling (CWE‑617).

Affected Systems

It affects Linux kernel builds on AMD CPUs using the F15h microarchitecture, specifically Carrizo and FX‑8370E processors. All kernel versions released before the commit that fixes the alignment bug are insecure. The issue is confined to the x86/mm subsystem and will be corrected in any kernel that contains the listed patch references.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate severity. The EPSS score is less than 1%, showing a very low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog, implying no publicized attacks. Based on the description, it is inferred that a local attacker who can request hugetlbfs mappings requires kernel privileges or elevated rights to exploit the bug; non-privileged users would need an additional vector to gain access to huge‑page memory. Although the attack requires elevated rights, it can still be used to crash a system by creating a hugetlbfs mapping on the affected hardware.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the commit fixing the alignment bug (refer to the commit URLs in the advisory).
  • Avoid creating or accessing hugetlbfs files on machines equipped with AMD Carrizo or FX‑8370E processors until a patched kernel is available.
  • If an update cannot be performed immediately, disable or reduce the use of huge‑page memory mappings in affected workloads to prevent accidental kernel panics.

Generated by OpenCVE AI on October 23, 2026 at 22:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9018-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9018-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Weaknesses CWE-617
References
Metrics threat_severity

None

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'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: x86/mm: Don't apply va_align to hugetlb mappings on AMD F15h get_align_mask() returns huge_page_mask_align() for hugetlbfs, but get_align_bits() adds va_align.bits regardless, so vm_unmapped_area() returns an address off the huge page boundary and __unmap_hugepage_range() hits BUG_ON(start & ~huge_page_mask(h)) at teardown. This can be triggered on Carrizo and FX-8370E, both hstates. Pass the file to get_align_bits() and skip the randomisation for hugetlbfs. [ bp: Massage commit message. ]
Title x86/mm: Don't apply va_align to hugetlb mappings on AMD F15h
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:24 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM