<?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://vulnerability.circl.lu</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>Sun, 04 Oct 2026 03:51:39 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-63984 — ipv6: rpl: fix hdrlen overflow in ipv6_rpl_srh_decompress()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-63984</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;ipv6: rpl: fix hdrlen overflow in ipv6_rpl_srh_decompress()&lt;/p&gt;
&lt;p&gt;ipv6_rpl_srh_decompress() computes:&lt;/p&gt;
&lt;p&gt;outhdr-&amp;gt;hdrlen = (((n + 1) * sizeof(struct in6_addr)) &amp;gt;&amp;gt; 3);&lt;/p&gt;
&lt;p&gt;hdrlen is __u8. For n &amp;gt;= 127 the result exceeds 255 and silently
truncates. With n=127 (cmpri=15, cmpre=15, pad=0, hdrlen=16):&lt;/p&gt;
&lt;p&gt;(128 * 16) &amp;gt;&amp;gt; 3 = 256, truncated to 0 as __u8&lt;/p&gt;
&lt;p&gt;The caller in ipv6_rpl_srh_rcv() then places the compressed header
at buf + ((ohdr-&amp;gt;hdrlen + 1) &amp;lt;&amp;lt; 3). With hdrlen=0 this is buf + 8,
but the decompressed region occupies buf[0..2055] (8-byte header
plus 128 full addresses). The compressed header overlaps the
decompressed data, and ipv6_rpl_srh_compress() writes into this
overlap, corrupting the routing header of the forwarded packet.&lt;/p&gt;
&lt;p&gt;The existing guard at exthdrs.c:546 checks (n + 1) &amp;gt; 255, which
prevents n+1 from overflowing unsigned char (the segments_left
field), but does not prevent the computed hdrlen from overflowing
__u8. n=127 passes because 128 &amp;lt;= 255, yet hdrlen=256 does not
fit.&lt;/p&gt;
&lt;p&gt;Tighten the bound to (n + 1) &amp;gt; 127. This caps n at 126, giving
hdrlen = (127 * 16) &amp;gt;&amp;gt; 3 = 254, which fits in __u8. The compressed
header then lands at buf + ((254 + 1) &amp;lt;&amp;lt; 3) = buf + 2040, exactly
past the decompressed region (buf[0..2039]). No overlap. 127
segments is well beyond any realistic RPL deployment.&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;ipv6: rpl: fix hdrlen overflow in ipv6_rpl_srh_decompress()&lt;/p&gt;
&lt;p&gt;ipv6_rpl_srh_decompress() computes:&lt;/p&gt;
&lt;p&gt;outhdr-&amp;gt;hdrlen = (((n + 1) * sizeof(struct in6_addr)) &amp;gt;&amp;gt; 3);&lt;/p&gt;
&lt;p&gt;hdrlen is __u8. For n &amp;gt;= 127 the result exceeds 255 and silently
truncates. With n=127 (cmpri=15, cmpre=15, pad=0, hdrlen=16):&lt;/p&gt;
&lt;p&gt;(128 * 16) &amp;gt;&amp;gt; 3 = 256, truncated to 0 as __u8&lt;/p&gt;
&lt;p&gt;The caller in ipv6_rpl_srh_rcv() then places the compressed header
at buf + ((ohdr-&amp;gt;hdrlen + 1) &amp;lt;&amp;lt; 3). With hdrlen=0 this is buf + 8,
but the decompressed region occupies buf[0..2055] (8-byte header
plus 128 full addresses). The compressed header overlaps the
decompressed data, and ipv6_rpl_srh_compress() writes into this
overlap, corrupting the routing header of the forwarded packet.&lt;/p&gt;
&lt;p&gt;The existing guard at exthdrs.c:546 checks (n + 1) &amp;gt; 255, which
prevents n+1 from overflowing unsigned char (the segments_left
field), but does not prevent the computed hdrlen from overflowing
__u8. n=127 passes because 128 &amp;lt;= 255, yet hdrlen=256 does not
fit.&lt;/p&gt;
&lt;p&gt;Tighten the bound to (n + 1) &amp;gt; 127. This caps n at 126, giving
hdrlen = (127 * 16) &amp;gt;&amp;gt; 3 = 254, which fits in __u8. The compressed
header then lands at buf + ((254 + 1) &amp;lt;&amp;lt; 3) = buf + 2040, exactly
past the decompressed region (buf[0..2039]). No overlap. 127
segments is well beyond any realistic RPL deployment.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-63984</guid>
    </item>
  </channel>
</rss>
