mm/damon/core: disallow non-power of two min_region_sz on damon_start()
Summary
| CVE | CVE-2026-52905 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-09 14:16:44 UTC |
| Updated | 2026-06-09 14:16:44 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: disallow non-power of two min_region_sz on damon_start() Commit d8f867fa0825 ("mm/damon: add damon_ctx->min_sz_region") introduced a bug that allows unaligned DAMON region address ranges. Commit c80f46ac228b ("mm/damon/core: disallow non-power of two min_region_sz") fixed it, but only for damon_commit_ctx() use case. Still, DAMON sysfs interface can emit non-power of two min_region_sz via damon_start(). Fix the path by adding the is_power_of_2() check on damon_start(). The issue was discovered by sashiko [1]. |
Risk And Classification
EPSS: 0.000170000 probability, percentile 0.042700000 (date 2026-06-12)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected d8f867fa0825fb3e358457566d7326d8aab2406a 1de2db19a6028abe7d905875922faef5b873de67 git | Not specified |
| CNA | Linux | Linux | affected d8f867fa0825fb3e358457566d7326d8aab2406a 89b6226b6c2a4add3939f361653a47c212d6ab75 git | Not specified |
| CNA | Linux | Linux | affected d8f867fa0825fb3e358457566d7326d8aab2406a 95093e5cb4c5b50a5b1a4b79f2942b62744bd66a git | Not specified |
| CNA | Linux | Linux | affected 6.18 | Not specified |
| CNA | Linux | Linux | unaffected 6.18 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.30 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.4 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/89b6226b6c2a4add3939f361653a47c212d6ab75 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/95093e5cb4c5b50a5b1a4b79f2942b62744bd66a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/1de2db19a6028abe7d905875922faef5b873de67 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.