<?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>Thu, 01 Oct 2026 19:53:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-44946 — kcm: Serialise kcm_sendmsg() for the same socket.</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-44946</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;kcm: Serialise kcm_sendmsg() for the same socket.&lt;/p&gt;
&lt;p&gt;syzkaller reported UAF in kcm_release(). [0]&lt;/p&gt;
&lt;p&gt;The scenario is&lt;/p&gt;
&lt;p&gt;1. Thread A builds a skb with MSG_MORE and sets kcm-&amp;gt;seq_skb.&lt;/p&gt;
&lt;p&gt;2. Thread A resumes building skb from kcm-&amp;gt;seq_skb but is blocked
     by sk_stream_wait_memory()&lt;/p&gt;
&lt;p&gt;3. Thread B calls sendmsg() concurrently, finishes building kcm-&amp;gt;seq_skb
     and puts the skb to the write queue&lt;/p&gt;
&lt;p&gt;4. Thread A faces an error and finally frees skb that is already in the
     write queue&lt;/p&gt;
&lt;p&gt;5. kcm_release() does double-free the skb in the write queue&lt;/p&gt;
&lt;p&gt;When a thread is building a MSG_MORE skb, another thread must not touch it.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s add a per-sk mutex and serialise kcm_sendmsg().&lt;/p&gt;
&lt;p&gt;[0]:
BUG: KASAN: slab-use-after-free in __skb_unlink include/linux/skbuff.h:2366 [inline]
BUG: KASAN: slab-use-after-free in __skb_dequeue include/linux/skbuff.h:2385 [inline]
BUG: KASAN: slab-use-after-free in __skb_queue_purge_reason include/linux/skbuff.h:3175 [inline]
BUG: KASAN: slab-use-after-free in __skb_queue_purge include/linux/skbuff.h:3181 [inline]
BUG: KASAN: slab-use-after-free in kcm_release+0x170/0x4c8 net/kcm/kcmsock.c:1691
Read of size 8 at addr ffff0000ced0fc80 by task syz-executor329/6167&lt;/p&gt;
&lt;p&gt;CPU: 1 PID: 6167 Comm: syz-executor329 Tainted: G    B              6.8.0-rc5-syzkaller-g9abbc24128bc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call trace:
 dump_backtrace+0x1b8/0…&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;kcm: Serialise kcm_sendmsg() for the same socket.&lt;/p&gt;
&lt;p&gt;syzkaller reported UAF in kcm_release(). [0]&lt;/p&gt;
&lt;p&gt;The scenario is&lt;/p&gt;
&lt;p&gt;1. Thread A builds a skb with MSG_MORE and sets kcm-&amp;gt;seq_skb.&lt;/p&gt;
&lt;p&gt;2. Thread A resumes building skb from kcm-&amp;gt;seq_skb but is blocked
     by sk_stream_wait_memory()&lt;/p&gt;
&lt;p&gt;3. Thread B calls sendmsg() concurrently, finishes building kcm-&amp;gt;seq_skb
     and puts the skb to the write queue&lt;/p&gt;
&lt;p&gt;4. Thread A faces an error and finally frees skb that is already in the
     write queue&lt;/p&gt;
&lt;p&gt;5. kcm_release() does double-free the skb in the write queue&lt;/p&gt;
&lt;p&gt;When a thread is building a MSG_MORE skb, another thread must not touch it.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s add a per-sk mutex and serialise kcm_sendmsg().&lt;/p&gt;
&lt;p&gt;[0]:
BUG: KASAN: slab-use-after-free in __skb_unlink include/linux/skbuff.h:2366 [inline]
BUG: KASAN: slab-use-after-free in __skb_dequeue include/linux/skbuff.h:2385 [inline]
BUG: KASAN: slab-use-after-free in __skb_queue_purge_reason include/linux/skbuff.h:3175 [inline]
BUG: KASAN: slab-use-after-free in __skb_queue_purge include/linux/skbuff.h:3181 [inline]
BUG: KASAN: slab-use-after-free in kcm_release+0x170/0x4c8 net/kcm/kcmsock.c:1691
Read of size 8 at addr ffff0000ced0fc80 by task syz-executor329/6167&lt;/p&gt;
&lt;p&gt;CPU: 1 PID: 6167 Comm: syz-executor329 Tainted: G    B              6.8.0-rc5-syzkaller-g9abbc24128bc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call trace:
 dump_backtrace+0x1b8/0…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-44946</guid>
    </item>
  </channel>
</rss>
