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

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-20 · Modified: 2026-11-22
- Aliases: DEBIAN-CVE-2026-99645, UBUNTU-CVE-2026-99645, CGA-3fjf-3w3w-w384, CGA-3jq9-95rg-x28h, CGA-449x-q9vr-f8p2, CGA-4jq8-pr8x-8xp6, CGA-8gh8-6r3f-66f8, CGA-fxpf-vf6g-2xhp, CGA-gp5q-6ghv-j5gp, CGA-jw72-hc5c-pc5r, CGA-pgj6-4455-xq76, CGA-pwjw-2gmg-fvw4, CGA-qj3x-23vm-35vp, CGA-qrp6-g6qh-hfxw, CGA-6pv5-66h8-xqh9, CGA-82f5-gwwg-v85m, CGA-9574-6883-pg48, CGA-cp6c-59p3-3c29, CGA-j783-jf3f-8jhg, CGA-jfv9-fcgj-hpp6, CGA-q429-r4hx-j2fv
- Record: https://cvemate.com/vulnerability/CVE-2026-99645 · JSON: https://cvemate.com/vulnerability/CVE-2026-99645/json

## Description

```text
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() ]
```

## Signals

- CVSS: 7 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.138%, percentile 3.332%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 7.3.5-1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/485214cc031771fdbd5829b431f4f115e285dc21>
- <https://git.kernel.org/stable/c/e8abc61d8a549a91c8fa639f68be2ef13d5fa63b>
- <https://security-tracker.debian.org/tracker/CVE-2026-99645>
- <https://ubuntu.com/security/CVE-2026-99645>
- <https://www.cve.org/CVERecord?id=CVE-2026-99645>
- <https://git.kernel.org/linus/e8abc61d8a549a91c8fa639f68be2ef13d5fa63b>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99645.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99645>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>

---

Data as of 2026-12-05T14:04:12.294Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
