{"id":40997,"date":"2026-10-19T00:31:47","date_gmt":"2026-10-18T16:31:47","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98525"},"modified":"2026-10-19T00:31:47","modified_gmt":"2026-10-18T16:31:47","slug":"cve-2026-98525","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98525","title":{"rendered":"CVE-2026-98525 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nmctp: route: iterate"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()<\/p>\n<p>When a socket transmits a packet with MCTP_TAG_PREALLOC set,<br \/>\nmctp_lookup_prealloc_tag() iterates over the per-netns &amp;mns-&gt;keys list<br \/>\nand matches netid, req_tag, peer_addr, and manual_alloc, without<br \/>\nchecking whether tmp-&gt;sk == &amp;msk-&gt;sk. This allows any MCTP socket in the<br \/>\nsame network namespace to use and consume another socket&#8217;s preallocated<br \/>\ntag.<\/p>\n<p>Iterate the socket&#8217;s own tag list (&amp;msk-&gt;keys via sklist) instead of the<br \/>\nnamespace-wide &amp;mns-&gt;keys list in mctp_lookup_prealloc_tag(), ensuring<br \/>\nthat only tags allocated by msk are matched.<\/p>\n<p>Tested in QEMU against Linux 7.3.0-rc3 by allocating a manual tag<br \/>\n(0x18) on socket A via SIOCMCTPALLOCTAG for peer EID 9 and sending a<br \/>\n4-byte message with MCTP_TAG_PREALLOC from socket B in the same network<br \/>\nnamespace. On the unfixed kernel, sendto(sock_b) using socket A&#8217;s<br \/>\npreallocated tag succeeds (ret = 4); with this patch applied,<br \/>\nsendto(sock_b) fails with -ENOENT (errno = 2) while sendto(sock_a)<br \/>\nsucceeds (ret = 4).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()<\/p>\n<p>When a socket transmits a packet with MCTP_TAG_PREALLOC set,<br \/>\nmc<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-40997","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/40997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}