CVE-2025-38519

Severity CVSS v4.0:
Pending analysis
Type:
CWE-369 Divide By Zero
Publication date:
16/08/2025
Last modified:
18/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> mm/damon: fix divide by zero in damon_get_intervals_score()<br /> <br /> The current implementation allows having zero size regions with no special<br /> reasons, but damon_get_intervals_score() gets crashed by divide by zero<br /> when the region size is zero.<br /> <br /> [ 29.403950] Oops: divide error: 0000 [#1] SMP NOPTI<br /> <br /> This patch fixes the bug, but does not disallow zero size regions to keep<br /> the backward compatibility since disallowing zero size regions might be a<br /> breaking change for some users.<br /> <br /> In addition, the same crash can happen when intervals_goal.access_bp is<br /> zero so this should be fixed in stable trees as well.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.15 (including) 6.15.7 (excluding)
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*