<?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>Wed, 30 Sep 2026 10:29:12 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-74257 — sockmap: Fix use-after-free in udp_bpf_recvmsg()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-74257</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;sockmap: Fix use-after-free in udp_bpf_recvmsg()&lt;/p&gt;
&lt;p&gt;syzbot reported use-after-free of struct sk_msg in sk_msg_recvmsg(). [0]&lt;/p&gt;
&lt;p&gt;sk_msg_recvmsg() peeks sk_msg from psock-&amp;gt;ingress_msg under a lock,
but its processing is lockless.&lt;/p&gt;
&lt;p&gt;Thus, sk_msg_recvmsg() must be serialised by callers, otherwise
multiple threads could touch the same sk_msg.&lt;/p&gt;
&lt;p&gt;For example, TCP uses lock_sock(), and AF_UNIX uses unix_sk(sk)-&amp;gt;iolock.&lt;/p&gt;
&lt;p&gt;Initially, udp_bpf_recvmsg() had used lock_sock(), but the cited
commit removed it.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s serialise sk_msg_recvmsg() with lock_sock() in udp_bpf_recvmsg().&lt;/p&gt;
&lt;p&gt;Note that holding spin_lock_bh(&amp;amp;sk-&amp;gt;sk_receive_queue.lock) is not
an option due to copy_page_to_iter() in sk_msg_recvmsg().&lt;/p&gt;
&lt;p&gt;[0]:
BUG: KASAN: slab-use-after-free in sk_msg_recvmsg+0xb54/0xc30 net/core/skmsg.c:428
Read of size 4 at addr ffff88814cdcf000 by task syz.0.24/6020&lt;/p&gt;
&lt;p&gt;CPU: 1 UID: 0 PID: 6020 Comm: syz.0.24 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Compute Engine/Google Compute Engine, BIOS Google 01/13/2026
Call Trace:
 &amp;lt;TASK&amp;gt;
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0xba/0x230 mm/kasan/report.c:482
 kasan_report+0x117/0x150 mm/kasan/report.c:595
 sk_msg_recvmsg+0xb54/0xc30 net/core/skmsg.c:428
 udp_bpf_recvmsg+0x4bd/0xe00 net/ipv4/udp_bpf.c:84
 inet_recvmsg+0x260/0x270 net/ipv4/af_inet.c:891
 sock_recvmsg_nosec net/socket.c:1078 [inline]
 sock_re…&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;sockmap: Fix use-after-free in udp_bpf_recvmsg()&lt;/p&gt;
&lt;p&gt;syzbot reported use-after-free of struct sk_msg in sk_msg_recvmsg(). [0]&lt;/p&gt;
&lt;p&gt;sk_msg_recvmsg() peeks sk_msg from psock-&amp;gt;ingress_msg under a lock,
but its processing is lockless.&lt;/p&gt;
&lt;p&gt;Thus, sk_msg_recvmsg() must be serialised by callers, otherwise
multiple threads could touch the same sk_msg.&lt;/p&gt;
&lt;p&gt;For example, TCP uses lock_sock(), and AF_UNIX uses unix_sk(sk)-&amp;gt;iolock.&lt;/p&gt;
&lt;p&gt;Initially, udp_bpf_recvmsg() had used lock_sock(), but the cited
commit removed it.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s serialise sk_msg_recvmsg() with lock_sock() in udp_bpf_recvmsg().&lt;/p&gt;
&lt;p&gt;Note that holding spin_lock_bh(&amp;amp;sk-&amp;gt;sk_receive_queue.lock) is not
an option due to copy_page_to_iter() in sk_msg_recvmsg().&lt;/p&gt;
&lt;p&gt;[0]:
BUG: KASAN: slab-use-after-free in sk_msg_recvmsg+0xb54/0xc30 net/core/skmsg.c:428
Read of size 4 at addr ffff88814cdcf000 by task syz.0.24/6020&lt;/p&gt;
&lt;p&gt;CPU: 1 UID: 0 PID: 6020 Comm: syz.0.24 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Compute Engine/Google Compute Engine, BIOS Google 01/13/2026
Call Trace:
 &amp;lt;TASK&amp;gt;
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0xba/0x230 mm/kasan/report.c:482
 kasan_report+0x117/0x150 mm/kasan/report.c:595
 sk_msg_recvmsg+0xb54/0xc30 net/core/skmsg.c:428
 udp_bpf_recvmsg+0x4bd/0xe00 net/ipv4/udp_bpf.c:84
 inet_recvmsg+0x260/0x270 net/ipv4/af_inet.c:891
 sock_recvmsg_nosec net/socket.c:1078 [inline]
 sock_re…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-74257</guid>
    </item>
  </channel>
</rss>
