<?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-05T23:34:03.029847+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-2021-47638</id>
    <title>CVE-2021-47638 — ubifs: rename_whiteout: Fix double free for whiteout_ui-&gt;data</title>
    <updated>2026-10-05T23:34:03.047742+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>ubifs: rename_whiteout: Fix double free for whiteout_ui-&gt;data</p>
<p>'whiteout_ui-&gt;data' will be freed twice if space budget fail for
rename whiteout operation as following process:</p>
<p>rename_whiteout
  dev = kmalloc
  whiteout_ui-&gt;data = dev
  kfree(whiteout_ui-&gt;data)  // Free first time
  iput(whiteout)
    ubifs_free_inode
      kfree(ui-&gt;data)	    // Double free!</p>
<p>KASAN reports:
==================================================================
BUG: KASAN: double-free or invalid-free in ubifs_free_inode+0x4f/0x70
Call Trace:
  kfree+0x117/0x490
  ubifs_free_inode+0x4f/0x70 [ubifs]
  i_callback+0x30/0x60
  rcu_do_batch+0x366/0xac0
  __do_softirq+0x133/0x57f</p>
<p>Allocated by task 1506:
  kmem_cache_alloc_trace+0x3c2/0x7a0
  do_rename+0x9b7/0x1150 [ubifs]
  ubifs_rename+0x106/0x1f0 [ubifs]
  do_syscall_64+0x35/0x80</p>
<p>Freed by task 1506:
  kfree+0x117/0x490
  do_rename.cold+0x53/0x8a [ubifs]
  ubifs_rename+0x106/0x1f0 [ubifs]
  do_syscall_64+0x35/0x80</p>
<p>The buggy address belongs to the object at ffff88810238bed8 which
belongs to the cache kmalloc-8 of size 8
==================================================================</p>
<p>Let ubifs_free_inode() free 'whiteout_ui-&gt;data'. BTW, delete unused
assignment 'whiteout_ui-&gt;data_len = 0', process 'ubifs_evict_inode()
-&gt; ubifs_jnl_delete_inode() -&gt; ubifs_jnl_write_inode()' doesn't need it
(because 'inc_nlink(whiteout)' won't be excuted by 'goto out_release',
 and the nlink of wh…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2021-47638"/>
  </entry>
</feed>
