{"id":33423,"date":"2026-10-06T20:31:58","date_gmt":"2026-10-06T12:31:58","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98354"},"modified":"2026-10-06T20:31:58","modified_gmt":"2026-10-06T12:31:58","slug":"cve-2026-98354","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98354","title":{"rendered":"CVE-2026-98354 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA\/mad: Fix receive"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>RDMA\/mad: Fix receive buffer leak when PKey enforcement fails<\/p>\n<p>ib_mad_complete_recv() initializes mad_recv_wc-&gt;rmpp_list and then runs<br \/>\nib_mad_enforce_security() before linking recv_buf onto that list.  On<br \/>\nfailure it calls ib_free_recv_mad(), which only walks rmpp_list and frees<br \/>\nthe ib_mad_private of every buffer found there.  As the list is still<br \/>\nempty at that point, nothing is freed at all.<\/p>\n<p>The caller cannot clean up either: ib_mad_recv_done() sets recv to NULL<br \/>\nright after ib_mad_complete_recv() returns, assuming the MAD layer took<br \/>\nownership of the buffer.  Every MAD that fails the PKey check therefore<br \/>\nleaks one ib_mad_private (about 300 bytes per IB port MAD, ~2K for OPA),<br \/>\nand a remote node can trigger this repeatedly by sending MADs with a<br \/>\nwrong PKey.<\/p>\n<p>Link recv_buf onto rmpp_list right after the list is initialized, so the<br \/>\nerror path has something to free.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>RDMA\/mad: Fix receive buffer leak when PKey enforcement fails<\/p>\n<p>ib_mad_complete_recv() initializes mad_recv_wc-&gt;rmpp_list and then r<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33423","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33423","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=33423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}