<?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:16:29.302596+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-143356</id>
    <title>CVE-2026-143356 — bpf: Move the MAC header in bpf_lwt_seg6_adjust_srh()</title>
    <updated>2026-12-05T12:16:29.303567+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: Move the MAC header in bpf_lwt_seg6_adjust_srh()</p>
<p>bpf_skb_net_hdr_push() and bpf_skb_net_hdr_pop() change skb-&gt;data and
skb-&gt;mac_header by len. That is correct in a tc prog, where skb-&gt;data is
the MAC header. But bpf_lwt_seg6_adjust_srh() calls them in an End.BPF
prog, where skb-&gt;data is the network header. The MAC header does not move:</p>
<p>before push  |       free       | MAC header   | IPv6 | SRH | payload
               ^ head             ^ mac_header   ^ data
  today        |       free       | MAC h| IPv6 | SRH   + len | payload
               ^ head     ^ mac_header   ^ data
  this patch   |   free   | MAC header   | IPv6 | SRH   + len | payload
               ^ head     ^ mac_header   ^ data</p>
<p>Users of skb_mac_header() get incorrect bytes until __dev_queue_xmit() sets
skb-&gt;mac_header again. skb_cow_head() reserves only len bytes. Thus the
16-bit offset skb-&gt;mac_header can wrap. A push also changes the "not set"
value. In both cases skb_mac_header() points after the skb.</p>
<p>Move the MAC header too. Pass len + skb-&gt;mac_len to skb_cow_head(). Keep
the "not set" value. The second Fixes tag is for this case. Since that
commit an End.BPF prog can get an skb with skb-&gt;mac_header not set.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-143356"/>
  </entry>
</feed>
