Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39909

MEDIUM 5.5EPSS 8%

mm/damon/lru_sort: avoid divide-by-zero in damon_lru_sort_apply_parameters()

Mitigation

  • Upgrade Linux to 711f19dfd783ffb37ca4324388b9c4cb87e71363 or later.

Who should check

  • Anyone running Linux >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 74e391f7da7d9d5235a3cca88ee9fc18f720c75b; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 7bb675c9f0257840d33e5d1337d7e3afdd74a6bf; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < af0ae62b935317bed1a1361c8c9579db9d300e70; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 326a4b3750c71af3f3c52399ec4dbe33b6da4c26; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 711f19dfd783ffb37ca4324388b9c4cb87e71363
  • Anyone running Linux 6.0

Vulnerability facts

Affected
Linux >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 74e391f7da7d9d5235a3cca88ee9fc18f720c75b; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 7bb675c9f0257840d33e5d1337d7e3afdd74a6bf; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < af0ae62b935317bed1a1361c8c9579db9d300e70; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 326a4b3750c71af3f3c52399ec4dbe33b6da4c26; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 711f19dfd783ffb37ca4324388b9c4cb87e71363; Linux 6.0
Fixed in
Linux 74e391f7da7d9d5235a3cca88ee9fc18f720c75b, Linux 7bb675c9f0257840d33e5d1337d7e3afdd74a6bf, Linux 326a4b3750c71af3f3c52399ec4dbe33b6da4c26, Linux 711f19dfd783ffb37ca4324388b9c4cb87e71363
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-369
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: mm/damon/lru_sort: avoid divide-by-zero in damon_lru_sort_apply_parameters() Patch series "mm/damon: avoid divide-by-zero in DAMON module's parameters application". DAMON's RECLAIM and LRU_SORT modules perform no validation on user-configured parameters during application, which may lead to division-by-zero errors. Avoid the divide-by-zero by adding validation checks when DAMON modules attempt to apply the parameters. This patch (of 2): During the calculation of 'hot_thres' and 'cold_thres', either 'sample_interval' or 'aggr_interval' is used as the divisor, which may lead to division-by-zero errors. Fix it by directly returning -EINVAL when such a case occurs. Additionally, since 'aggr_interval' is already required to be set no smaller than 'sample_interval' in damon_set_attrs(), only the case where 'sample_interval' is zero needs to be checked.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 40e983cca9274e177bd5b9379299b44d9536ac68, < 74e391f7da7d9d5235a3cca88ee9fc18f720c75b; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 7bb675c9f0257840d33e5d1337d7e3afdd74a6bf; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < af0ae62b935317bed1a1361c8c9579db9d300e70; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 326a4b3750c71af3f3c52399ec4dbe33b6da4c26; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 711f19dfd783ffb37ca4324388b9c4cb87e71363—cvelist
Linux6.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-39909. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39909.md
Affected: Linux >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 74e391f7da7d9d5235a3cca88ee9fc18f720c75b; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 7bb675c9f0257840d33e5d1337d7e3afdd74a6bf; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < af0ae62b935317bed1a1361c8c9579db9d300e70; >= 40e983cca9274e177bd5b93…
Fixed in: Linux 74e391f7da7d9d5235a3cca88ee9fc18f720c75b, Linux 7bb675c9f0257840d33e5d1337d7e3afdd74a6bf, Linux 326a4b3750c71af3f3c52399ec4dbe33b6da4c26, Linux 711f19dfd783ffb37ca4324388b9c4cb87e71363

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-39909 being exploited?

There is no confirmed exploitation: CVE-2025-39909 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-39909?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-39909?

Linux >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 74e391f7da7d9d5235a3cca88ee9fc18f720c75b; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 7bb675c9f0257840d33e5d1337d7e3afdd74a6bf; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < af0ae62b935317bed1a1361c8c9579db9d300e70; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 326a4b3750c71af3f3c52399ec4dbe33b6da4c26; >= 40e983cca9274e177bd5b9379299b44d9536ac68, < 711f19dfd783ffb37ca4324388b9c4cb87e71363; Linux 6.0.

Is there a fix for CVE-2025-39909?

Yes. Fixed in Linux 74e391f7da7d9d5235a3cca88ee9fc18f720c75b, Linux 7bb675c9f0257840d33e5d1337d7e3afdd74a6bf, Linux 326a4b3750c71af3f3c52399ec4dbe33b6da4c26, Linux 711f19dfd783ffb37ca4324388b9c4cb87e71363. Upgrade Linux to 711f19dfd783ffb37ca4324388b9c4cb87e71363 or later.

How do I check if I'm affected by CVE-2025-39909?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors