<?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>Fri, 09 Oct 2026 18:46:29 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98173 — smb: client: fix use-after-free of iface in cifs_try_adding_channels()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-98173</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: fix use-after-free of iface in cifs_try_adding_channels()&lt;/p&gt;
&lt;p&gt;cifs_try_adding_channels() iterates ses-&amp;gt;iface_list with
list_for_each_entry_safe_from(), which captures the next entry
(niface) under iface_lock.  The loop body then drops iface_lock for
the whole duration of cifs_ses_add_channel().&lt;/p&gt;
&lt;p&gt;A concurrent interface refresh (SMB3_request_interfaces() -&amp;gt;
parse_server_interfaces()) marks all ifaces inactive and removes and
frees any that are not re-advertised via list_del() + kref_put(),
where release_iface() is a bare kfree().  Since niface typically has
no channel holding a reference, the list reference is its last and it
can be freed inside the unlocked window.  On continue, the iterator
advance step then dereferences niface-&amp;gt;iface_head.next, and the loop
body reads iface-&amp;gt;rdma_capable/is_active, both on freed memory.&lt;/p&gt;
&lt;p&gt;Fix this by never keeping an unreferenced list pointer across the
unlocked window.  Each channel attempt now re-scans the list from the
head under iface_lock, takes a kref on the selected candidate, and
passes only that referenced candidate to cifs_ses_add_channel().
weight_fulfilled still tracks selection progress, so restarting the
scan preserves the original weighted distribution and the
weight_fulfilled-before-kref_put ordering on the failure path.&lt;/p&gt;
&lt;p&gt;Add a per-pass attempts cap so a flapping interface refresh cannot
keep the inner loop spinning within a single tries increment.&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: fix use-after-free of iface in cifs_try_adding_channels()&lt;/p&gt;
&lt;p&gt;cifs_try_adding_channels() iterates ses-&amp;gt;iface_list with
list_for_each_entry_safe_from(), which captures the next entry
(niface) under iface_lock.  The loop body then drops iface_lock for
the whole duration of cifs_ses_add_channel().&lt;/p&gt;
&lt;p&gt;A concurrent interface refresh (SMB3_request_interfaces() -&amp;gt;
parse_server_interfaces()) marks all ifaces inactive and removes and
frees any that are not re-advertised via list_del() + kref_put(),
where release_iface() is a bare kfree().  Since niface typically has
no channel holding a reference, the list reference is its last and it
can be freed inside the unlocked window.  On continue, the iterator
advance step then dereferences niface-&amp;gt;iface_head.next, and the loop
body reads iface-&amp;gt;rdma_capable/is_active, both on freed memory.&lt;/p&gt;
&lt;p&gt;Fix this by never keeping an unreferenced list pointer across the
unlocked window.  Each channel attempt now re-scans the list from the
head under iface_lock, takes a kref on the selected candidate, and
passes only that referenced candidate to cifs_ses_add_channel().
weight_fulfilled still tracks selection progress, so restarting the
scan preserves the original weighted distribution and the
weight_fulfilled-before-kref_put ordering on the failure path.&lt;/p&gt;
&lt;p&gt;Add a per-pass attempts cap so a flapping interface refresh cannot
keep the inner loop spinning within a single tries increment.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-98173</guid>
    </item>
  </channel>
</rss>
