<?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 18:25:31 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53198 — raw: Fix NULL deref in raw_get_next().</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53198</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;raw: Fix NULL deref in raw_get_next().&lt;/p&gt;
&lt;p&gt;Dae R. Jeong reported a NULL deref in raw_get_next() [0].&lt;/p&gt;
&lt;p&gt;It seems that the repro was running these sequences in parallel so
that one thread was iterating on a socket that was being freed in
another netns.&lt;/p&gt;
&lt;p&gt;unshare(0x40060200)
  r0 = syz_open_procfs(0x0, &amp;amp;(0x7f0000002080)=&amp;#39;net/raw\x00&amp;#39;)
  socket$inet_icmp_raw(0x2, 0x3, 0x1)
  pread64(r0, &amp;amp;(0x7f0000000000)=&amp;#34;&amp;#34;/10, 0xa, 0x10000000007f)&lt;/p&gt;
&lt;p&gt;After commit 0daf07e52709 (&amp;#34;raw: convert raw sockets to RCU&amp;#34;), we
use RCU and hlist_nulls_for_each_entry() to iterate over SOCK_RAW
sockets.  However, we should use spinlock for slow paths to avoid
the NULL deref.&lt;/p&gt;
&lt;p&gt;Also, SOCK_RAW does not use SLAB_TYPESAFE_BY_RCU, and the slab object
is not reused during iteration in the grace period.  In fact, the
lockless readers do not check the nulls marker with get_nulls_value().
So, SOCK_RAW should use hlist instead of hlist_nulls.&lt;/p&gt;
&lt;p&gt;Instead of adding an unnecessary barrier by sk_nulls_for_each_rcu(),
let&amp;#39;s convert hlist_nulls to hlist and use sk_for_each_rcu() for
fast paths and sk_for_each() and spinlock for /proc/net/raw.&lt;/p&gt;
&lt;p&gt;[0]:
general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 2 PID: 20952 Comm: syz-executor.0 Not tainted 6.2.0-g048ec869bafd-dirty #7
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 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;raw: Fix NULL deref in raw_get_next().&lt;/p&gt;
&lt;p&gt;Dae R. Jeong reported a NULL deref in raw_get_next() [0].&lt;/p&gt;
&lt;p&gt;It seems that the repro was running these sequences in parallel so
that one thread was iterating on a socket that was being freed in
another netns.&lt;/p&gt;
&lt;p&gt;unshare(0x40060200)
  r0 = syz_open_procfs(0x0, &amp;amp;(0x7f0000002080)=&amp;#39;net/raw\x00&amp;#39;)
  socket$inet_icmp_raw(0x2, 0x3, 0x1)
  pread64(r0, &amp;amp;(0x7f0000000000)=&amp;#34;&amp;#34;/10, 0xa, 0x10000000007f)&lt;/p&gt;
&lt;p&gt;After commit 0daf07e52709 (&amp;#34;raw: convert raw sockets to RCU&amp;#34;), we
use RCU and hlist_nulls_for_each_entry() to iterate over SOCK_RAW
sockets.  However, we should use spinlock for slow paths to avoid
the NULL deref.&lt;/p&gt;
&lt;p&gt;Also, SOCK_RAW does not use SLAB_TYPESAFE_BY_RCU, and the slab object
is not reused during iteration in the grace period.  In fact, the
lockless readers do not check the nulls marker with get_nulls_value().
So, SOCK_RAW should use hlist instead of hlist_nulls.&lt;/p&gt;
&lt;p&gt;Instead of adding an unnecessary barrier by sk_nulls_for_each_rcu(),
let&amp;#39;s convert hlist_nulls to hlist and use sk_for_each_rcu() for
fast paths and sk_for_each() and spinlock for /proc/net/raw.&lt;/p&gt;
&lt;p&gt;[0]:
general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 2 PID: 20952 Comm: syz-executor.0 Not tainted 6.2.0-g048ec869bafd-dirty #7
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS re…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53198</guid>
    </item>
  </channel>
</rss>
