<?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>Tue, 29 Sep 2026 20:36:54 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-64396 — ksmbd: fix UAF of struct file_lock in SMB2_LOCK deferred-lock cancellation</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-64396</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: fix UAF of struct file_lock in SMB2_LOCK deferred-lock cancellation&lt;/p&gt;
&lt;p&gt;When a blocking byte-range lock request is deferred in the
FILE_LOCK_DEFERRED path, ksmbd registers the asynchronous work into
the connection&amp;#39;s async_requests list via setup_async_work(). The cancel
callback smb2_remove_blocked_lock() holds a reference to the flock.&lt;/p&gt;
&lt;p&gt;If the lock waiter is subsequently woken up but the work state is no
longer KSMBD_WORK_ACTIVE (e.g., due to a concurrent cancellation), the
cleanup path calls locks_free_lock(flock) without dequeuing the work from
the async_requests list. Concurrently, smb2_cancel() walks the list
under conn-&amp;gt;request_lock and invokes the cancel callback, which then
dereferences the already freed &amp;#39;flock&amp;#39;. This leads to a slab-use-after-free
inside __wake_up_common.&lt;/p&gt;
&lt;p&gt;Fix this by restructuring the cleanup logic after the worker returns
from ksmbd_vfs_posix_lock_wait(). Move list_del(&amp;amp;smb_lock-&amp;gt;llist) and
release_async_work(work) to the top of the cleanup block. This guarantees
that the async work is completely dequeued and serialized under
conn-&amp;gt;request_lock before locks_free_lock(flock) is called, rendering
the flock unreachable for any concurrent smb2_cancel().&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: fix UAF of struct file_lock in SMB2_LOCK deferred-lock cancellation&lt;/p&gt;
&lt;p&gt;When a blocking byte-range lock request is deferred in the
FILE_LOCK_DEFERRED path, ksmbd registers the asynchronous work into
the connection&amp;#39;s async_requests list via setup_async_work(). The cancel
callback smb2_remove_blocked_lock() holds a reference to the flock.&lt;/p&gt;
&lt;p&gt;If the lock waiter is subsequently woken up but the work state is no
longer KSMBD_WORK_ACTIVE (e.g., due to a concurrent cancellation), the
cleanup path calls locks_free_lock(flock) without dequeuing the work from
the async_requests list. Concurrently, smb2_cancel() walks the list
under conn-&amp;gt;request_lock and invokes the cancel callback, which then
dereferences the already freed &amp;#39;flock&amp;#39;. This leads to a slab-use-after-free
inside __wake_up_common.&lt;/p&gt;
&lt;p&gt;Fix this by restructuring the cleanup logic after the worker returns
from ksmbd_vfs_posix_lock_wait(). Move list_del(&amp;amp;smb_lock-&amp;gt;llist) and
release_async_work(work) to the top of the cleanup block. This guarantees
that the async work is completely dequeued and serialized under
conn-&amp;gt;request_lock before locks_free_lock(flock) is called, rendering
the flock unreachable for any concurrent smb2_cancel().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-64396</guid>
    </item>
  </channel>
</rss>
