<?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, 17 Oct 2026 21:07:58 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98240 — net: ip_tunnel: initialize `options_len` before referencing options</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98240</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;net: ip_tunnel: initialize `options_len` before referencing options&lt;/p&gt;
&lt;p&gt;The following command triggers a kernel panic:&lt;/p&gt;
&lt;p&gt;ip link add d0 type dummy; ip link set d0 up
  ip route add 10.30.0.0/16 \
    encap ip id 300 geneve_opts 4660:66:11223344 dev d0&lt;/p&gt;
&lt;p&gt;memcpy: detected buffer overflow: 4 byte write of buffer size 0
  kernel BUG at lib/string_helpers.c:1044!
  ...
  ip_tun_parse_opts.part.0.cold+0x10/0x10
  ip_tun_build_state+0x116/0x2a0&lt;/p&gt;
&lt;p&gt;On kernels built with GCC 15+ and `CONFIG_FORTIFY_SOURCE`, the fortified
`memcpy()` got 0 sized destination with request of 4 bytes length:&lt;/p&gt;
&lt;p&gt;static int ip_tun_parse_opts_geneve(...)
  {
      ...
      attr = tb[LWTUNNEL_IP_OPT_GENEVE_DATA];
      data_len = nla_len(attr); /* == 4 */&lt;/p&gt;
&lt;p&gt;struct geneve_opt *opt = ip_tunnel_info_opts(info) + opts_len;
      memcpy(opt-&amp;gt;opt_data, nla_data(attr), data_len);
      /*     ^^^^^^^^^^^^^ 0 since options_len is assigned afterwards */&lt;/p&gt;
&lt;p&gt;Fixed by initializing the counter before the options are referenced.
Matching what `tunnel_key_opts_set()` already does.&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;net: ip_tunnel: initialize `options_len` before referencing options&lt;/p&gt;
&lt;p&gt;The following command triggers a kernel panic:&lt;/p&gt;
&lt;p&gt;ip link add d0 type dummy; ip link set d0 up
  ip route add 10.30.0.0/16 \
    encap ip id 300 geneve_opts 4660:66:11223344 dev d0&lt;/p&gt;
&lt;p&gt;memcpy: detected buffer overflow: 4 byte write of buffer size 0
  kernel BUG at lib/string_helpers.c:1044!
  ...
  ip_tun_parse_opts.part.0.cold+0x10/0x10
  ip_tun_build_state+0x116/0x2a0&lt;/p&gt;
&lt;p&gt;On kernels built with GCC 15+ and `CONFIG_FORTIFY_SOURCE`, the fortified
`memcpy()` got 0 sized destination with request of 4 bytes length:&lt;/p&gt;
&lt;p&gt;static int ip_tun_parse_opts_geneve(...)
  {
      ...
      attr = tb[LWTUNNEL_IP_OPT_GENEVE_DATA];
      data_len = nla_len(attr); /* == 4 */&lt;/p&gt;
&lt;p&gt;struct geneve_opt *opt = ip_tunnel_info_opts(info) + opts_len;
      memcpy(opt-&amp;gt;opt_data, nla_data(attr), data_len);
      /*     ^^^^^^^^^^^^^ 0 since options_len is assigned afterwards */&lt;/p&gt;
&lt;p&gt;Fixed by initializing the counter before the options are referenced.
Matching what `tunnel_key_opts_set()` already does.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98240</guid>
    </item>
  </channel>
</rss>
