mm/damon/reclaim: avoid divide-by-zero in damon_reclaim_apply_parameters()
In the Linux kernel, the following vulnerability has been resolved: mm/damon/reclaim: avoid divide-by-zero in damon_reclaim_apply_parameters() When creating a new scheme of DAMON_RECLAIM, the calculation of 'min_age_region' uses 'aggr_interval' as the divisor, which may lead to division-by-zero errors. Fix it by directly returning -EINVAL when such a case occurs.
02 / AFFECTED SOFTWARE
Affected packages
755 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
In the Linux kernel, the following vulnerability has been resolved: mm/damon/reclaim: avoid divide-by-zero in damon_reclaim_apply_parameters() When creating a new scheme of DAMON_RECLAIM, the calculation of 'min_age_region' uses 'aggr_interval' as the divisor, which may lead to division-by-zero errors. Fix it by directly returning -EINVAL when such a case occurs.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/40cb9b38b645126fdd1d6aa3d6811a8ad50ddfa1
- https://git.kernel.org/stable/c/5d6eeb3c683c777ed4538eb3a650bb7da17a7cff
- https://git.kernel.org/stable/c/64dc351e58271c1e9005e42f5216b4f3d7a39b66
- https://git.kernel.org/stable/c/9fe0415156fbde773b31f920201cb70b1f0e40fe
- https://git.kernel.org/stable/c/e6b543ca9806d7bced863f43020e016ee996c057
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39916.json
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-39916