CVE-2025-39916
JSON

5.5medium

mm/damon/reclaim: avoid divide-by-zero in damon_reclaim_apply_parameters()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 before 64dc351e58271c1e9005e42f5216b4f3d7a39b66, from f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 before 9fe0415156fbde773b31f920201cb70b1f0e40fe, from f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 before 5d6eeb3c683c777ed4538eb3a650bb7da17a7cff, from f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 before 40cb9b38b645126fdd1d6aa3d6811a8ad50ddfa1, from f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 before e6b543ca9806d7bced863f43020e016ee996c057, fd3e613a912bbb344ee18579cc2ad3329aacba41, from 6.0.12 before 6.1, 6.1
Not affected: before 6.1, from 6.1.153 up to 6.1.*, from 6.6.107 up to 6.6.*, from 6.12.48 up to 6.12.*, from 6.16.8 up to 6.16.*, from 6.17 up to *
CVE List
linux linux_kernelfrom 6.0.12 before 6.1.153, from 6.2 before 6.6.107, from 6.7 before 6.12.48, from 6.13 before 6.16.8, 6.17NVD
debian debian_linux11.0NVD

Classification

CWE-369

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mm/damon/reclaim: evitar división por cero en damon_reclaim_apply_parameters() Al crear un nuevo esquema de DAMON_RECLAIM, el cálculo de 'min_age_region' utiliza 'aggr_interval' como divisor, lo que puede llevar a errores de división por cero. Se soluciona devolviendo directamente -EINVAL cuando ocurre tal caso.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39916 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-39916 changed 2026-11-05Public domain