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.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 6.0.12 | 6.1.153 |
| linux / linux_kernel | 6.2 | 6.6.107 |
| linux / linux_kernel | 6.7 | 6.12.48 |
| linux / linux_kernel | 6.13 | 6.16.8 |
| linux / linux_kernel | 6.17-rc1 | 6.17-rc1.x |
| linux / linux_kernel | 6.17-rc2 | 6.17-rc2.x |
| linux / linux_kernel | 6.17-rc3 | 6.17-rc3.x |
| linux / linux_kernel | 6.17-rc4 | 6.17-rc4.x |
| linux / linux_kernel | 6.17-rc5 | 6.17-rc5.x |
| debian / debian_linux | 11.0 | 11.0.x |