<?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 19:49:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98284 — netlink: do not free nlk-&gt;groups while lockless readers can use it</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98284</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;netlink: do not free nlk-&amp;gt;groups while lockless readers can use it&lt;/p&gt;
&lt;p&gt;netlink_realloc_groups() uses krealloc() under netlink_table_grab().
Whenever NLGRPSZ(groups) lands in a different kmalloc bucket, the old
bitmap is freed immediately.&lt;/p&gt;
&lt;p&gt;Two readers of nlk-&amp;gt;groups / nlk-&amp;gt;ngroups do not hold the netlink
table lock:&lt;/p&gt;
&lt;p&gt;1) sk_diag_dump_groups(). Hashed (bound) sockets are dumped from the
   rhashtable walk in __netlink_diag_dump(), which only holds RCU.
   Only the mc_list part of the dump takes nl_table_lock.&lt;/p&gt;
&lt;p&gt;2) netlink_native_seq_show() (/proc/net/netlink), whose walk has been
   lockless since commit 21e4902aea80 (&amp;#34;netlink: Lockless lookup with
   RCU grace period in socket release&amp;#34;).&lt;/p&gt;
&lt;p&gt;Both can read a freed buffer, and sk_diag_dump_groups() can also read
past the end of the old (smaller) buffer if it happens to load the old
@groups pointer together with the new @ngroups value, copying the
result into a NETLINK_DIAG_GROUPS attribute.&lt;/p&gt;
&lt;p&gt;This is the same class of bug that commit f773608026ee (&amp;#34;netlink:
access nlk groups safely in netlink bind and getname&amp;#34;) fixed for bind()
and getname(); these two readers were missed. Simply grabbing the table
lock in sk_diag_dump_groups() is not an option, because it is also
called with nl_table_lock already held from the mc_list section of the
dump.&lt;/p&gt;
&lt;p&gt;Make the lockless readers safe instead:&lt;/p&gt;
&lt;p&gt;- Allocate a new bitmap and free the old one after an RCU grace period,
  instead of rel…&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;netlink: do not free nlk-&amp;gt;groups while lockless readers can use it&lt;/p&gt;
&lt;p&gt;netlink_realloc_groups() uses krealloc() under netlink_table_grab().
Whenever NLGRPSZ(groups) lands in a different kmalloc bucket, the old
bitmap is freed immediately.&lt;/p&gt;
&lt;p&gt;Two readers of nlk-&amp;gt;groups / nlk-&amp;gt;ngroups do not hold the netlink
table lock:&lt;/p&gt;
&lt;p&gt;1) sk_diag_dump_groups(). Hashed (bound) sockets are dumped from the
   rhashtable walk in __netlink_diag_dump(), which only holds RCU.
   Only the mc_list part of the dump takes nl_table_lock.&lt;/p&gt;
&lt;p&gt;2) netlink_native_seq_show() (/proc/net/netlink), whose walk has been
   lockless since commit 21e4902aea80 (&amp;#34;netlink: Lockless lookup with
   RCU grace period in socket release&amp;#34;).&lt;/p&gt;
&lt;p&gt;Both can read a freed buffer, and sk_diag_dump_groups() can also read
past the end of the old (smaller) buffer if it happens to load the old
@groups pointer together with the new @ngroups value, copying the
result into a NETLINK_DIAG_GROUPS attribute.&lt;/p&gt;
&lt;p&gt;This is the same class of bug that commit f773608026ee (&amp;#34;netlink:
access nlk groups safely in netlink bind and getname&amp;#34;) fixed for bind()
and getname(); these two readers were missed. Simply grabbing the table
lock in sk_diag_dump_groups() is not an option, because it is also
called with nl_table_lock already held from the mc_list section of the
dump.&lt;/p&gt;
&lt;p&gt;Make the lockless readers safe instead:&lt;/p&gt;
&lt;p&gt;- Allocate a new bitmap and free the old one after an RCU grace period,
  instead of rel…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98284</guid>
    </item>
  </channel>
</rss>
