CVE-2025-39916Published Oct 1, 2025 · Oct 1Updated 3d ago
mm/damon/reclaim: avoid divide-by-zero in damon_reclaim_apply_parameters()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
fd3e613a912bbb344ee18579cc2ad3329aacba41| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
Creating a new DAMON_RECLAIM scheme can trigger a divide-by-zero error if aggr_interval is zero. The input does not specify how an attacker could trigger this or whether authentication or user interaction is required.
Anyone running the Linux kernel with DAMON_RECLAIM should check their version; affected versions are not specified.