<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 01 Oct 2026 10:14:46 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-64458 — mm/damon/ops-common: handle extreme intervals in damon_hot_score()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-64458</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;mm/damon/ops-common: handle extreme intervals in damon_hot_score()&lt;/p&gt;
&lt;p&gt;Fix three issues in damon_hot_score() that comes from wrong handling of
extreme (zero or too high) monitoring intervals user setup.&lt;/p&gt;
&lt;p&gt;When the user sets sampling interval zero, damon_max_nr_accesses(), which
is called from damon_hot_score(), causes a divide-by-zero.  Needless to
say, it is a problem.&lt;/p&gt;
&lt;p&gt;When the user sets the aggregation interval zero, the function returns
zero.  It is wrong, since the real maximum nr_acceses in the setup should
be one.  Worse yet, it can cause another divide-by-zero from its caller,
damon_hot_score(), since it uses damon_max_nr_accesses() return value as a
denominator.&lt;/p&gt;
&lt;p&gt;When the user sets the aggregation interval very high, damon_hot_score()
could return a value out of [0, DAMOS_MAX_SCORE] range.  Since the return
value is used as an index to the regions_score_histogram array, which is
DAMOS_MAX_SCORE+1 size, it causes out of bounds array access.&lt;/p&gt;
&lt;p&gt;The issues can be relatively easily reproduced like below.  The sysfs
write permission is required, though.&lt;/p&gt;
&lt;p&gt;# ./damo start --damos_action lru_prio --damos_quota_space 100M \
            --damos_quota_interval 1s
    # cd /sys/kernel/mm/damon/admin/kdamonds/0
    # echo 0 &amp;gt; contexts/0/monitoring_attrs/intervals/sample_us
    # echo 0 &amp;gt; contexts/0/monitoring_attrs/intervals/aggr_us
    # echo commit &amp;gt; state
    # dmesg
    [...]
    [  131.329762] Oops: divide er…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;mm/damon/ops-common: handle extreme intervals in damon_hot_score()&lt;/p&gt;
&lt;p&gt;Fix three issues in damon_hot_score() that comes from wrong handling of
extreme (zero or too high) monitoring intervals user setup.&lt;/p&gt;
&lt;p&gt;When the user sets sampling interval zero, damon_max_nr_accesses(), which
is called from damon_hot_score(), causes a divide-by-zero.  Needless to
say, it is a problem.&lt;/p&gt;
&lt;p&gt;When the user sets the aggregation interval zero, the function returns
zero.  It is wrong, since the real maximum nr_acceses in the setup should
be one.  Worse yet, it can cause another divide-by-zero from its caller,
damon_hot_score(), since it uses damon_max_nr_accesses() return value as a
denominator.&lt;/p&gt;
&lt;p&gt;When the user sets the aggregation interval very high, damon_hot_score()
could return a value out of [0, DAMOS_MAX_SCORE] range.  Since the return
value is used as an index to the regions_score_histogram array, which is
DAMOS_MAX_SCORE+1 size, it causes out of bounds array access.&lt;/p&gt;
&lt;p&gt;The issues can be relatively easily reproduced like below.  The sysfs
write permission is required, though.&lt;/p&gt;
&lt;p&gt;# ./damo start --damos_action lru_prio --damos_quota_space 100M \
            --damos_quota_interval 1s
    # cd /sys/kernel/mm/damon/admin/kdamonds/0
    # echo 0 &amp;gt; contexts/0/monitoring_attrs/intervals/sample_us
    # echo 0 &amp;gt; contexts/0/monitoring_attrs/intervals/aggr_us
    # echo commit &amp;gt; state
    # dmesg
    [...]
    [  131.329762] Oops: divide er…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-64458</guid>
    </item>
  </channel>
</rss>
