<?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>Tue, 01 Dec 2026 09:52:04 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99980 — netdev: Hide the netdev_priv() origin from GCC in netdev_from_priv()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99980</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;netdev: Hide the netdev_priv() origin from GCC in netdev_from_priv()&lt;/p&gt;
&lt;p&gt;GCC 15.1 and later can compute an object size of 0 for a pointer that
container_of() derives from a pointer into a __counted_by flexible array
member[1]; Clang gets it right. netdev_from_priv() does this with struct
net_device&amp;#39;s &amp;#34;priv&amp;#34; array, so when GCC can see that its argument came
from netdev_priv(), FORTIFY_SOURCE sees a zero-sized net_device. Since
commit 9027497a25e3c (&amp;#34;team: use netdev_from_priv()&amp;#34;), adding a port of
another type to a team device can then fail the memcpy() to
&amp;#34;dev-&amp;gt;broadcast&amp;#34; in team_setup_by_port(), which GCC sees through after
inlining team_port_add() into team_add_slave():&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!
  ...
  Call Trace:
   &amp;lt;TASK&amp;gt;
   team_add_slave.cold+0x88/0x201
   do_set_master+0x11c/0x180
   do_setlink.isra.0+0x3a4/0x1410&lt;/p&gt;
&lt;p&gt;Whether GCC inlines that far depends on the architecture and the
configuration. It does on ppc64le, where this was reported, and on
x86_64 with defconfig plus hardening.config or with Debian&amp;#39;s
configuration, but not with allmodconfig.&lt;/p&gt;
&lt;p&gt;Hide where &amp;#34;priv&amp;#34; came from with OPTIMIZER_HIDE_VAR(), so GCC sees a
net_device of unknown size whose members have their declared sizes. (An
&amp;#34;unknown&amp;#34; size is considered uncheckable by FORTIFY.)  FORTIFY still
bounds writes to members; only the whole-object size becomes u…&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;netdev: Hide the netdev_priv() origin from GCC in netdev_from_priv()&lt;/p&gt;
&lt;p&gt;GCC 15.1 and later can compute an object size of 0 for a pointer that
container_of() derives from a pointer into a __counted_by flexible array
member[1]; Clang gets it right. netdev_from_priv() does this with struct
net_device&amp;#39;s &amp;#34;priv&amp;#34; array, so when GCC can see that its argument came
from netdev_priv(), FORTIFY_SOURCE sees a zero-sized net_device. Since
commit 9027497a25e3c (&amp;#34;team: use netdev_from_priv()&amp;#34;), adding a port of
another type to a team device can then fail the memcpy() to
&amp;#34;dev-&amp;gt;broadcast&amp;#34; in team_setup_by_port(), which GCC sees through after
inlining team_port_add() into team_add_slave():&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!
  ...
  Call Trace:
   &amp;lt;TASK&amp;gt;
   team_add_slave.cold+0x88/0x201
   do_set_master+0x11c/0x180
   do_setlink.isra.0+0x3a4/0x1410&lt;/p&gt;
&lt;p&gt;Whether GCC inlines that far depends on the architecture and the
configuration. It does on ppc64le, where this was reported, and on
x86_64 with defconfig plus hardening.config or with Debian&amp;#39;s
configuration, but not with allmodconfig.&lt;/p&gt;
&lt;p&gt;Hide where &amp;#34;priv&amp;#34; came from with OPTIMIZER_HIDE_VAR(), so GCC sees a
net_device of unknown size whose members have their declared sizes. (An
&amp;#34;unknown&amp;#34; size is considered uncheckable by FORTIFY.)  FORTIFY still
bounds writes to members; only the whole-object size becomes u…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99980</guid>
    </item>
  </channel>
</rss>
