<?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://cve.radiocsirt.org</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>Mon, 05 Oct 2026 15:27:23 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-40935 — cachefiles: flush all requests after setting CACHEFILES_DEAD</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-40935</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;cachefiles: flush all requests after setting CACHEFILES_DEAD&lt;/p&gt;
&lt;p&gt;In ondemand mode, when the daemon is processing an open request, if the
kernel flags the cache as CACHEFILES_DEAD, the cachefiles_daemon_write()
will always return -EIO, so the daemon can&amp;#39;t pass the copen to the kernel.
Then the kernel process that is waiting for the copen triggers a hung_task.&lt;/p&gt;
&lt;p&gt;Since the DEAD state is irreversible, it can only be exited by closing
/dev/cachefiles. Therefore, after calling cachefiles_io_error() to mark
the cache as CACHEFILES_DEAD, if in ondemand mode, flush all requests to
avoid the above hungtask. We may still be able to read some of the cached
data before closing the fd of /dev/cachefiles.&lt;/p&gt;
&lt;p&gt;Note that this relies on the patch that adds reference counting to the req,
otherwise it may UAF.&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;cachefiles: flush all requests after setting CACHEFILES_DEAD&lt;/p&gt;
&lt;p&gt;In ondemand mode, when the daemon is processing an open request, if the
kernel flags the cache as CACHEFILES_DEAD, the cachefiles_daemon_write()
will always return -EIO, so the daemon can&amp;#39;t pass the copen to the kernel.
Then the kernel process that is waiting for the copen triggers a hung_task.&lt;/p&gt;
&lt;p&gt;Since the DEAD state is irreversible, it can only be exited by closing
/dev/cachefiles. Therefore, after calling cachefiles_io_error() to mark
the cache as CACHEFILES_DEAD, if in ondemand mode, flush all requests to
avoid the above hungtask. We may still be able to read some of the cached
data before closing the fd of /dev/cachefiles.&lt;/p&gt;
&lt;p&gt;Note that this relies on the patch that adds reference counting to the req,
otherwise it may UAF.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-40935</guid>
    </item>
  </channel>
</rss>
