<?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>Wed, 30 Sep 2026 15:55:29 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-72221 — sunrpc: wait for in-flight TLS handshake callback when cancel loses race</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-72221</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;sunrpc: wait for in-flight TLS handshake callback when cancel loses race&lt;/p&gt;
&lt;p&gt;When wait_for_completion_interruptible_timeout() in
svc_tcp_handshake() returns 0 (timeout) or -ERESTARTSYS (signal) and
tls_handshake_cancel() then returns false, handshake_complete() has
won the cancellation race: it has set HANDSHAKE_F_REQ_COMPLETED and
is about to invoke svc_tcp_handshake_done(), but the callback&amp;#39;s
side effects on xpt_flags and on svsk-&amp;gt;sk_handshake_done have not
yet committed.&lt;/p&gt;
&lt;p&gt;The current code reads xpt_flags immediately to decide whether the
session succeeded. Two races result.&lt;/p&gt;
&lt;p&gt;If the callback has executed set_bit(XPT_TLS_SESSION) but not yet
clear_bit(XPT_HANDSHAKE), svc_tcp_handshake() sees a session,
enqueues the transport, and returns. svc_xprt_received() then
clears XPT_BUSY, a worker thread picks the transport up, the
dispatcher in svc_handle_xprt() observes XPT_HANDSHAKE still set,
and xpo_handshake is invoked a second time. That svc_tcp_handshake()
calls init_completion(&amp;amp;svsk-&amp;gt;sk_handshake_done) while the original
callback concurrently calls complete_all() on it, corrupting the
embedded swait_queue.&lt;/p&gt;
&lt;p&gt;If the callback has set HANDSHAKE_F_REQ_COMPLETED but not yet
entered svc_tcp_handshake_done(), svc_tcp_handshake() reads
XPT_TLS_SESSION as clear and tears the connection down even though
the handshake is about to succeed.&lt;/p&gt;
&lt;p&gt;Wait for the callback to commit before inspecting xpt_flags. The
completion is gua…&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;sunrpc: wait for in-flight TLS handshake callback when cancel loses race&lt;/p&gt;
&lt;p&gt;When wait_for_completion_interruptible_timeout() in
svc_tcp_handshake() returns 0 (timeout) or -ERESTARTSYS (signal) and
tls_handshake_cancel() then returns false, handshake_complete() has
won the cancellation race: it has set HANDSHAKE_F_REQ_COMPLETED and
is about to invoke svc_tcp_handshake_done(), but the callback&amp;#39;s
side effects on xpt_flags and on svsk-&amp;gt;sk_handshake_done have not
yet committed.&lt;/p&gt;
&lt;p&gt;The current code reads xpt_flags immediately to decide whether the
session succeeded. Two races result.&lt;/p&gt;
&lt;p&gt;If the callback has executed set_bit(XPT_TLS_SESSION) but not yet
clear_bit(XPT_HANDSHAKE), svc_tcp_handshake() sees a session,
enqueues the transport, and returns. svc_xprt_received() then
clears XPT_BUSY, a worker thread picks the transport up, the
dispatcher in svc_handle_xprt() observes XPT_HANDSHAKE still set,
and xpo_handshake is invoked a second time. That svc_tcp_handshake()
calls init_completion(&amp;amp;svsk-&amp;gt;sk_handshake_done) while the original
callback concurrently calls complete_all() on it, corrupting the
embedded swait_queue.&lt;/p&gt;
&lt;p&gt;If the callback has set HANDSHAKE_F_REQ_COMPLETED but not yet
entered svc_tcp_handshake_done(), svc_tcp_handshake() reads
XPT_TLS_SESSION as clear and tears the connection down even though
the handshake is about to succeed.&lt;/p&gt;
&lt;p&gt;Wait for the callback to commit before inspecting xpt_flags. The
completion is gua…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-72221</guid>
    </item>
  </channel>
</rss>
