{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99559","id":"CVE-2026-99559","title":"ARM: 9524/1: mm: align hugetlb mappings to the huge page size","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nARM: 9524/1: mm: align hugetlb mappings to the huge page size\n\nmmap(MAP_HUGETLB) on 32-bit Arm can return an address which is not\naligned to the huge page size. In a QEMU virt guest, unmapping the VMA\nthen hits the alignment check in __unmap_hugepage_range():\n\n  kernel BUG at mm/hugetlb.c:5213!\n  Internal error: Oops - BUG: 0 [#1","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nARM: 9524/1: mm: align hugetlb mappings to the huge page size\n\nmmap(MAP_HUGETLB) on 32-bit Arm can return an address which is not\naligned to the huge page size. In a QEMU virt guest, unmapping the VMA\nthen hits the alignment check in __unmap_hugepage_range():\n\n  kernel BUG at mm/hugetlb.c:5213!\n  Internal error: Oops - BUG: 0 [#1] SMP ARM\n  PC is at __unmap_hugepage_range+0x540/0x584\n  LR is at __zap_vma_range+0x13a0/0x1410\n\nCommit 7bd3f1e1a9ae (\"mm: make hugetlb mappings go through\nmm_get_unmapped_area_vmflags\") made hugetlb mappings use the\narchitecture's arch_get_unmapped_area(). The generic implementations\nhandle hugetlb alignment, but the Arm implementations only account for\nthe optional SHMLBA cache-colouring constraint. A 4 KiB-page kernel can\ntherefore align the mapping to 4 KiB or 16 KiB instead of the required\n2 MiB.\n\nSet the alignment mask from the file's hstate for hugetlb mappings in\nboth Arm implementations. Huge-page alignment also satisfies the\nSHMLBA constraint.","published":"2026-11-19T14:45:31.024Z","updated":"2026-11-19T14:45:31.024Z","reserved":"2026-09-25T10:25:14.422Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7bd3f1e1a9ae7f7508c88dd056755a0a4741ae88","lessThan":"277157864856d812c82f1ca8c156b392d368b8c7","status":"affected","versionType":"git"},{"version":"7bd3f1e1a9ae7f7508c88dd056755a0a4741ae88","lessThan":"8602ec8effb019d7db38d3c234d9d7305ee429a5","status":"affected","versionType":"git"},{"version":"7bd3f1e1a9ae7f7508c88dd056755a0a4741ae88","lessThan":"1eb87d8f77379d4e4b279487b8c859fb64bd1afb","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","lessThan":"6.13","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/277157864856d812c82f1ca8c156b392d368b8c7","tags":[]},{"url":"https://git.kernel.org/stable/c/8602ec8effb019d7db38d3c234d9d7305ee429a5","tags":[]},{"url":"https://git.kernel.org/stable/c/1eb87d8f77379d4e4b279487b8c859fb64bd1afb","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99559","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99559","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99559","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99559","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}