{"id":29141,"date":"2026-09-25T20:31:58","date_gmt":"2026-09-25T12:31:58","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97985"},"modified":"2026-09-25T20:31:58","modified_gmt":"2026-09-25T12:31:58","slug":"cve-2026-97985","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97985","title":{"rendered":"CVE-2026-97985 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Update last"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>af_unix: Update last skb marker in manage_oob().<\/p>\n<p>Fahad Alharbi reported that blocking recv(MSG_PEEK) could hog CPU<br \/>\ndue to OOB skb.<\/p>\n<p>In the following cases, manage_oob() skips OOB skb(s) and returns<br \/>\nNULL for the last recv(MSG_PEEK):<\/p>\n<p>  socketpair(AF_UNIX, SOCK_STREAM, 0, sk);<\/p>\n<p>  1) skb -&gt; OOB skb -&gt; NULL<br \/>\n     send(sk[0], &#8220;ab&#8221;, 2, MSG_OOB);<br \/>\n     recv(sk[1], buf, 0, MSG_PEEK);<\/p>\n<p>  2) skb -&gt; consumed OOB skb -&gt; NULL<br \/>\n     send(sk[0], &#8220;ab&#8221;, 2, MSG_OOB);<br \/>\n     recv(sk[1], buf, 1, MSG_OOB);<br \/>\n     recv(sk[1], buf, 0, MSG_PEEK);<\/p>\n<p>  3) consumed OOB skb -&gt; OOB skb -&gt; NULL<br \/>\n     send(sk[0], &#8220;a&#8221;, 1, MSG_OOB);<br \/>\n     recv(sk[1], buf, 0, MSG_OOB);<br \/>\n     send(sk[0], &#8220;b&#8221;, 1, MSG_OOB);<br \/>\n     recv(sk[1], buf, 1, MSG_PEEK);<\/p>\n<p>Then, @copied is 0 in unix_stream_read_generic() (zero-length buffer,<br \/>\nor non-OOB skb is not yet consumed), and unix_stream_data_wait() is<br \/>\ncalled.<\/p>\n<p>However, it returns immediately because @last is not updated in<br \/>\nunix_stream_read_generic(), and the thread busy-waits for a new skb.<\/p>\n<p>Let&#8217;s update @last in manage_oob().<\/p>\n<p>For MSG_PEEK, @last is updated with the skipped OOB, and for the<br \/>\nnon-peek case, @last matches the returned value (when !copied)<br \/>\nbecause OOB is unlinked.<\/p>\n<p>Note that manage_oob() is inlined and no stack canary is added.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>af_unix: Update last skb marker in manage_oob().<\/p>\n<p>Fahad Alharbi reported that blocking recv(MSG_PEEK) could hog CPU<br \/>\ndue to OOB skb.<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29141","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29141","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=29141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}