<?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 22:05:51 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89641 — cifs: clear tcon after cifsFileInfo_put() in cifs_file_set_size()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89641</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;cifs: clear tcon after cifsFileInfo_put() in cifs_file_set_size()&lt;/p&gt;
&lt;p&gt;When the else branch of cifs_file_set_size() finds a writable file handle
via find_writable_file(), it borrows tcon and server from the handle&amp;#39;s
tlink, attempts the handle-based set_file_size() RPC, and then releases
the handle with cifsFileInfo_put().&lt;/p&gt;
&lt;p&gt;If set_file_size() fails, execution falls through to the path-based
fallback, which reuses the borrowed tcon and server under the
&amp;#34;if (tcon == NULL)&amp;#34; guard.  Since tcon is not NULL at that point, the
guard is skipped.  If cifsFileInfo_put() dropped the last reference on a
tlink that was already removed from the tlink tree (TCON_LINK_IN_TREE
cleared, as happens during reconnection or session teardown),
cifs_put_tlink() will have freed tcon; the subsequent set_path_size()
call is then a use-after-free.&lt;/p&gt;
&lt;p&gt;Setting tcon = NULL after cifsFileInfo_put() causes the existing guard
to take the cifs_sb_tlink() path, which acquires a fresh reference for
the path-based operation or fails cleanly if the session is gone.&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;cifs: clear tcon after cifsFileInfo_put() in cifs_file_set_size()&lt;/p&gt;
&lt;p&gt;When the else branch of cifs_file_set_size() finds a writable file handle
via find_writable_file(), it borrows tcon and server from the handle&amp;#39;s
tlink, attempts the handle-based set_file_size() RPC, and then releases
the handle with cifsFileInfo_put().&lt;/p&gt;
&lt;p&gt;If set_file_size() fails, execution falls through to the path-based
fallback, which reuses the borrowed tcon and server under the
&amp;#34;if (tcon == NULL)&amp;#34; guard.  Since tcon is not NULL at that point, the
guard is skipped.  If cifsFileInfo_put() dropped the last reference on a
tlink that was already removed from the tlink tree (TCON_LINK_IN_TREE
cleared, as happens during reconnection or session teardown),
cifs_put_tlink() will have freed tcon; the subsequent set_path_size()
call is then a use-after-free.&lt;/p&gt;
&lt;p&gt;Setting tcon = NULL after cifsFileInfo_put() causes the existing guard
to take the cifs_sb_tlink() path, which acquires a fresh reference for
the path-based operation or fails cleanly if the session is gone.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89641</guid>
    </item>
  </channel>
</rss>
