x86/mm: Don't apply va_align to hugetlb mappings on AMD F15h
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.56, 7.2.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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. ]
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1317a5e7f7b1336eac4097f0ef4f5cd7ae72f1d0 · fixed in fe23680e6f1d52b8cc45d77bf7c54249508a81c7; From 1317a5e7f7b1336eac4097f0ef4f5cd7ae72f1d0 · fixed in b46b2e2de47ca9449532b0a7110ed99f79061d6e; From 1317a5e7f7b1336eac4097f0ef4f5cd7ae72f1d0 · fixed in d2457a7e2727dc747a61a50d65c2f259afce8c45
- Linux Linux
6.13
- KernelLinux
From 6.13.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10