Linux Kernelのメモリ管理に脆弱性、使用中のCMAページが解放される
Summary
Linux Kernelのメモリ管理(mm/cma)に、使用中のCMAページを解放してしまう脆弱性(CVE-2026-99645)が見つかりました。CVSS v3のスコアは7で、ページが別の用途に再割り当てされ、データが壊れるおそれがあります。影響するのは7.0.0以上7.3.5未満のバージョンで、修正版の7.3.5が公開されています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux Kernelのメモリ管理(mm/cma)に、使用中のCMAページを解放してしまう脆弱性(CVE-2026-99645)が見つかりました。CVSS v3のスコアは7で、ページが別の用途に再割り当てされ、データが壊れるおそれがあります。影響するのは7.0.0以上7.3.5未満のバージョンで、修正版の7.3.5が公開されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 7.0.0, < 7.3.5→ 7.3.5 |
7.3.5 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99645
- Debian DEBIAN-CVE-2026-99645 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99645 linux-vmware, linux-starfive-6.5, linux-starfive-6.2 +118 more No fixed version in this record
Original description The description as published by 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() ]
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web nvd.nist.gov
- web github.com