<?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:31 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143357 — bpf: Don't look for the SRH again in the End.BPF helpers</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143357</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: Don&amp;#39;t look for the SRH again in the End.BPF helpers&lt;/p&gt;
&lt;p&gt;A packet can have two SRHs. Thus input_action_end_bpf() uses
IP6_FH_F_SKIP_RH to skip routing headers with segments_left 0. The helpers
bpf_lwt_seg6_store_bytes() and bpf_lwt_seg6_adjust_srh() can reallocate the
head of the skb. Thus they look for the SRH again, but without this flag.&lt;/p&gt;
&lt;p&gt;+------------------------+ &amp;lt;- the helpers: srh_state-&amp;gt;srh
  | SRH 1, segments_left 0 |
  +------------------------+ &amp;lt;- input_action_end_bpf(): srh_state-&amp;gt;srh
  | SRH 2                  |    and srh_state-&amp;gt;hdrlen
  +------------------------+&lt;/p&gt;
&lt;p&gt;Then the helpers check offset against the wrong limits. If a helper changes
TLVs, seg6_bpf_has_valid_srh() writes the length of SRH 2 to SRH 1.&lt;/p&gt;
&lt;p&gt;Neither helper changes the offset of the SRH from skb-&amp;gt;data. Calculate the
new address from this offset. To add IP6_FH_F_SKIP_RH is not sufficient,
because advance_nextseg() can set segments_left of SRH 2 to 0. The helper
bpf_lwt_seg6_action() can change the headers and still looks for the SRH.&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: Don&amp;#39;t look for the SRH again in the End.BPF helpers&lt;/p&gt;
&lt;p&gt;A packet can have two SRHs. Thus input_action_end_bpf() uses
IP6_FH_F_SKIP_RH to skip routing headers with segments_left 0. The helpers
bpf_lwt_seg6_store_bytes() and bpf_lwt_seg6_adjust_srh() can reallocate the
head of the skb. Thus they look for the SRH again, but without this flag.&lt;/p&gt;
&lt;p&gt;+------------------------+ &amp;lt;- the helpers: srh_state-&amp;gt;srh
  | SRH 1, segments_left 0 |
  +------------------------+ &amp;lt;- input_action_end_bpf(): srh_state-&amp;gt;srh
  | SRH 2                  |    and srh_state-&amp;gt;hdrlen
  +------------------------+&lt;/p&gt;
&lt;p&gt;Then the helpers check offset against the wrong limits. If a helper changes
TLVs, seg6_bpf_has_valid_srh() writes the length of SRH 2 to SRH 1.&lt;/p&gt;
&lt;p&gt;Neither helper changes the offset of the SRH from skb-&amp;gt;data. Calculate the
new address from this offset. To add IP6_FH_F_SKIP_RH is not sufficient,
because advance_nextseg() can set segments_left of SRH 2 to 0. The helper
bpf_lwt_seg6_action() can change the headers and still looks for the SRH.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143357</guid>
    </item>
  </channel>
</rss>
