<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T01:51:03.517806+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-74257</id>
    <title>CVE-2026-74257 — sockmap: Fix use-after-free in udp_bpf_recvmsg()</title>
    <updated>2026-10-01T01:51:03.544543+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>sockmap: Fix use-after-free in udp_bpf_recvmsg()</p>
<p>syzbot reported use-after-free of struct sk_msg in sk_msg_recvmsg(). [0]</p>
<p>sk_msg_recvmsg() peeks sk_msg from psock-&gt;ingress_msg under a lock,
but its processing is lockless.</p>
<p>Thus, sk_msg_recvmsg() must be serialised by callers, otherwise
multiple threads could touch the same sk_msg.</p>
<p>For example, TCP uses lock_sock(), and AF_UNIX uses unix_sk(sk)-&gt;iolock.</p>
<p>Initially, udp_bpf_recvmsg() had used lock_sock(), but the cited
commit removed it.</p>
<p>Let's serialise sk_msg_recvmsg() with lock_sock() in udp_bpf_recvmsg().</p>
<p>Note that holding spin_lock_bh(&amp;sk-&gt;sk_receive_queue.lock) is not
an option due to copy_page_to_iter() in sk_msg_recvmsg().</p>
<p>[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</p>
<p>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:
 &lt;TASK&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…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-74257"/>
  </entry>
</feed>
