<?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>Fri, 09 Oct 2026 09:07:08 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-68809 — ksmbd: vfs: fix race on m_flags in vfs_cache</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2025-68809</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;ksmbd: vfs: fix race on m_flags in vfs_cache&lt;/p&gt;
&lt;p&gt;ksmbd maintains delete-on-close and pending-delete state in
ksmbd_inode-&amp;gt;m_flags. In vfs_cache.c this field is accessed under
inconsistent locking: some paths read and modify m_flags under
ci-&amp;gt;m_lock while others do so without taking the lock at all.&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;- ksmbd_query_inode_status() and __ksmbd_inode_close() use
   ci-&amp;gt;m_lock when checking or updating m_flags.
 - ksmbd_inode_pending_delete(), ksmbd_set_inode_pending_delete(),
   ksmbd_clear_inode_pending_delete() and ksmbd_fd_set_delete_on_close()
   used to read and modify m_flags without ci-&amp;gt;m_lock.&lt;/p&gt;
&lt;p&gt;This creates a potential data race on m_flags when multiple threads
open, close and delete the same file concurrently. In the worst case
delete-on-close and pending-delete bits can be lost or observed in an
inconsistent state, leading to confusing delete semantics (files that
stay on disk after delete-on-close, or files that disappear while still
in use).&lt;/p&gt;
&lt;p&gt;Fix it by:&lt;/p&gt;
&lt;p&gt;- Making ksmbd_query_inode_status() look at m_flags under ci-&amp;gt;m_lock
   after dropping inode_hash_lock.
 - Adding ci-&amp;gt;m_lock protection to all helpers that read or modify
   m_flags (ksmbd_inode_pending_delete(), ksmbd_set_inode_pending_delete(),
   ksmbd_clear_inode_pending_delete(), ksmbd_fd_set_delete_on_close()).
 - Keeping the existing ci-&amp;gt;m_lock protection in __ksmbd_inode_close(),
   and moving the actual unlink/xattr removal outside…&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;ksmbd: vfs: fix race on m_flags in vfs_cache&lt;/p&gt;
&lt;p&gt;ksmbd maintains delete-on-close and pending-delete state in
ksmbd_inode-&amp;gt;m_flags. In vfs_cache.c this field is accessed under
inconsistent locking: some paths read and modify m_flags under
ci-&amp;gt;m_lock while others do so without taking the lock at all.&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;- ksmbd_query_inode_status() and __ksmbd_inode_close() use
   ci-&amp;gt;m_lock when checking or updating m_flags.
 - ksmbd_inode_pending_delete(), ksmbd_set_inode_pending_delete(),
   ksmbd_clear_inode_pending_delete() and ksmbd_fd_set_delete_on_close()
   used to read and modify m_flags without ci-&amp;gt;m_lock.&lt;/p&gt;
&lt;p&gt;This creates a potential data race on m_flags when multiple threads
open, close and delete the same file concurrently. In the worst case
delete-on-close and pending-delete bits can be lost or observed in an
inconsistent state, leading to confusing delete semantics (files that
stay on disk after delete-on-close, or files that disappear while still
in use).&lt;/p&gt;
&lt;p&gt;Fix it by:&lt;/p&gt;
&lt;p&gt;- Making ksmbd_query_inode_status() look at m_flags under ci-&amp;gt;m_lock
   after dropping inode_hash_lock.
 - Adding ci-&amp;gt;m_lock protection to all helpers that read or modify
   m_flags (ksmbd_inode_pending_delete(), ksmbd_set_inode_pending_delete(),
   ksmbd_clear_inode_pending_delete(), ksmbd_fd_set_delete_on_close()).
 - Keeping the existing ci-&amp;gt;m_lock protection in __ksmbd_inode_close(),
   and moving the actual unlink/xattr removal outside…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2025-68809</guid>
    </item>
  </channel>
</rss>
