<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 16:54:33 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-97985 — af_unix: Update last skb marker in manage_oob().</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-97985</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;af_unix: Update last skb marker in manage_oob().&lt;/p&gt;
&lt;p&gt;Fahad Alharbi reported that blocking recv(MSG_PEEK) could hog CPU
due to OOB skb.&lt;/p&gt;
&lt;p&gt;In the following cases, manage_oob() skips OOB skb(s) and returns
NULL for the last recv(MSG_PEEK):&lt;/p&gt;
&lt;p&gt;socketpair(AF_UNIX, SOCK_STREAM, 0, sk);&lt;/p&gt;
&lt;p&gt;1) skb -&amp;gt; OOB skb -&amp;gt; NULL
     send(sk[0], &amp;#34;ab&amp;#34;, 2, MSG_OOB);
     recv(sk[1], buf, 0, MSG_PEEK);&lt;/p&gt;
&lt;p&gt;2) skb -&amp;gt; consumed OOB skb -&amp;gt; NULL
     send(sk[0], &amp;#34;ab&amp;#34;, 2, MSG_OOB);
     recv(sk[1], buf, 1, MSG_OOB);
     recv(sk[1], buf, 0, MSG_PEEK);&lt;/p&gt;
&lt;p&gt;3) consumed OOB skb -&amp;gt; OOB skb -&amp;gt; NULL
     send(sk[0], &amp;#34;a&amp;#34;, 1, MSG_OOB);
     recv(sk[1], buf, 0, MSG_OOB);
     send(sk[0], &amp;#34;b&amp;#34;, 1, MSG_OOB);
     recv(sk[1], buf, 1, MSG_PEEK);&lt;/p&gt;
&lt;p&gt;Then, @copied is 0 in unix_stream_read_generic() (zero-length buffer,
or non-OOB skb is not yet consumed), and unix_stream_data_wait() is
called.&lt;/p&gt;
&lt;p&gt;However, it returns immediately because @last is not updated in
unix_stream_read_generic(), and the thread busy-waits for a new skb.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s update @last in manage_oob().&lt;/p&gt;
&lt;p&gt;For MSG_PEEK, @last is updated with the skipped OOB, and for the
non-peek case, @last matches the returned value (when !copied)
because OOB is unlinked.&lt;/p&gt;
&lt;p&gt;Note that manage_oob() is inlined and no stack canary is added.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;af_unix: Update last skb marker in manage_oob().&lt;/p&gt;
&lt;p&gt;Fahad Alharbi reported that blocking recv(MSG_PEEK) could hog CPU
due to OOB skb.&lt;/p&gt;
&lt;p&gt;In the following cases, manage_oob() skips OOB skb(s) and returns
NULL for the last recv(MSG_PEEK):&lt;/p&gt;
&lt;p&gt;socketpair(AF_UNIX, SOCK_STREAM, 0, sk);&lt;/p&gt;
&lt;p&gt;1) skb -&amp;gt; OOB skb -&amp;gt; NULL
     send(sk[0], &amp;#34;ab&amp;#34;, 2, MSG_OOB);
     recv(sk[1], buf, 0, MSG_PEEK);&lt;/p&gt;
&lt;p&gt;2) skb -&amp;gt; consumed OOB skb -&amp;gt; NULL
     send(sk[0], &amp;#34;ab&amp;#34;, 2, MSG_OOB);
     recv(sk[1], buf, 1, MSG_OOB);
     recv(sk[1], buf, 0, MSG_PEEK);&lt;/p&gt;
&lt;p&gt;3) consumed OOB skb -&amp;gt; OOB skb -&amp;gt; NULL
     send(sk[0], &amp;#34;a&amp;#34;, 1, MSG_OOB);
     recv(sk[1], buf, 0, MSG_OOB);
     send(sk[0], &amp;#34;b&amp;#34;, 1, MSG_OOB);
     recv(sk[1], buf, 1, MSG_PEEK);&lt;/p&gt;
&lt;p&gt;Then, @copied is 0 in unix_stream_read_generic() (zero-length buffer,
or non-OOB skb is not yet consumed), and unix_stream_data_wait() is
called.&lt;/p&gt;
&lt;p&gt;However, it returns immediately because @last is not updated in
unix_stream_read_generic(), and the thread busy-waits for a new skb.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s update @last in manage_oob().&lt;/p&gt;
&lt;p&gt;For MSG_PEEK, @last is updated with the skipped OOB, and for the
non-peek case, @last matches the returned value (when !copied)
because OOB is unlinked.&lt;/p&gt;
&lt;p&gt;Note that manage_oob() is inlined and no stack canary is added.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-97985</guid>
    </item>
  </channel>
</rss>
