<?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://db.gcve.eu</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, 20 Nov 2026 21:22:03 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99386 — smb: client: don't resurrect an exiting tcon from cached dir workers</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99386</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;smb: client: don&amp;#39;t resurrect an exiting tcon from cached dir workers&lt;/p&gt;
&lt;p&gt;cfids_laundromat_worker() bumps tcon-&amp;gt;tc_count for every expired open
cfid and queues cached_dir_offload_close() without checking whether the
tcon is already being torn down.  Racing with the final cifs_put_tcon(),
the tcon comes back from zero and gets torn down twice:&lt;/p&gt;
&lt;p&gt;T1                                  T2
  cifs_put_tcon()
   --tc_count == 0, TID_EXITING
   tconInfoFree()
    free_cached_dirs()
     cancel_delayed_work_sync()       cfids_laundromat_worker()
                                       ++tc_count == 1
                                       queue_work(serverclose_wq)
    kfree(tcon-&amp;gt;origin_fullpath)
    kfree(tcon)
                                      cached_dir_offload_close()
                                       close_cached_dir()  [UAF]
                                       cifs_put_tcon()
                                        tconInfoFree()     [double free]&lt;/p&gt;
&lt;p&gt;cached_dir_lease_break() also bumps tc_count without tc_lock, racing with
the laundromat&amp;#39;s locked update.&lt;/p&gt;
&lt;p&gt;Take the tcon reference through a helper that refuses once the tcon is
TID_EXITING or its refcount has dropped to zero.  Queued put_work and
close_work then always hold a tcon reference, so tconInfoFree() can&amp;#39;t
run before they finish and free_cached_dirs() doesn&amp;#39;t need to flush any
workqueue.  If the laundromat can&amp;#39;t get a reference, put the cfid back on…&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;smb: client: don&amp;#39;t resurrect an exiting tcon from cached dir workers&lt;/p&gt;
&lt;p&gt;cfids_laundromat_worker() bumps tcon-&amp;gt;tc_count for every expired open
cfid and queues cached_dir_offload_close() without checking whether the
tcon is already being torn down.  Racing with the final cifs_put_tcon(),
the tcon comes back from zero and gets torn down twice:&lt;/p&gt;
&lt;p&gt;T1                                  T2
  cifs_put_tcon()
   --tc_count == 0, TID_EXITING
   tconInfoFree()
    free_cached_dirs()
     cancel_delayed_work_sync()       cfids_laundromat_worker()
                                       ++tc_count == 1
                                       queue_work(serverclose_wq)
    kfree(tcon-&amp;gt;origin_fullpath)
    kfree(tcon)
                                      cached_dir_offload_close()
                                       close_cached_dir()  [UAF]
                                       cifs_put_tcon()
                                        tconInfoFree()     [double free]&lt;/p&gt;
&lt;p&gt;cached_dir_lease_break() also bumps tc_count without tc_lock, racing with
the laundromat&amp;#39;s locked update.&lt;/p&gt;
&lt;p&gt;Take the tcon reference through a helper that refuses once the tcon is
TID_EXITING or its refcount has dropped to zero.  Queued put_work and
close_work then always hold a tcon reference, so tconInfoFree() can&amp;#39;t
run before they finish and free_cached_dirs() doesn&amp;#39;t need to flush any
workqueue.  If the laundromat can&amp;#39;t get a reference, put the cfid back on…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99386</guid>
    </item>
  </channel>
</rss>
