Back to CVE records
Not yet scoredPublished Sep 16, 2026

CVE-2026-89796mm/damon/core: avoid infinite kdamond_merge_regions() internal loop

Updated under an hour ago ()

Does this affect you?

It affects Linux. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: avoid infinite kdamond_merge_regions() internal loop Patch series "mm/damon: unurgent fixes for infinite loop, NULL de-ref and races", v1.1. Sashiko found a few issues in DAMON that could cause infinite loop, NULL dereference and monitoring results degradation. The first two sounds scary but the infinite loop happens only under unreasonable user setup. The NULL dereference is only in a unit test. Monitoring results degradation is trivial since it is only best-effort, and those happens from only unlikely races. Still those are bugs that better to fix if possible. Fix those. This patch (of 6): Due to online parameter update like events, the number of DAMON regions could be higher than the user-set upper limit. kdamond_merge_regions() repeats merge regions until the number meets the limit, while doubling the merge threshold up to the theoretical maximum threshold. It is tried only up to the theoretical maximum threshold because even the aggressive merging can fail from reducing the number of regions under the user-defined upper limit. For example, there could be many user-defined non-contiguous regions that cannot be merged. The threshold based loop break condition is evaluated by comparing the threshold for the next merging try against the theoretical maximum threshold. If max_thres is larger than UINT_MAX / 2, doubling the threshold could make it overflow, and bypass the loop break condition. In the case, if the number of regions cannot be reduced under the upper limit like explained above, the loop will run infinitely. Prevent the case by doing the break condition check before doubling the threshold. Also, prevent the threshold exceeding the maximum threshold, as it could overflow and apply the wrong merge threshold. This issue is unlikely to occur in real world, since having the max_thres higher than UINT_MAX / 2 require unrealistically large aggregation intervals compared to the sampling interval. Also, it requires an unrealistically large number of uncontiguous regions setup. Nonetheless, the consequence is bad and the fix is simple. The issue was discovered [1] by Sashiko.

CVSS
Not yet scored
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Received
Record last updated
Oct 3, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 1e865019cef354a5f0314491b4b4fc9f9a613642 before 407da1dd7f48e5ba22ceb8834f6923390632d025; from d7eda72e59bbf3ed592db7ff0fd8c246c73149a8 before 65edd8b3a88278c9f8e5c7d8c15d4f296ce35078; 11078e2d11465518a9e85096bd28f8cd5fa1ea41 builds before 5b0953f86d65855dc901050f40bbe6da0475d198; from 310d6c15e9104c99d5d9d0ff8e5383a79da7d5e6 before 769c16699c89811386eb003c8fd9dcb8d405b316; 310d6c15e9104c99d5d9d0ff8e5383a79da7d5e6 builds before 50a7a5aec1aa43efc297fd4377c1cbdc7d15620d; 310d6c15e9104c99d5d9d0ff8e5383a79da7d5e6 builds before 8a96a06e04d210845be5d9581c0e9e338947e8f8; 310d6c15e9104c99d5d9d0ff8e5383a79da7d5e6 builds before 123e4619ab6c8ab1c4cb1d7a58311a2af13929cd; f2bd3184b6aeca6a497394b558337246e09fc02d; and 4 more ranges
CNA record

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.