{"id":"CVE-2026-99645","aliases":[],"title":"mm/cma: don't release CMA pages still in use","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/cma: don't release CMA pages still in use\n\nWhen a driver calls dma_free_contiguous() before quiescing DMA, the\npage might still have a reference from the device.\nput_page_testzero() there returns false, WARN fires, but the code proceeds\nto free_contig_frozen_range() putting a live page onto buddy and clearing\nthe bitmap. A subsequent allocation can hand the same PFN to a new\nowner while the original holder still references it.\n\nA concurrent put_page() that drops the last reference between the\ntestzero loop and free_contig_frozen_range() can double-queue the page\nvia page->lru, corrupting buddy lists.\n\nAvoid the corruption by not freeing a CMA region if any of the\npages inside are still in use.\n\nMake it explicit in the warning that the driver allowed a leak.\n\nWhile at it, use page_ref_freeze() to make the semantics clearer and\nswitch to pr_warn_ratelimited().\n\n[ david: use page_ref_freeze() + pr_warn_ratelimited() ]","severity":{"cvss":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00138,"percentile":0.03355},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Linux","range":">=9bda131c6093e9c4a8739e2eeb65ba4d5fbefc2f, <485214cc031771fdbd5829b431f4f115e285dc21","fixed":"485214cc031771fdbd5829b431f4f115e285dc21"},{"ecosystem":"vendor","name":"Linux","range":">=9bda131c6093e9c4a8739e2eeb65ba4d5fbefc2f, <e8abc61d8a549a91c8fa639f68be2ef13d5fa63b","fixed":"e8abc61d8a549a91c8fa639f68be2ef13d5fa63b"}],"references":[{"url":"https://git.kernel.org/stable/c/485214cc031771fdbd5829b431f4f115e285dc21","type":"other"},{"url":"https://git.kernel.org/stable/c/e8abc61d8a549a91c8fa639f68be2ef13d5fa63b","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-22T11:19:01.138Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99645","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.005Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:03.520Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99645","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:13.657Z"}],"firstSeenAt":"2026-11-20T06:28:13.657Z","publishedAt":"2026-11-20T05:49:59.909Z","modifiedAt":"2026-11-22T11:17:04.353Z"}