<?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>Thu, 08 Oct 2026 11:41:31 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-40900 — cachefiles: remove requests from xarray during flushing requests</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-40900</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: remove requests from xarray during flushing requests&lt;/p&gt;
&lt;p&gt;Even with CACHEFILES_DEAD set, we can still read the requests, so in the
following concurrency the request may be used after it has been freed:&lt;/p&gt;
&lt;p&gt;mount  |   daemon_thread1    |    daemon_thread2
------------------------------------------------------------
 cachefiles_ondemand_init_object
  cachefiles_ondemand_send_req
   REQ_A = kzalloc(sizeof(*req) + data_len)
   wait_for_completion(&amp;amp;REQ_A-&amp;gt;done)
            cachefiles_daemon_read
             cachefiles_ondemand_daemon_read
                                  // close dev fd
                                  cachefiles_flush_reqs
                                   complete(&amp;amp;REQ_A-&amp;gt;done)
   kfree(REQ_A)
              xa_lock(&amp;amp;cache-&amp;gt;reqs);
              cachefiles_ondemand_select_req
                req-&amp;gt;msg.opcode != CACHEFILES_OP_READ
                // req use-after-free !!!
              xa_unlock(&amp;amp;cache-&amp;gt;reqs);
                                   xa_destroy(&amp;amp;cache-&amp;gt;reqs)&lt;/p&gt;
&lt;p&gt;Hence remove requests from cache-&amp;gt;reqs when flushing them to avoid
accessing freed requests.&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: remove requests from xarray during flushing requests&lt;/p&gt;
&lt;p&gt;Even with CACHEFILES_DEAD set, we can still read the requests, so in the
following concurrency the request may be used after it has been freed:&lt;/p&gt;
&lt;p&gt;mount  |   daemon_thread1    |    daemon_thread2
------------------------------------------------------------
 cachefiles_ondemand_init_object
  cachefiles_ondemand_send_req
   REQ_A = kzalloc(sizeof(*req) + data_len)
   wait_for_completion(&amp;amp;REQ_A-&amp;gt;done)
            cachefiles_daemon_read
             cachefiles_ondemand_daemon_read
                                  // close dev fd
                                  cachefiles_flush_reqs
                                   complete(&amp;amp;REQ_A-&amp;gt;done)
   kfree(REQ_A)
              xa_lock(&amp;amp;cache-&amp;gt;reqs);
              cachefiles_ondemand_select_req
                req-&amp;gt;msg.opcode != CACHEFILES_OP_READ
                // req use-after-free !!!
              xa_unlock(&amp;amp;cache-&amp;gt;reqs);
                                   xa_destroy(&amp;amp;cache-&amp;gt;reqs)&lt;/p&gt;
&lt;p&gt;Hence remove requests from cache-&amp;gt;reqs when flushing them to avoid
accessing freed requests.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-40900</guid>
    </item>
  </channel>
</rss>
