<?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://db.gcve.eu</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:08:33 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50555 — tipc: fix a null-ptr-deref in tipc_topsrv_accept</title>
      <link>https://db.gcve.eu/vuln/cve-2022-50555</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;tipc: fix a null-ptr-deref in tipc_topsrv_accept&lt;/p&gt;
&lt;p&gt;syzbot found a crash in tipc_topsrv_accept:&lt;/p&gt;
&lt;p&gt;KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
  Workqueue: tipc_rcv tipc_topsrv_accept
  RIP: 0010:kernel_accept+0x22d/0x350 net/socket.c:3487
  Call Trace:
   &amp;lt;TASK&amp;gt;
   tipc_topsrv_accept+0x197/0x280 net/tipc/topsrv.c:460
   process_one_work+0x991/0x1610 kernel/workqueue.c:2289
   worker_thread+0x665/0x1080 kernel/workqueue.c:2436
   kthread+0x2e4/0x3a0 kernel/kthread.c:376
   ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306&lt;/p&gt;
&lt;p&gt;It was caused by srv-&amp;gt;listener that might be set to null by
tipc_topsrv_stop() in net .exit whereas it&amp;#39;s still used in
tipc_topsrv_accept() worker.&lt;/p&gt;
&lt;p&gt;srv-&amp;gt;listener is protected by srv-&amp;gt;idr_lock in tipc_topsrv_stop(), so add
a check for srv-&amp;gt;listener under srv-&amp;gt;idr_lock in tipc_topsrv_accept() to
avoid the null-ptr-deref. To ensure the lsock is not released during the
tipc_topsrv_accept(), move sock_release() after tipc_topsrv_work_stop()
where it&amp;#39;s waiting until the tipc_topsrv_accept worker to be done.&lt;/p&gt;
&lt;p&gt;Note that sk_callback_lock is used to protect sk-&amp;gt;sk_user_data instead of
srv-&amp;gt;listener, and it should check srv in tipc_topsrv_listener_data_ready()
instead. This also ensures that no more tipc_topsrv_accept worker will be
started after tipc_conn_close() is called in tipc_topsrv_stop() where it
sets sk-&amp;gt;sk_user_data to null.&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;tipc: fix a null-ptr-deref in tipc_topsrv_accept&lt;/p&gt;
&lt;p&gt;syzbot found a crash in tipc_topsrv_accept:&lt;/p&gt;
&lt;p&gt;KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
  Workqueue: tipc_rcv tipc_topsrv_accept
  RIP: 0010:kernel_accept+0x22d/0x350 net/socket.c:3487
  Call Trace:
   &amp;lt;TASK&amp;gt;
   tipc_topsrv_accept+0x197/0x280 net/tipc/topsrv.c:460
   process_one_work+0x991/0x1610 kernel/workqueue.c:2289
   worker_thread+0x665/0x1080 kernel/workqueue.c:2436
   kthread+0x2e4/0x3a0 kernel/kthread.c:376
   ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306&lt;/p&gt;
&lt;p&gt;It was caused by srv-&amp;gt;listener that might be set to null by
tipc_topsrv_stop() in net .exit whereas it&amp;#39;s still used in
tipc_topsrv_accept() worker.&lt;/p&gt;
&lt;p&gt;srv-&amp;gt;listener is protected by srv-&amp;gt;idr_lock in tipc_topsrv_stop(), so add
a check for srv-&amp;gt;listener under srv-&amp;gt;idr_lock in tipc_topsrv_accept() to
avoid the null-ptr-deref. To ensure the lsock is not released during the
tipc_topsrv_accept(), move sock_release() after tipc_topsrv_work_stop()
where it&amp;#39;s waiting until the tipc_topsrv_accept worker to be done.&lt;/p&gt;
&lt;p&gt;Note that sk_callback_lock is used to protect sk-&amp;gt;sk_user_data instead of
srv-&amp;gt;listener, and it should check srv in tipc_topsrv_listener_data_ready()
instead. This also ensures that no more tipc_topsrv_accept worker will be
started after tipc_conn_close() is called in tipc_topsrv_stop() where it
sets sk-&amp;gt;sk_user_data to null.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2022-50555</guid>
    </item>
  </channel>
</rss>
