{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c75a74f4ba19c904c0ae1e011ae2568449409ae4"
            },
            {
              "fixed": "1da6d832eda02d908df11a30ba6a856b98a3dd76"
            },
            {
              "fixed": "54e07a158f7aea2754849d3a5a4cba1ac338ae7e"
            },
            {
              "fixed": "1bb0ef8069ef158d245bac91ac178bb4f1a7ccd2"
            },
            {
              "fixed": "a0188cc133696627857d16054e43f9ebc7efc821"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.11.0"
            },
            {
              "fixed": "6.12.103"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.44"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74524.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: mm: Fix out-of-bounds page-table walk during memory hot-remove\n\nremove_pud_mapping() and remove_p4d_mapping() obtain a child table base\nwith pud_offset(p4dp, 0) and p4d_offset(pgd, 0), then add the index for\naddr.\n\nRISC-V folds page-table levels at runtime. When a level is folded, its\noffset helper returns the parent entry itself, but the index can still be\nnonzero. Adding it walks past the parent table. Sv48 folds P4D, while Sv39\nfolds both P4D and PUD, so memory hot-remove can descend into unrelated\nmemory and pass an invalid page to __free_pages(). This can trigger:\n\n  kernel BUG at include/linux/mm.h:1810!\n  VM_BUG_ON_PAGE(page_ref_count(page) == 0)\n  arch_remove_memory+0x1e/0x5c\n  try_remove_memory+0x15e/0x200\n  remove_memory+0x24/0x3c\n\nOnly add the index when the corresponding page-table level is enabled,\nmatching p4d_offset() and pud_offset().",
  "id": "CVE-2026-74524",
  "modified": "2026-08-18T03:31:02.525764789Z",
  "published": "2026-08-15T12:27:41.735Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1bb0ef8069ef158d245bac91ac178bb4f1a7ccd2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1da6d832eda02d908df11a30ba6a856b98a3dd76"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/54e07a158f7aea2754849d3a5a4cba1ac338ae7e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a0188cc133696627857d16054e43f9ebc7efc821"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74524.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74524"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "riscv: mm: Fix out-of-bounds page-table walk during memory hot-remove"
}