<?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-10-01T07:45:43.901251+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-2025-39877</id>
    <title>CVE-2025-39877 — mm/damon/sysfs: fix use-after-free in state_show()</title>
    <updated>2026-10-01T07:45:43.902421+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/sysfs: fix use-after-free in state_show()</p>
<p>state_show() reads kdamond-&gt;damon_ctx without holding damon_sysfs_lock. 
This allows a use-after-free race:</p>
<p>CPU 0                         CPU 1
-----                         -----
state_show()                  damon_sysfs_turn_damon_on()
ctx = kdamond-&gt;damon_ctx;     mutex_lock(&amp;damon_sysfs_lock);
                              damon_destroy_ctx(kdamond-&gt;damon_ctx);
                              kdamond-&gt;damon_ctx = NULL;
                              mutex_unlock(&amp;damon_sysfs_lock);
damon_is_running(ctx);        /* ctx is freed */
mutex_lock(&amp;ctx-&gt;kdamond_lock); /* UAF */</p>
<p>(The race can also occur with damon_sysfs_kdamonds_rm_dirs() and
damon_sysfs_kdamond_release(), which free or replace the context under
damon_sysfs_lock.)</p>
<p>Fix by taking damon_sysfs_lock before dereferencing the context, mirroring
the locking used in pid_show().</p>
<p>The bug has existed since state_show() first accessed kdamond-&gt;damon_ctx.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-39877"/>
  </entry>
</feed>
