<?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>Sat, 05 Dec 2026 12:25:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143354 — bpf: Require BPF_LWT_REROUTE when an lwt_in prog changes the protocol</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143354</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;bpf: Require BPF_LWT_REROUTE when an lwt_in prog changes the protocol&lt;/p&gt;
&lt;p&gt;When an lwt_in prog returns BPF_OK, bpf_input() calls orig_input(), the
input handler of the route. This handler is for one IP version and needs a
dst of the same family. But BPF_LWT_ENCAP_IP lets the prog push a header of
the other IP version and thus change skb-&amp;gt;protocol. Then the handler reads
and changes a header of the other IP version. The push of an SRH also
replaces the dst, because seg6_lookup_nexthop() puts an rt6_info into the
skb. Then ip_forward() uses the rt6_info as a struct rtable.&lt;/p&gt;
&lt;p&gt;Drop the skb with -EINVAL when skb-&amp;gt;protocol changes, as bpf_xmit() does.
Drop it also when the family of the dst changes, because skb-&amp;gt;protocol does
not always show this change. Today no such skb leaves as the prog made it.
A prog works as before if it returns BPF_LWT_REROUTE, or if it pushes an
SRH on an IPv6 route.&lt;/p&gt;
&lt;p&gt;The commit in the first Fixes tag lets a prog change skb-&amp;gt;protocol. The
commit in the second tag adds the check to bpf_xmit() only.&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;bpf: Require BPF_LWT_REROUTE when an lwt_in prog changes the protocol&lt;/p&gt;
&lt;p&gt;When an lwt_in prog returns BPF_OK, bpf_input() calls orig_input(), the
input handler of the route. This handler is for one IP version and needs a
dst of the same family. But BPF_LWT_ENCAP_IP lets the prog push a header of
the other IP version and thus change skb-&amp;gt;protocol. Then the handler reads
and changes a header of the other IP version. The push of an SRH also
replaces the dst, because seg6_lookup_nexthop() puts an rt6_info into the
skb. Then ip_forward() uses the rt6_info as a struct rtable.&lt;/p&gt;
&lt;p&gt;Drop the skb with -EINVAL when skb-&amp;gt;protocol changes, as bpf_xmit() does.
Drop it also when the family of the dst changes, because skb-&amp;gt;protocol does
not always show this change. Today no such skb leaves as the prog made it.
A prog works as before if it returns BPF_LWT_REROUTE, or if it pushes an
SRH on an IPv6 route.&lt;/p&gt;
&lt;p&gt;The commit in the first Fixes tag lets a prog change skb-&amp;gt;protocol. The
commit in the second tag adds the check to bpf_xmit() only.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143354</guid>
    </item>
  </channel>
</rss>
