GHSA-FJ2C-WG55-FVC7

Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-19 15:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

ARM: 9524/1: mm: align hugetlb mappings to the huge page size

mmap(MAP_HUGETLB) on 32-bit Arm can return an address which is not aligned to the huge page size. In a QEMU virt guest, unmapping the VMA then hits the alignment check in __unmap_hugepage_range():

kernel BUG at mm/hugetlb.c:5213! Internal error: Oops - BUG: 0 [#1] SMP ARM PC is at __unmap_hugepage_range+0x540/0x584 LR is at __zap_vma_range+0x13a0/0x1410

Commit 7bd3f1e1a9ae ("mm: make hugetlb mappings go through mm_get_unmapped_area_vmflags") made hugetlb mappings use the architecture's arch_get_unmapped_area(). The generic implementations handle hugetlb alignment, but the Arm implementations only account for the optional SHMLBA cache-colouring constraint. A 4 KiB-page kernel can therefore align the mapping to 4 KiB or 16 KiB instead of the required 2 MiB.

Set the alignment mask from the file's hstate for hugetlb mappings in both Arm implementations. Huge-page alignment also satisfies the SHMLBA constraint.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-99559"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-19T15:18:12Z",
    "severity": null
  },
  "details": "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\u0027s 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\u0027s hstate for hugetlb mappings in\nboth Arm implementations. Huge-page alignment also satisfies the\nSHMLBA constraint.",
  "id": "GHSA-fj2c-wg55-fvc7",
  "modified": "2026-11-19T15:31:29Z",
  "published": "2026-11-19T15:31:29Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99559"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1eb87d8f77379d4e4b279487b8c859fb64bd1afb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/277157864856d812c82f1ca8c156b392d368b8c7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8602ec8effb019d7db38d3c234d9d7305ee429a5"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…