Skip to content
DayZeroHub
High Not yet writtenCVSS 7CVE-2026-99645

CVE-2026-99645: mm/cma: don't release CMA pages still in use

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99645: high-severity vulnerability (CVSS 7) in Linux Linux.

What happened

Original description from the source: In the Linux kernel, the following vulnerability has been resolved: mm/cma: don't release CMA pages still in use When a driver calls dma_free_contiguous() before quiescing DMA, the page might still have a reference from the device. put_page_testzero() there returns false, WARN fires, but the code proceeds to free_contig_frozen_range() putting a live page onto buddy and clearing the bitmap. A subsequent allocation can hand the same PFN to a new owner while the original holder still references it. A concurrent put_page() that drops the last reference between the testzero loop and free_contig_frozen_range() can double-queue the page via page->lru, corrupting buddy lists. Avoid the corruption by not freeing a CMA region if any of the pages inside are still in use. Make it explicit in the warning that the driver allowed a leak. While at it, use page_ref_freeze() to make the semantics clearer and switch to pr_warn_ratelimited(). [ david: use page_ref_freeze() + pr_warn_ratelimited() ]

Why it matters

High severity, CVSS 7.

Affected products and versions

Linux Linux >= 9bda131c6093e9c4a8739e2eeb65ba4d5fbefc2f, < 485214cc031771fdbd5829b431f4f115e285dc21; Linux Linux >= 9bda131c6093e9c4a8739e2eeb65ba4d5fbefc2f, < e8abc61d8a549a91c8fa639f68be2ef13d5fa63b; Linux Linux 7.0; Linux Linux < 7.0; Linux Linux 7.3.5 (fixed in 7.3.5); Linux Linux 7.4-rc2 (fixed in 7.4-rc2)

ProductVersionsFixed in
Linux Linux>= 9bda131c6093e9c4a8739e2eeb65ba4d5fbefc2f, < 485214cc031771fdbd5829b431f4f115e285dc21—
Linux Linux>= 9bda131c6093e9c4a8739e2eeb65ba4d5fbefc2f, < e8abc61d8a549a91c8fa639f68be2ef13d5fa63b—
Linux Linux7.0—
Linux Linux< 7.0—
Linux Linux7.3.57.3.5
Linux Linux7.4-rc27.4-rc2

Action recommended by the source

Upgrade to a fixed version: 7.3.5, 7.4-rc2.

Fixed in: 7.3.5, 7.4-rc2

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.