<?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 16:55:17 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-43226 — net/rds: No shortcut out of RDS_CONN_ERROR</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-43226</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;net/rds: No shortcut out of RDS_CONN_ERROR&lt;/p&gt;
&lt;p&gt;RDS connections carry a state &amp;#34;rds_conn_path::cp_state&amp;#34;
and transitions from one state to another and are conditional
upon an expected state: &amp;#34;rds_conn_path_transition.&amp;#34;&lt;/p&gt;
&lt;p&gt;There is one exception to this conditionality, which is
&amp;#34;RDS_CONN_ERROR&amp;#34; that can be enforced by &amp;#34;rds_conn_path_drop&amp;#34;
regardless of what state the condition is currently in.&lt;/p&gt;
&lt;p&gt;But as soon as a connection enters state &amp;#34;RDS_CONN_ERROR&amp;#34;,
the connection handling code expects it to go through the
shutdown-path.&lt;/p&gt;
&lt;p&gt;The RDS/TCP multipath changes added a shortcut out of
&amp;#34;RDS_CONN_ERROR&amp;#34; straight back to &amp;#34;RDS_CONN_CONNECTING&amp;#34;
via &amp;#34;rds_tcp_accept_one_path&amp;#34; (e.g. after &amp;#34;rds_tcp_state_change&amp;#34;).&lt;/p&gt;
&lt;p&gt;A subsequent &amp;#34;rds_tcp_reset_callbacks&amp;#34; can then transition
the state to &amp;#34;RDS_CONN_RESETTING&amp;#34; with a shutdown-worker queued.&lt;/p&gt;
&lt;p&gt;That&amp;#39;ll trip up &amp;#34;rds_conn_init_shutdown&amp;#34;, which was
never adjusted to handle &amp;#34;RDS_CONN_RESETTING&amp;#34; and subsequently
drops the connection with the dreaded &amp;#34;DR_INV_CONN_STATE&amp;#34;,
which leaves &amp;#34;RDS_SHUTDOWN_WORK_QUEUED&amp;#34; on forever.&lt;/p&gt;
&lt;p&gt;So we do two things here:&lt;/p&gt;
&lt;p&gt;a) Don&amp;#39;t shortcut &amp;#34;RDS_CONN_ERROR&amp;#34;, but take the longer
   path through the shutdown code.&lt;/p&gt;
&lt;p&gt;b) Add &amp;#34;RDS_CONN_RESETTING&amp;#34; to the expected states in
  &amp;#34;rds_conn_init_shutdown&amp;#34; so that we won&amp;#39;t error out
  and get stuck, if we ever hit weird state transitions
  like this again.&amp;#34;&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;net/rds: No shortcut out of RDS_CONN_ERROR&lt;/p&gt;
&lt;p&gt;RDS connections carry a state &amp;#34;rds_conn_path::cp_state&amp;#34;
and transitions from one state to another and are conditional
upon an expected state: &amp;#34;rds_conn_path_transition.&amp;#34;&lt;/p&gt;
&lt;p&gt;There is one exception to this conditionality, which is
&amp;#34;RDS_CONN_ERROR&amp;#34; that can be enforced by &amp;#34;rds_conn_path_drop&amp;#34;
regardless of what state the condition is currently in.&lt;/p&gt;
&lt;p&gt;But as soon as a connection enters state &amp;#34;RDS_CONN_ERROR&amp;#34;,
the connection handling code expects it to go through the
shutdown-path.&lt;/p&gt;
&lt;p&gt;The RDS/TCP multipath changes added a shortcut out of
&amp;#34;RDS_CONN_ERROR&amp;#34; straight back to &amp;#34;RDS_CONN_CONNECTING&amp;#34;
via &amp;#34;rds_tcp_accept_one_path&amp;#34; (e.g. after &amp;#34;rds_tcp_state_change&amp;#34;).&lt;/p&gt;
&lt;p&gt;A subsequent &amp;#34;rds_tcp_reset_callbacks&amp;#34; can then transition
the state to &amp;#34;RDS_CONN_RESETTING&amp;#34; with a shutdown-worker queued.&lt;/p&gt;
&lt;p&gt;That&amp;#39;ll trip up &amp;#34;rds_conn_init_shutdown&amp;#34;, which was
never adjusted to handle &amp;#34;RDS_CONN_RESETTING&amp;#34; and subsequently
drops the connection with the dreaded &amp;#34;DR_INV_CONN_STATE&amp;#34;,
which leaves &amp;#34;RDS_SHUTDOWN_WORK_QUEUED&amp;#34; on forever.&lt;/p&gt;
&lt;p&gt;So we do two things here:&lt;/p&gt;
&lt;p&gt;a) Don&amp;#39;t shortcut &amp;#34;RDS_CONN_ERROR&amp;#34;, but take the longer
   path through the shutdown code.&lt;/p&gt;
&lt;p&gt;b) Add &amp;#34;RDS_CONN_RESETTING&amp;#34; to the expected states in
  &amp;#34;rds_conn_init_shutdown&amp;#34; so that we won&amp;#39;t error out
  and get stuck, if we ever hit weird state transitions
  like this again.&amp;#34;&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-43226</guid>
    </item>
  </channel>
</rss>
