<?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 13:47:21 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-64109 — af_unix: Fix UAF read of tail-&gt;len in unix_stream_data_wait()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-64109</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: Fix UAF read of tail-&amp;gt;len in unix_stream_data_wait()&lt;/p&gt;
&lt;p&gt;unix_stream_data_wait() does skb_peek_tail(&amp;amp;sk-&amp;gt;sk_receive_queue) without
holding any lock that prevents SKBs on that queue from being dequeued and
freed.
This has been the case since commit 79f632c71bea (&amp;#34;unix/stream: fix
peeking with an offset larger than data in queue&amp;#34;).
The first consequence of this is that the pointer comparison
`tail != last` can be false even if `last` semantically refers to an
already-freed SKB while `tail` is a new SKB allocated at the same address;
which can cause unix_stream_data_wait() to wrongly keep blocking after new
data has arrived, but only in a weird scenario where a peeking recv() and
a normal recv() on the same socket are racing, which is probably not a
real problem.&lt;/p&gt;
&lt;p&gt;But since commit 2b514574f7e8 (&amp;#34;net: af_unix: implement splice for stream
af_unix sockets&amp;#34;), `tail` is actually dereferenced, which can cause UAF in
the following race scenario (where test_setup() runs single-threaded,
and afterwards, test_thread1() and test_thread2() run concurrently in
two threads:
```
static int socks[2];
void test_setup(void) {
  socketpair(AF_UNIX, SOCK_STREAM, 0, socks);
  send(socks[1], &amp;#34;A&amp;#34;, 1, 0);
  int peekoff = 1;
  setsockopt(socks[0], SOL_SOCKET, SO_PEEK_OFF, &amp;amp;peekoff, sizeof(peekoff));
}
void test_thread1(void) {
  char dummy;
  recv(socks[0], &amp;amp;dummy, 1, MSG_PEEK);
}
void test_thread2(void) {
  char dummy;
  recv(s…&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: Fix UAF read of tail-&amp;gt;len in unix_stream_data_wait()&lt;/p&gt;
&lt;p&gt;unix_stream_data_wait() does skb_peek_tail(&amp;amp;sk-&amp;gt;sk_receive_queue) without
holding any lock that prevents SKBs on that queue from being dequeued and
freed.
This has been the case since commit 79f632c71bea (&amp;#34;unix/stream: fix
peeking with an offset larger than data in queue&amp;#34;).
The first consequence of this is that the pointer comparison
`tail != last` can be false even if `last` semantically refers to an
already-freed SKB while `tail` is a new SKB allocated at the same address;
which can cause unix_stream_data_wait() to wrongly keep blocking after new
data has arrived, but only in a weird scenario where a peeking recv() and
a normal recv() on the same socket are racing, which is probably not a
real problem.&lt;/p&gt;
&lt;p&gt;But since commit 2b514574f7e8 (&amp;#34;net: af_unix: implement splice for stream
af_unix sockets&amp;#34;), `tail` is actually dereferenced, which can cause UAF in
the following race scenario (where test_setup() runs single-threaded,
and afterwards, test_thread1() and test_thread2() run concurrently in
two threads:
```
static int socks[2];
void test_setup(void) {
  socketpair(AF_UNIX, SOCK_STREAM, 0, socks);
  send(socks[1], &amp;#34;A&amp;#34;, 1, 0);
  int peekoff = 1;
  setsockopt(socks[0], SOL_SOCKET, SO_PEEK_OFF, &amp;amp;peekoff, sizeof(peekoff));
}
void test_thread1(void) {
  char dummy;
  recv(socks[0], &amp;amp;dummy, 1, MSG_PEEK);
}
void test_thread2(void) {
  char dummy;
  recv(s…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-64109</guid>
    </item>
  </channel>
</rss>
