<?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 05:39:29 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-49940 — l2tp: prevent possible tunnel refcount underflow</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-49940</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;l2tp: prevent possible tunnel refcount underflow&lt;/p&gt;
&lt;p&gt;When a session is created, it sets a backpointer to its tunnel. When
the session refcount drops to 0, l2tp_session_free drops the tunnel
refcount if session-&amp;gt;tunnel is non-NULL. However, session-&amp;gt;tunnel is
set in l2tp_session_create, before the tunnel refcount is incremented
by l2tp_session_register, which leaves a small window where
session-&amp;gt;tunnel is non-NULL when the tunnel refcount hasn&amp;#39;t been
bumped.&lt;/p&gt;
&lt;p&gt;Moving the assignment to l2tp_session_register is trivial but
l2tp_session_create calls l2tp_session_set_header_len which uses
session-&amp;gt;tunnel to get the tunnel&amp;#39;s encap. Add an encap arg to
l2tp_session_set_header_len to avoid using session-&amp;gt;tunnel.&lt;/p&gt;
&lt;p&gt;If l2tpv3 sessions have colliding IDs, it is possible for
l2tp_v3_session_get to race with l2tp_session_register and fetch a
session which doesn&amp;#39;t yet have session-&amp;gt;tunnel set. Add a check for
this case.&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;l2tp: prevent possible tunnel refcount underflow&lt;/p&gt;
&lt;p&gt;When a session is created, it sets a backpointer to its tunnel. When
the session refcount drops to 0, l2tp_session_free drops the tunnel
refcount if session-&amp;gt;tunnel is non-NULL. However, session-&amp;gt;tunnel is
set in l2tp_session_create, before the tunnel refcount is incremented
by l2tp_session_register, which leaves a small window where
session-&amp;gt;tunnel is non-NULL when the tunnel refcount hasn&amp;#39;t been
bumped.&lt;/p&gt;
&lt;p&gt;Moving the assignment to l2tp_session_register is trivial but
l2tp_session_create calls l2tp_session_set_header_len which uses
session-&amp;gt;tunnel to get the tunnel&amp;#39;s encap. Add an encap arg to
l2tp_session_set_header_len to avoid using session-&amp;gt;tunnel.&lt;/p&gt;
&lt;p&gt;If l2tpv3 sessions have colliding IDs, it is possible for
l2tp_v3_session_get to race with l2tp_session_register and fetch a
session which doesn&amp;#39;t yet have session-&amp;gt;tunnel set. Add a check for
this case.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-49940</guid>
    </item>
  </channel>
</rss>
