{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99559",
  "modified": "2026-11-20T05:30:01Z",
  "upstream": [
    "CVE-2026-99559"
  ],
  "published": "2026-11-19T15:08:37Z",
  "summary": "ARM: 9524/1: mm: align hugetlb mappings to the huge page size",
  "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'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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:13",
        "name": "linux"
      },
      "versions": [
        "1:6.18.29-1+rpt1",
        "1:6.18.33-1+rpt1",
        "1:6.18.34-1+rpt1",
        "1:6.18.39-1+rpt1",
        "1:6.18.50-1+rpt1",
        "1:6.18.60-1+rpt1"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-v6",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-v7",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-v6",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-v7",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-v6",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-v7",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-v6",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-v7",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.50+rpt-rpi-v6",
            "binary_version": "1:6.18.50-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.50+rpt-rpi-v7",
            "binary_version": "1:6.18.50-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.60+rpt-rpi-v6",
            "binary_version": "1:6.18.60-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.60+rpt-rpi-v7",
            "binary_version": "1:6.18.60-1+rpt1"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.18.29-1+rpt1": {
            "linux_commit": "66318c5b5cd8145a662303af12ed39ac07eb27cc",
            "upstream_version": "6.18.29",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.61"
          },
          "1:6.18.33-1+rpt1": {
            "linux_commit": "95b85bebbedcaedfa7ca79116ed38b7376fba412",
            "upstream_version": "6.18.33",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.61"
          },
          "1:6.18.34-1+rpt1": {
            "linux_commit": "c8c7494100e99ee05b11aaa4f0588a223a63d1af",
            "upstream_version": "6.18.34",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.61"
          },
          "1:6.18.39-1+rpt1": {
            "linux_commit": "60ea684a8ace97bb0db1a16e20753bdd6ab371ff",
            "upstream_version": "6.18.39",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.61"
          },
          "1:6.18.50-1+rpt1": {
            "linux_commit": "cff533aec2fa601846766b32ff57204e0a61bed7",
            "upstream_version": "6.18.50",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.61"
          },
          "1:6.18.60-1+rpt1": {
            "linux_commit": "0b41724521c9adf5399409d02aece6c1df0a4432",
            "upstream_version": "6.18.60",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.61"
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-99559"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/277157864856d812c82f1ca8c156b392d368b8c7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8602ec8effb019d7db38d3c234d9d7305ee429a5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1eb87d8f77379d4e4b279487b8c859fb64bd1afb"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-19T15:08:37Z"
  }
}
