<?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 13:03:12 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53343 — icmp6: Fix null-ptr-deref of ip6_null_entry-&gt;rt6i_idev in icmp6_dev().</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53343</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;icmp6: Fix null-ptr-deref of ip6_null_entry-&amp;gt;rt6i_idev in icmp6_dev().&lt;/p&gt;
&lt;p&gt;With some IPv6 Ext Hdr (RPL, SRv6, etc.), we can send a packet that
has the link-local address as src and dst IP and will be forwarded to
an external IP in the IPv6 Ext Hdr.&lt;/p&gt;
&lt;p&gt;For example, the script below generates a packet whose src IP is the
link-local address and dst is updated to 11::.&lt;/p&gt;
&lt;p&gt;# for f in $(find /proc/sys/net/ -name *seg6_enabled*); do echo 1 &amp;gt; $f; done
  # python3
  &amp;gt;&amp;gt;&amp;gt; from socket import *
  &amp;gt;&amp;gt;&amp;gt; from scapy.all import *
  &amp;gt;&amp;gt;&amp;gt;
  &amp;gt;&amp;gt;&amp;gt; SRC_ADDR = DST_ADDR = &amp;#34;fe80::5054:ff:fe12:3456&amp;#34;
  &amp;gt;&amp;gt;&amp;gt;
  &amp;gt;&amp;gt;&amp;gt; pkt = IPv6(src=SRC_ADDR, dst=DST_ADDR)
  &amp;gt;&amp;gt;&amp;gt; pkt /= IPv6ExtHdrSegmentRouting(type=4, addresses=[&amp;#34;11::&amp;#34;, &amp;#34;22::&amp;#34;], segleft=1)
  &amp;gt;&amp;gt;&amp;gt;
  &amp;gt;&amp;gt;&amp;gt; sk = socket(AF_INET6, SOCK_RAW, IPPROTO_RAW)
  &amp;gt;&amp;gt;&amp;gt; sk.sendto(bytes(pkt), (DST_ADDR, 0))&lt;/p&gt;
&lt;p&gt;For such a packet, we call ip6_route_input() to look up a route for the
next destination in these three functions depending on the header type.&lt;/p&gt;
&lt;p&gt;* ipv6_rthdr_rcv()
  * ipv6_rpl_srh_rcv()
  * ipv6_srh_rcv()&lt;/p&gt;
&lt;p&gt;If no route is found, ip6_null_entry is set to skb, and the following
dst_input(skb) calls ip6_pkt_drop().&lt;/p&gt;
&lt;p&gt;Finally, in icmp6_dev(), we dereference skb_rt6_info(skb)-&amp;gt;rt6i_idev-&amp;gt;dev
as the input device is the loopback interface.  Then, we have to check if
skb_rt6_info(skb)-&amp;gt;rt6i_idev is NULL or not to avoid NULL pointer deref
for ip6_null_entry.&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000000…&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;icmp6: Fix null-ptr-deref of ip6_null_entry-&amp;gt;rt6i_idev in icmp6_dev().&lt;/p&gt;
&lt;p&gt;With some IPv6 Ext Hdr (RPL, SRv6, etc.), we can send a packet that
has the link-local address as src and dst IP and will be forwarded to
an external IP in the IPv6 Ext Hdr.&lt;/p&gt;
&lt;p&gt;For example, the script below generates a packet whose src IP is the
link-local address and dst is updated to 11::.&lt;/p&gt;
&lt;p&gt;# for f in $(find /proc/sys/net/ -name *seg6_enabled*); do echo 1 &amp;gt; $f; done
  # python3
  &amp;gt;&amp;gt;&amp;gt; from socket import *
  &amp;gt;&amp;gt;&amp;gt; from scapy.all import *
  &amp;gt;&amp;gt;&amp;gt;
  &amp;gt;&amp;gt;&amp;gt; SRC_ADDR = DST_ADDR = &amp;#34;fe80::5054:ff:fe12:3456&amp;#34;
  &amp;gt;&amp;gt;&amp;gt;
  &amp;gt;&amp;gt;&amp;gt; pkt = IPv6(src=SRC_ADDR, dst=DST_ADDR)
  &amp;gt;&amp;gt;&amp;gt; pkt /= IPv6ExtHdrSegmentRouting(type=4, addresses=[&amp;#34;11::&amp;#34;, &amp;#34;22::&amp;#34;], segleft=1)
  &amp;gt;&amp;gt;&amp;gt;
  &amp;gt;&amp;gt;&amp;gt; sk = socket(AF_INET6, SOCK_RAW, IPPROTO_RAW)
  &amp;gt;&amp;gt;&amp;gt; sk.sendto(bytes(pkt), (DST_ADDR, 0))&lt;/p&gt;
&lt;p&gt;For such a packet, we call ip6_route_input() to look up a route for the
next destination in these three functions depending on the header type.&lt;/p&gt;
&lt;p&gt;* ipv6_rthdr_rcv()
  * ipv6_rpl_srh_rcv()
  * ipv6_srh_rcv()&lt;/p&gt;
&lt;p&gt;If no route is found, ip6_null_entry is set to skb, and the following
dst_input(skb) calls ip6_pkt_drop().&lt;/p&gt;
&lt;p&gt;Finally, in icmp6_dev(), we dereference skb_rt6_info(skb)-&amp;gt;rt6i_idev-&amp;gt;dev
as the input device is the loopback interface.  Then, we have to check if
skb_rt6_info(skb)-&amp;gt;rt6i_idev is NULL or not to avoid NULL pointer deref
for ip6_null_entry.&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000000…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53343</guid>
    </item>
  </channel>
</rss>
