---
id: CVE-2025-39916
title: 'mm/damon/reclaim: avoid divide-by-zero in damon_reclaim_apply_parameters()'
summary: |-
  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_…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 <
    64dc351e58271c1e9005e42f5216b4f3d7a39b66
  - >-
    Linux >= f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 <
    9fe0415156fbde773b31f920201cb70b1f0e40fe
  - >-
    Linux >= f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 <
    5d6eeb3c683c777ed4538eb3a650bb7da17a7cff
  - >-
    Linux >= f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 <
    40cb9b38b645126fdd1d6aa3d6811a8ad50ddfa1
  - >-
    Linux >= f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 <
    e6b543ca9806d7bced863f43020e016ee996c057
  - Linux fd3e613a912bbb344ee18579cc2ad3329aacba41
  - Linux >= 6.0.12 < 6.1
  - Linux 6.1
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T21:12:59.655677Z'
published: '2025-10-01'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:23:06.599Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-39916'
references:
  - url: 'https://git.kernel.org/stable/c/64dc351e58271c1e9005e42f5216b4f3d7a39b66'
  - url: 'https://git.kernel.org/stable/c/9fe0415156fbde773b31f920201cb70b1f0e40fe'
  - url: 'https://git.kernel.org/stable/c/5d6eeb3c683c777ed4538eb3a650bb7da17a7cff'
  - url: 'https://git.kernel.org/stable/c/40cb9b38b645126fdd1d6aa3d6811a8ad50ddfa1'
  - url: 'https://git.kernel.org/stable/c/e6b543ca9806d7bced863f43020e016ee996c057'
tags:
  - cve.org
epss: 0.0015
epssPercentile: 0.04186
ingestedAt: '2026-11-05T22:38:32.046Z'
---

## Overview

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

- `Linux >= f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 < 64dc351e58271c1e9005e42f5216b4f3d7a39b66`
- `Linux >= f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 < 9fe0415156fbde773b31f920201cb70b1f0e40fe`
- `Linux >= f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 < 5d6eeb3c683c777ed4538eb3a650bb7da17a7cff`
- `Linux >= f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 < 40cb9b38b645126fdd1d6aa3d6811a8ad50ddfa1`
- `Linux >= f5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05 < e6b543ca9806d7bced863f43020e016ee996c057`
- `Linux fd3e613a912bbb344ee18579cc2ad3329aacba41`
- `Linux >= 6.0.12 < 6.1`
- `Linux 6.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
