<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T04:42:56.890584+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-74645</id>
    <title>CVE-2026-74645 — mm/damon/lru_sort: error out for &gt;10000 active_mem_bp</title>
    <updated>2026-09-29T04:42:56.917593+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>mm/damon/lru_sort: error out for &gt;10000 active_mem_bp</p>
<p>damos_quota_score() can trigger division by zero if the target value is
zero.  DAMON_LRU_SORT lets users set the target value for the hot memory
scheme via active_mem_bp parameter.  It avoids setting it as the target
value if the parameter value is zero.  However, it also sets the cold
memory scheme with a target value that is calculated as '10000 -
active_mem_bp + 2'.  Hence, if a user sets active_mem_bp 10002, the cold
memory scheme's quota goal target value can be zero.  As a result,
division by zero can be triggered.  Fix by returning an error when the
user tries to start DAMON with &gt;10000 active_mem_bp parameter value.</p>
<p>It makes no sense to set active_mem_bp with 10002.  It also requires
module parameters write permission to reproduce the issue.  That said, the
consequence is quite bad.</p>
<p>One reliable way to reproduce the issue is like below:</p>
<p># cd /sys/module/damon_lru_sort/parameters
    # echo 1000 &gt; wmarks_high
    # echo 995 &gt; wmarks_mid
    # echo 0 &gt; wmarks_low
    # echo 10002 &gt; active_mem_bp
    # echo Y &gt; enabled
    # dmesg -w
    [...]
    [  597.421247] Oops: divide error: 0000 [#1] SMP NOPTI
    [  597.428848] RIP: 0010:damos_quota_score+0x6f/0x480</p>
<p>This issue was discovered [1] by Sashiko.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-74645"/>
  </entry>
</feed>
