# CVE-2026-52905: mm/damon/core: disallow non-power of two min_region_sz on damon_start()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-09T12:36:02.516Z
- Modified: 2026-07-23T08:10:00.137Z
- Weaknesses: CWE-1284
- Assigned by: Linux

## 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].

(As written by CVE List.)

## Affected

- Linux Linux: from d8f867fa0825fb3e358457566d7326d8aab2406a before 1de2db19a6028abe7d905875922faef5b873de67; from d8f867fa0825fb3e358457566d7326d8aab2406a before 89b6226b6c2a4add3939f361653a47c212d6ab75; from d8f867fa0825fb3e358457566d7326d8aab2406a before 95093e5cb4c5b50a5b1a4b79f2942b62744bd66a; 6.18 (not affected: before 6.18; from 6.18.30 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.18 before 6.18.30; from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/1de2db19a6028abe7d905875922faef5b873de67> (patch)
- <https://git.kernel.org/stable/c/89b6226b6c2a4add3939f361653a47c212d6ab75> (patch)
- <https://git.kernel.org/stable/c/95093e5cb4c5b50a5b1a4b79f2942b62744bd66a> (patch)

## Sources

- CVE List: [CVE-2026-52905](https://www.cve.org/CVERecord?id=CVE-2026-52905), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-52905](https://nvd.nist.gov/vuln/detail/CVE-2026-52905), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-52905 · Whole record: https://cve.day/CVE-2026-52905.json · Rebuilt by cve.day 2026-11-25T22:59:24.110Z
