{"id":"CVE-2026-52905","aliases":["CVE-2026-52905"],"related":[],"kind":"vulnerability","state":"published","title":"mm/damon/core: disallow non-power of two min_region_sz on damon_start()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/core: disallow non-power of two min_region_sz on damon_start()\n\nCommit d8f867fa0825 (\"mm/damon: add damon_ctx->min_sz_region\") introduced\na bug that allows unaligned DAMON region address ranges.  Commit\nc80f46ac228b (\"mm/damon/core: disallow non-power of two min_region_sz\")\nfixed it, but only for damon_commit_ctx() use case.  Still, DAMON sysfs\ninterface can emit non-power of two min_region_sz via damon_start().  Fix\nthe path by adding the is_power_of_2() check on damon_start().\n\nThe issue was discovered by sashiko [1].","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/core: disallow non-power of two min_region_sz on damon_start()\n\nCommit d8f867fa0825 (\"mm/damon: add damon_ctx->min_sz_region\") introduced\na bug that allows unaligned DAMON region address ranges.  Commit\nc80f46ac228b (\"mm/damon/core: disallow non-power of two min_region_sz\")\nfixed it, but only for damon_commit_ctx() use case.  Still, DAMON sysfs\ninterface can emit non-power of two min_region_sz via damon_start().  Fix\nthe path by adding the is_power_of_2() check on damon_start().\n\nThe issue was discovered by sashiko [1].","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmm/damon/core: no permitir min_region_sz que no sea potencia de dos en damon_start()\n\nEl commit d8f867fa0825 ('mm/damon: añadir damon_ctx->min_sz_region') introdujo un error que permite rangos de direcciones de región DAMON no alineados. El commit c80f46ac228b ('mm/damon/core: no permitir min_region_sz que no sea potencia de dos') lo solucionó, pero solo para el caso de uso de damon_commit_ctx(). Aun así, la interfaz sysfs de DAMON puede emitir min_region_sz que no sea potencia de dos a través de damon_start(). Solucionar la ruta añadiendo la comprobación is_power_of_2() en damon_start().\n\nEl problema fue descubierto por sashiko [1].","source":"nvd"}],"published":"2026-06-09T12:36:02.516Z","modified":"2026-07-23T08:10:00.137Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-1284"],"affected":[{"ranges":[{"type":"git","introduced":"d8f867fa0825fb3e358457566d7326d8aab2406a","fixed":"1de2db19a6028abe7d905875922faef5b873de67","status":"affected"},{"type":"git","introduced":"d8f867fa0825fb3e358457566d7326d8aab2406a","fixed":"89b6226b6c2a4add3939f361653a47c212d6ab75","status":"affected"},{"type":"git","introduced":"d8f867fa0825fb3e358457566d7326d8aab2406a","fixed":"95093e5cb4c5b50a5b1a4b79f2942b62744bd66a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.30","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.4","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.18","fixed":"6.18.30"},{"status":"affected","introduced":"6.19","fixed":"7.0.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1de2db19a6028abe7d905875922faef5b873de67","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89b6226b6c2a4add3939f361653a47c212d6ab75","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95093e5cb4c5b50a5b1a4b79f2942b62744bd66a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52905","url":"https://www.cve.org/CVERecord?id=CVE-2026-52905","licence":"CVE Terms of Use","modified":"2026-06-14T18:09:36.556Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52905","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52905","licence":"Public domain","modified":"2026-07-23T08:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:24.110Z","epss":{"score":0.00112,"percentile":0.01534,"date":"2026-12-01T12:00:22.000Z"}}