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. ]
Published: 2026-10-18
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via kernel panic
Action: Patch Now
AI Analysis

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.

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

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

No advisories yet.

History

Fri, 23 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Fri, 23 Oct 2026 12:30:00 +0000

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


Sun, 18 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Sun, 18 Oct 2026 16:00:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:24:39.819Z

Reserved: 2026-09-25T10:25:14.366Z

Link: CVE-2026-98729

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:26.530

Modified: 2026-10-19T10:19:37.053

Link: CVE-2026-98729

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98729 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T22:15:17Z

Weaknesses