CVE-2026-98729 PUBLISHED

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

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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. ]

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1317a5e7f7b1336eac4097f0ef4f5cd7ae72f1d0 to fe23680e6f1d52b8cc45d77bf7c54249508a81c7 (excl.)
  • affected from 1317a5e7f7b1336eac4097f0ef4f5cd7ae72f1d0 to b46b2e2de47ca9449532b0a7110ed99f79061d6e (excl.)
  • affected from 1317a5e7f7b1336eac4097f0ef4f5cd7ae72f1d0 to d2457a7e2727dc747a61a50d65c2f259afce8c45 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.13 is affected
  • unaffected from 0 to 6.13 (excl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References