<?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://db.gcve.eu</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 22:25:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-97612 — net: mpls: clear inner_protocol when the last label is popped</title>
      <link>https://db.gcve.eu/vuln/cve-2026-97612</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: mpls: clear inner_protocol when the last label is popped&lt;/p&gt;
&lt;p&gt;skb_mpls_push() records the pre-encapsulation network header once, gated
on !skb-&amp;gt;inner_protocol. skb_mpls_pop() never clears that record, so it
outlives the encapsulation it describes.&lt;/p&gt;
&lt;p&gt;Open vSwitch can then re-push MPLS onto a packet whose
inner_network_header still points at the older, deeper offset: push a
label, pop every label, recirculate (ovs_flow_key_update() re-derives
key-&amp;gt;eth.type and resets network_header, but leaves inner_*), then push
again. ovs_fragment() trusts the record:&lt;/p&gt;
&lt;p&gt;skb-&amp;gt;network_header = skb-&amp;gt;inner_network_header;&lt;/p&gt;
&lt;p&gt;so skb_network_offset() goes negative. The bound check is signed:&lt;/p&gt;
&lt;p&gt;if (skb_network_offset(skb) &amp;gt; MAX_L2_LEN)&lt;/p&gt;
&lt;p&gt;a negative offset passes it, and prepare_frag() widens the value:&lt;/p&gt;
&lt;p&gt;unsigned int hlen = skb_network_offset(skb);
	memcpy(&amp;amp;data-&amp;gt;l2_data, skb-&amp;gt;data, hlen);&lt;/p&gt;
&lt;p&gt;which is a ~4GiB memcpy out of a 30-byte per-CPU buffer.&lt;/p&gt;
&lt;p&gt;Reproduced on v7.3-rc1. RDX is the truncated length, (unsigned int)(-8):&lt;/p&gt;
&lt;p&gt;BUG: unable to handle page fault for address: ffffe8ffffc16000
  #PF: supervisor write access in kernel mode
  Oops: 0002 [#1] SMP KASAN NOPTI
  RIP: 0010:memcpy+0x8/0x20
  RDX: 00000000fffffff8 RSI: ffff888105d732db RDI: ffffe8ffffc16000
   prepare_frag+0x3df/0x4e0
   ovs_fragment+0x589/0x7e0
   do_output+0x4ce/0x5e0
   do_execute_actions+0x55d2/0x7b30
   ovs_execute_actions+0xea/0x450&lt;/p&gt;
&lt;p&gt;Same root-cause shape as com…&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: mpls: clear inner_protocol when the last label is popped&lt;/p&gt;
&lt;p&gt;skb_mpls_push() records the pre-encapsulation network header once, gated
on !skb-&amp;gt;inner_protocol. skb_mpls_pop() never clears that record, so it
outlives the encapsulation it describes.&lt;/p&gt;
&lt;p&gt;Open vSwitch can then re-push MPLS onto a packet whose
inner_network_header still points at the older, deeper offset: push a
label, pop every label, recirculate (ovs_flow_key_update() re-derives
key-&amp;gt;eth.type and resets network_header, but leaves inner_*), then push
again. ovs_fragment() trusts the record:&lt;/p&gt;
&lt;p&gt;skb-&amp;gt;network_header = skb-&amp;gt;inner_network_header;&lt;/p&gt;
&lt;p&gt;so skb_network_offset() goes negative. The bound check is signed:&lt;/p&gt;
&lt;p&gt;if (skb_network_offset(skb) &amp;gt; MAX_L2_LEN)&lt;/p&gt;
&lt;p&gt;a negative offset passes it, and prepare_frag() widens the value:&lt;/p&gt;
&lt;p&gt;unsigned int hlen = skb_network_offset(skb);
	memcpy(&amp;amp;data-&amp;gt;l2_data, skb-&amp;gt;data, hlen);&lt;/p&gt;
&lt;p&gt;which is a ~4GiB memcpy out of a 30-byte per-CPU buffer.&lt;/p&gt;
&lt;p&gt;Reproduced on v7.3-rc1. RDX is the truncated length, (unsigned int)(-8):&lt;/p&gt;
&lt;p&gt;BUG: unable to handle page fault for address: ffffe8ffffc16000
  #PF: supervisor write access in kernel mode
  Oops: 0002 [#1] SMP KASAN NOPTI
  RIP: 0010:memcpy+0x8/0x20
  RDX: 00000000fffffff8 RSI: ffff888105d732db RDI: ffffe8ffffc16000
   prepare_frag+0x3df/0x4e0
   ovs_fragment+0x589/0x7e0
   do_output+0x4ce/0x5e0
   do_execute_actions+0x55d2/0x7b30
   ovs_execute_actions+0xea/0x450&lt;/p&gt;
&lt;p&gt;Same root-cause shape as com…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-97612</guid>
    </item>
  </channel>
</rss>
