{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99645","id":"CVE-2026-99645","title":"Linux kernel data corruption in CMA page release","description":"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 sub","descriptionLong":"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() ]","published":"2026-11-20T05:49:59.909Z","updated":"2026-11-20T05:49:59.909Z","reserved":"2026-09-25T10:25:14.426Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9bda131c6093e9c4a8739e2eeb65ba4d5fbefc2f","lessThan":"485214cc031771fdbd5829b431f4f115e285dc21","status":"affected","versionType":"git"},{"version":"9bda131c6093e9c4a8739e2eeb65ba4d5fbefc2f","lessThan":"e8abc61d8a549a91c8fa639f68be2ef13d5fa63b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/485214cc031771fdbd5829b431f4f115e285dc21","tags":[]},{"url":"https://git.kernel.org/stable/c/e8abc61d8a549a91c8fa639f68be2ef13d5fa63b","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99645","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99645","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99645","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99645","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}