CVE-2026-99645
HIGH 7.0CVSS 3.1mm/cma: don't release CMA pages still in use
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() ]
- Published
- 20 Nov 2026
- Last modified
- 22 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 9bda131c6093e9c4a8739e2eeb65ba4d5fbefc2f, < 485214cc031771fdbd5829b431f4f115e285dc21; >= 9bda131c6093e9c4a8739e2eeb65ba4d5fbefc2f, < e8abc61d8a549a91c8fa639f68be2ef13d5fa63b | 485214cc031771fdbd5829b431f4f115e285dc21, e8abc61d8a549a91c8fa639f68be2ef13d5fa63b |
| CVE List | Linux | Linux | = 7.0 |
References
- https://git.kernel.org/stable/c/485214cc031771fdbd5829b431f4f115e285dc21
- https://git.kernel.org/stable/c/e8abc61d8a549a91c8fa639f68be2ef13d5fa63b
History
- 25 Nov 2026 20:33 UTC · CVE List: first stored (published 20 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 20 Nov 2026)