<?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, 06 Oct 2026 06:25:41 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39817 — efivarfs: Fix slab-out-of-bounds in efivarfs_d_compare</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39817</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC CN 4100&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;efivarfs: Fix slab-out-of-bounds in efivarfs_d_compare&lt;/p&gt;
&lt;p&gt;Observed on kernel 6.6 (present on master as well):&lt;/p&gt;
&lt;p&gt;BUG: KASAN: slab-out-of-bounds in memcmp+0x98/0xd0
  Call trace:
   kasan_check_range+0xe8/0x190
   __asan_loadN+0x1c/0x28
   memcmp+0x98/0xd0
   efivarfs_d_compare+0x68/0xd8
   __d_lookup_rcu_op_compare+0x178/0x218
   __d_lookup_rcu+0x1f8/0x228
   d_alloc_parallel+0x150/0x648
   lookup_open.isra.0+0x5f0/0x8d0
   open_last_lookups+0x264/0x828
   path_openat+0x130/0x3f8
   do_filp_open+0x114/0x248
   do_sys_openat2+0x340/0x3c0
   __arm64_sys_openat+0x120/0x1a0&lt;/p&gt;
&lt;p&gt;If dentry-&amp;gt;d_name.len &amp;lt; EFI_VARIABLE_GUID_LEN , &amp;#39;guid&amp;#39; can become
negative, leadings to oob. The issue can be triggered by parallel
lookups using invalid filename:&lt;/p&gt;
&lt;p&gt;T1			T2
  lookup_open
   -&amp;gt;lookup
    simple_lookup
     d_add
     // invalid dentry is added to hash list&lt;/p&gt;
&lt;p&gt;lookup_open
			 d_alloc_parallel
			  __d_lookup_rcu
			   __d_lookup_rcu_op_compare
			    hlist_bl_for_each_entry_rcu
			    // invalid dentry can be retrieved
			     -&amp;gt;d_compare
			      efivarfs_d_compare
			      // oob&lt;/p&gt;
&lt;p&gt;Fix it by checking &amp;#39;guid&amp;#39; before cmp.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC CN 4100&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;efivarfs: Fix slab-out-of-bounds in efivarfs_d_compare&lt;/p&gt;
&lt;p&gt;Observed on kernel 6.6 (present on master as well):&lt;/p&gt;
&lt;p&gt;BUG: KASAN: slab-out-of-bounds in memcmp+0x98/0xd0
  Call trace:
   kasan_check_range+0xe8/0x190
   __asan_loadN+0x1c/0x28
   memcmp+0x98/0xd0
   efivarfs_d_compare+0x68/0xd8
   __d_lookup_rcu_op_compare+0x178/0x218
   __d_lookup_rcu+0x1f8/0x228
   d_alloc_parallel+0x150/0x648
   lookup_open.isra.0+0x5f0/0x8d0
   open_last_lookups+0x264/0x828
   path_openat+0x130/0x3f8
   do_filp_open+0x114/0x248
   do_sys_openat2+0x340/0x3c0
   __arm64_sys_openat+0x120/0x1a0&lt;/p&gt;
&lt;p&gt;If dentry-&amp;gt;d_name.len &amp;lt; EFI_VARIABLE_GUID_LEN , &amp;#39;guid&amp;#39; can become
negative, leadings to oob. The issue can be triggered by parallel
lookups using invalid filename:&lt;/p&gt;
&lt;p&gt;T1			T2
  lookup_open
   -&amp;gt;lookup
    simple_lookup
     d_add
     // invalid dentry is added to hash list&lt;/p&gt;
&lt;p&gt;lookup_open
			 d_alloc_parallel
			  __d_lookup_rcu
			   __d_lookup_rcu_op_compare
			    hlist_bl_for_each_entry_rcu
			    // invalid dentry can be retrieved
			     -&amp;gt;d_compare
			      efivarfs_d_compare
			      // oob&lt;/p&gt;
&lt;p&gt;Fix it by checking &amp;#39;guid&amp;#39; before cmp.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39817</guid>
    </item>
  </channel>
</rss>
