<?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 06:55:20 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-97965 — vxlan: initialize _md in vxlan_xmit_one()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-97965</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;vxlan: initialize _md in vxlan_xmit_one()&lt;/p&gt;
&lt;p&gt;If a VXLAN device is configured with both VXLAN_F_COLLECT_METADATA and
VXLAN_F_GBP, and a packet is transmitted through it using an external
ip_tunnel_info that lacks the IP_TUNNEL_VXLAN_OPT_BIT flag, md is left
pointing to the uninitialized _md stack variable:&lt;/p&gt;
&lt;p&gt;if (test_bit(IP_TUNNEL_VXLAN_OPT_BIT, info-&amp;gt;key.tun_flags)) {
                        if (info-&amp;gt;options_len &amp;lt; sizeof(*md))
                                goto drop;
                        md = ip_tunnel_info_opts(info);
                }&lt;/p&gt;
&lt;p&gt;Because IP_TUNNEL_VXLAN_OPT_BIT is not set, md is not updated and remains
pointing to _md. Later, vxlan_build_skb() is called with md, which
eventually calls vxlan_build_gbp_hdr():&lt;/p&gt;
&lt;p&gt;if (vxflags &amp;amp; VXLAN_F_GBP)
                vxlan_build_gbp_hdr(vxh, md);&lt;/p&gt;
&lt;p&gt;Inside vxlan_build_gbp_hdr(), md-&amp;gt;gbp is read:&lt;/p&gt;
&lt;p&gt;if (!md-&amp;gt;gbp)
                return;
        gbp = (struct vxlanhdr_gbp *)vxh;
        ...
        if (md-&amp;gt;gbp &amp;amp; VXLAN_GBP_DONT_LEARN)
                gbp-&amp;gt;dont_learn = 1;&lt;/p&gt;
&lt;p&gt;If the stack contains garbage, this causes:
1) VXLAN_HF_GBP flag to be spuriously set in the VXLAN header.
2) gbp-&amp;gt;dont_learn and gbp-&amp;gt;policy_applied to be set from stack bits.
3) gbp-&amp;gt;policy_id to receive 16 bits of uninitialized kernel stack data,
   leaking it onto the wire.&lt;/p&gt;
&lt;p&gt;Fix this by zero-initializing _md. If IP_TUNNEL_VXLAN_OPT_BIT is not
present, md-&amp;gt;gbp remains…&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;vxlan: initialize _md in vxlan_xmit_one()&lt;/p&gt;
&lt;p&gt;If a VXLAN device is configured with both VXLAN_F_COLLECT_METADATA and
VXLAN_F_GBP, and a packet is transmitted through it using an external
ip_tunnel_info that lacks the IP_TUNNEL_VXLAN_OPT_BIT flag, md is left
pointing to the uninitialized _md stack variable:&lt;/p&gt;
&lt;p&gt;if (test_bit(IP_TUNNEL_VXLAN_OPT_BIT, info-&amp;gt;key.tun_flags)) {
                        if (info-&amp;gt;options_len &amp;lt; sizeof(*md))
                                goto drop;
                        md = ip_tunnel_info_opts(info);
                }&lt;/p&gt;
&lt;p&gt;Because IP_TUNNEL_VXLAN_OPT_BIT is not set, md is not updated and remains
pointing to _md. Later, vxlan_build_skb() is called with md, which
eventually calls vxlan_build_gbp_hdr():&lt;/p&gt;
&lt;p&gt;if (vxflags &amp;amp; VXLAN_F_GBP)
                vxlan_build_gbp_hdr(vxh, md);&lt;/p&gt;
&lt;p&gt;Inside vxlan_build_gbp_hdr(), md-&amp;gt;gbp is read:&lt;/p&gt;
&lt;p&gt;if (!md-&amp;gt;gbp)
                return;
        gbp = (struct vxlanhdr_gbp *)vxh;
        ...
        if (md-&amp;gt;gbp &amp;amp; VXLAN_GBP_DONT_LEARN)
                gbp-&amp;gt;dont_learn = 1;&lt;/p&gt;
&lt;p&gt;If the stack contains garbage, this causes:
1) VXLAN_HF_GBP flag to be spuriously set in the VXLAN header.
2) gbp-&amp;gt;dont_learn and gbp-&amp;gt;policy_applied to be set from stack bits.
3) gbp-&amp;gt;policy_id to receive 16 bits of uninitialized kernel stack data,
   leaking it onto the wire.&lt;/p&gt;
&lt;p&gt;Fix this by zero-initializing _md. If IP_TUNNEL_VXLAN_OPT_BIT is not
present, md-&amp;gt;gbp remains…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-97965</guid>
    </item>
  </channel>
</rss>
