{"id":"CVE-2026-99699","aliases":["CVE-2026-99699"],"related":[],"kind":"vulnerability","state":"published","title":"mm/cma: accept memory of multi-range CMA areas","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/cma: accept memory of multi-range CMA areas\n\nPatch series \"mm/cma: accept memory of CMA areas reserved with\nmemblock_reserve()\", v1.\n\nPages of allocated CMA areas are released to the buddy allocator with\n__free_pages(), which does not check for unaccepted memory.\n\nThis usually works because memblock accepts the memory it allocates.\n\nHowever, multi-range CMA areas, used by hugetlb_cma, and fixed CMA areas\nrequested with cma=<size>@<base> are reserved with memblock_reserve() and\ntheir memory is never accepted.\n\nOn TDX and SEV-SNP guests the first access to such a page is fatal.\n\nTo ease the backporting, each case is addressed by a separate patch:\n- patch 1 accepts the memory of multi-range CMA areas\n- patch 2 does the same for the fixed CMA areas\n\nThe second patch won't apply cleanly to 6.6 and 6.12, but I believe the\nstable team LLMs will take care of that :)\n\n\nThis patch (of 2):\n\nOn systems with unaccepted memory, memblock allocations accept the\nallocated range, but when cma_declare_contiguous_multi() uses open coded\nallocation of multiple ranges, it reserves them with memblock_reserve()\nand they are never accepted.\n\nThese pages are released to the buddy allocator by cma_activate_area()\nwith __free_pages() that does not check for unaccepted memory, so the\nfirst access to such a page in a TDX or SEV-SNP guest is fatal.\n\nAccept the memory of each range when it is reserved.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/cma: accept memory of multi-range CMA areas\n\nPatch series \"mm/cma: accept memory of CMA areas reserved with\nmemblock_reserve()\", v1.\n\nPages of allocated CMA areas are released to the buddy allocator with\n__free_pages(), which does not check for unaccepted memory.\n\nThis usually works because memblock accepts the memory it allocates.\n\nHowever, multi-range CMA areas, used by hugetlb_cma, and fixed CMA areas\nrequested with cma=<size>@<base> are reserved with memblock_reserve() and\ntheir memory is never accepted.\n\nOn TDX and SEV-SNP guests the first access to such a page is fatal.\n\nTo ease the backporting, each case is addressed by a separate patch:\n- patch 1 accepts the memory of multi-range CMA areas\n- patch 2 does the same for the fixed CMA areas\n\nThe second patch won't apply cleanly to 6.6 and 6.12, but I believe the\nstable team LLMs will take care of that :)\n\n\nThis patch (of 2):\n\nOn systems with unaccepted memory, memblock allocations accept the\nallocated range, but when cma_declare_contiguous_multi() uses open coded\nallocation of multiple ranges, it reserves them with memblock_reserve()\nand they are never accepted.\n\nThese pages are released to the buddy allocator by cma_activate_area()\nwith __free_pages() that does not check for unaccepted memory, so the\nfirst access to such a page in a TDX or SEV-SNP guest is fatal.\n\nAccept the memory of each range when it is reserved.","source":"cvelist"}],"published":"2026-11-20T05:50:41.851Z","modified":"2026-11-20T06:18:05.440Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c009da4258f9885c5a3749fc004870db9c0e7a99","fixed":"8e2dcdc9806546b4bda6f5904c96f1e5c20d477e","status":"affected"},{"type":"git","introduced":"c009da4258f9885c5a3749fc004870db9c0e7a99","fixed":"89b722ba00b0a6efd3ea14c1fc7996eb3b5a22c1","status":"affected"},{"type":"git","introduced":"c009da4258f9885c5a3749fc004870db9c0e7a99","fixed":"5d002001601a163b6c3500cdc098ff66c34f62d8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8e2dcdc9806546b4bda6f5904c96f1e5c20d477e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89b722ba00b0a6efd3ea14c1fc7996eb3b5a22c1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d002001601a163b6c3500cdc098ff66c34f62d8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99699","url":"https://www.cve.org/CVERecord?id=CVE-2026-99699","licence":"CVE Terms of Use","modified":"2026-11-20T05:50:41.851Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99699","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99699","licence":"Public domain","modified":"2026-11-20T06:18:05.440Z"}],"updatedAt":"2026-11-25T22:59:52.313Z","epss":{"score":0.00166,"percentile":0.06197,"date":"2026-12-01T12:00:22.000Z"}}