{"id":41020,"date":"2026-10-19T00:31:50","date_gmt":"2026-10-18T16:31:50","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98548"},"modified":"2026-10-19T00:31:50","modified_gmt":"2026-10-18T16:31:50","slug":"cve-2026-98548","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98548","title":{"rendered":"CVE-2026-98548 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: discard the res"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>sctp: discard the rest of the packet on a stale-cookie error<\/p>\n<p>When an association is in COOKIE-ECHOED state and the peer sends a<br \/>\nbundled [ERROR(Stale Cookie)][DATA] packet from one of its non-primary<br \/>\naddresses, processing the ERROR chunk takes the non-fatal stale-cookie<br \/>\nretry path sctp_sf_do_5_2_6_stale(), which queues<br \/>\nSCTP_CMD_DEL_NON_PRIMARY while keeping the association alive.<br \/>\nsctp_cmd_del_non_primary() removes every non-primary transport &#8211;<br \/>\nincluding the very transport this packet arrived on, which is still<br \/>\nreferenced by the receive lookup and shared by all chunks of the<br \/>\npacket via chunk-&gt;transport.<\/p>\n<p>sctp_assoc_rm_peer() does redirect asoc-&gt;peer.last_data_from away from<br \/>\nthe removed transport, but right afterwards the bundled DATA chunk<br \/>\nmakes sctp_assoc_bh_rcv() re-register<br \/>\nasoc-&gt;peer.last_data_from = chunk-&gt;transport unconditionally, undoing<br \/>\nthe redirection with the just-removed transport.<\/p>\n<p>Once the packet is done, the receive reference is dropped and the<br \/>\ntransport is RCU-freed, while the surviving association keeps the<br \/>\ndangling last_data_from.  A later FWD-TSN (or the delayed SACK timer)<br \/>\nmakes sctp_gen_sack() dereference it (-&gt;param_flags and friends), and<br \/>\nsctp_make_sack()\/sctp_outq_select_transport() may write to the freed<br \/>\nobject and link it into the live transport list.  This is a<br \/>\nuse-after-free triggerable by any malicious SCTP peer (or a local<br \/>\nunprivileged user acting as one) with no capabilities required:<\/p>\n<p>  BUG: KASAN: slab-use-after-free in sctp_do_sm+0x498a\/0x5660<br \/>\n  Read of size 4 at addr ffff88800e1e356c by task poc\/115<br \/>\n  Call Trace: sctp_do_sm &lt;- sctp_assoc_bh_rcv &lt;- sctp_inq_push &lt;-<br \/>\n              sctp_rcv &lt;- ip_protocol_deliver_rcu &lt;- ip_rcv<br \/>\n  Allocated: sctp_transport_new &lt;- sctp_assoc_add_peer &lt;-<br \/>\n             sctp_process_init (INIT-ACK processing)<br \/>\n  Freed: kfree &lt;- sctp_transport_destroy_rcu transport: besides the last_data_from registration above,<br \/>\nsctp_cmd_setup_t2() and the sctp_make_*() reply builders would also<br \/>\ncopy that pointer into association-lifetime state that<br \/>\nsctp_assoc_rm_peer() has already sanitized.  Let the peer retransmit<br \/>\nthem, in line with what sctp_inq_push() does for chunks whose<br \/>\ntransport was removed before processing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>sctp: discard the rest of the packet on a stale-cookie error<\/p>\n<p>When an association is in COOKIE-ECHOED state and the peer sends a<br \/>\nbu<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41020","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41020","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=41020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}