<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-05T12:32:55.400636+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-143354</id>
    <title>CVE-2026-143354 — bpf: Require BPF_LWT_REROUTE when an lwt_in prog changes the protocol</title>
    <updated>2026-12-05T12:32:55.402111+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>bpf: Require BPF_LWT_REROUTE when an lwt_in prog changes the protocol</p>
<p>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-&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.</p>
<p>Drop the skb with -EINVAL when skb-&gt;protocol changes, as bpf_xmit() does.
Drop it also when the family of the dst changes, because skb-&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.</p>
<p>The commit in the first Fixes tag lets a prog change skb-&gt;protocol. The
commit in the second tag adds the check to bpf_xmit() only.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-143354"/>
  </entry>
</feed>
