<?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>Wed, 30 Sep 2026 23:24:09 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-56549 — cachefiles: Fix NULL pointer dereference in object-&gt;file</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-56549</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: Fix NULL pointer dereference in object-&amp;gt;file&lt;/p&gt;
&lt;p&gt;At present, the object-&amp;gt;file has the NULL pointer dereference problem in
ondemand-mode. The root cause is that the allocated fd and object-&amp;gt;file
lifetime are inconsistent, and the user-space invocation to anon_fd uses
object-&amp;gt;file. Following is the process that triggers the issue:&lt;/p&gt;
&lt;p&gt;[write fd]				[umount]
cachefiles_ondemand_fd_write_iter
				       fscache_cookie_state_machine
					 cachefiles_withdraw_cookie
  if (!file) return -ENOBUFS
					   cachefiles_clean_up_object
					     cachefiles_unmark_inode_in_use
					     fput(object-&amp;gt;file)
					     object-&amp;gt;file = NULL
  // file NULL pointer dereference!
  __cachefiles_write(..., file, ...)&lt;/p&gt;
&lt;p&gt;Fix this issue by add an additional reference count to the object-&amp;gt;file
before write/llseek, and decrement after it finished.&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: Fix NULL pointer dereference in object-&amp;gt;file&lt;/p&gt;
&lt;p&gt;At present, the object-&amp;gt;file has the NULL pointer dereference problem in
ondemand-mode. The root cause is that the allocated fd and object-&amp;gt;file
lifetime are inconsistent, and the user-space invocation to anon_fd uses
object-&amp;gt;file. Following is the process that triggers the issue:&lt;/p&gt;
&lt;p&gt;[write fd]				[umount]
cachefiles_ondemand_fd_write_iter
				       fscache_cookie_state_machine
					 cachefiles_withdraw_cookie
  if (!file) return -ENOBUFS
					   cachefiles_clean_up_object
					     cachefiles_unmark_inode_in_use
					     fput(object-&amp;gt;file)
					     object-&amp;gt;file = NULL
  // file NULL pointer dereference!
  __cachefiles_write(..., file, ...)&lt;/p&gt;
&lt;p&gt;Fix this issue by add an additional reference count to the object-&amp;gt;file
before write/llseek, and decrement after it finished.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-56549</guid>
    </item>
  </channel>
</rss>
