<?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>Mon, 02 Nov 2026 11:08:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98525 — mctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98525</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;mctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()&lt;/p&gt;
&lt;p&gt;When a socket transmits a packet with MCTP_TAG_PREALLOC set,
mctp_lookup_prealloc_tag() iterates over the per-netns &amp;amp;mns-&amp;gt;keys list
and matches netid, req_tag, peer_addr, and manual_alloc, without
checking whether tmp-&amp;gt;sk == &amp;amp;msk-&amp;gt;sk. This allows any MCTP socket in the
same network namespace to use and consume another socket&amp;#39;s preallocated
tag.&lt;/p&gt;
&lt;p&gt;Iterate the socket&amp;#39;s own tag list (&amp;amp;msk-&amp;gt;keys via sklist) instead of the
namespace-wide &amp;amp;mns-&amp;gt;keys list in mctp_lookup_prealloc_tag(), ensuring
that only tags allocated by msk are matched.&lt;/p&gt;
&lt;p&gt;Tested in QEMU against Linux 7.3.0-rc3 by allocating a manual tag
(0x18) on socket A via SIOCMCTPALLOCTAG for peer EID 9 and sending a
4-byte message with MCTP_TAG_PREALLOC from socket B in the same network
namespace. On the unfixed kernel, sendto(sock_b) using socket A&amp;#39;s
preallocated tag succeeds (ret = 4); with this patch applied,
sendto(sock_b) fails with -ENOENT (errno = 2) while sendto(sock_a)
succeeds (ret = 4).&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;mctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()&lt;/p&gt;
&lt;p&gt;When a socket transmits a packet with MCTP_TAG_PREALLOC set,
mctp_lookup_prealloc_tag() iterates over the per-netns &amp;amp;mns-&amp;gt;keys list
and matches netid, req_tag, peer_addr, and manual_alloc, without
checking whether tmp-&amp;gt;sk == &amp;amp;msk-&amp;gt;sk. This allows any MCTP socket in the
same network namespace to use and consume another socket&amp;#39;s preallocated
tag.&lt;/p&gt;
&lt;p&gt;Iterate the socket&amp;#39;s own tag list (&amp;amp;msk-&amp;gt;keys via sklist) instead of the
namespace-wide &amp;amp;mns-&amp;gt;keys list in mctp_lookup_prealloc_tag(), ensuring
that only tags allocated by msk are matched.&lt;/p&gt;
&lt;p&gt;Tested in QEMU against Linux 7.3.0-rc3 by allocating a manual tag
(0x18) on socket A via SIOCMCTPALLOCTAG for peer EID 9 and sending a
4-byte message with MCTP_TAG_PREALLOC from socket B in the same network
namespace. On the unfixed kernel, sendto(sock_b) using socket A&amp;#39;s
preallocated tag succeeds (ret = 4); with this patch applied,
sendto(sock_b) fails with -ENOENT (errno = 2) while sendto(sock_a)
succeeds (ret = 4).&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98525</guid>
    </item>
  </channel>
</rss>
