{"id":21328,"date":"2026-09-12T04:31:02","date_gmt":"2026-09-11T20:31:02","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80995"},"modified":"2026-09-12T04:31:02","modified_gmt":"2026-09-11T20:31:02","slug":"cve-2026-80995","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80995","title":{"rendered":"CVE-2026-80995 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mctp: hold a ref"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net: mctp: hold a reference to the route device in mctp_route_lookup()<\/p>\n<p>mctp_route_lookup() uses rt-&gt;dev without holding a reference on it.<br \/>\nmctp_route_lookup_single() returns the route under RCU only, so the<br \/>\nroute&#8217;s device can be torn down concurrently: mctp_dev_put() drops the<br \/>\nlast reference and synchronously kfree()s mdev-&gt;addrs.  mctp_dev_saddr()<br \/>\nthen reads rt-&gt;dev-&gt;addrs[0], giving a use-after-free reachable by an<br \/>\nunprivileged local AF_MCTP user on the receive\/forwarding path (no<br \/>\nCAP_NET_RAW required):<\/p>\n<p>  BUG: KASAN: slab-use-after-free in mctp_route_lookup<br \/>\n  Read of size 1 at addr &#8230; by task mctp_uaf\/&#8230;<br \/>\n   mctp_route_lookup<br \/>\n   mctp_pkttype_receive<br \/>\n  Freed by task &#8230;:<br \/>\n   kfree<br \/>\n   mctp_dev_put<br \/>\n   mctp_dev_notify<\/p>\n<p>In the same window mctp_dst_from_route() -&gt; mctp_dev_hold() also<br \/>\nincrements a refcount that has already reached zero<br \/>\n(&#8220;refcount_t: addition on 0 &#8230; mctp_dev_hold&#8221;).<\/p>\n<p>This reintroduces the use-after-free class of CVE-2023-3439: the source<br \/>\naddress lookup was moved ahead of the point where the destination takes<br \/>\nits device reference.<\/p>\n<p>Take a reference with refcount_inc_not_zero() before touching rt-&gt;dev,<br \/>\nskip a device that is already dead, and drop the reference once the<br \/>\ndestination has taken its own.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net: mctp: hold a reference to the route device in mctp_route_lookup()<\/p>\n<p>mctp_route_lookup() uses rt-&gt;dev without holding a referenc<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21328","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21328","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=21328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}