<?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-09-29T12:49:20.353827+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-2023-54077</id>
    <title>CVE-2023-54077 — fs/ntfs3: Fix memory leak if ntfs_read_mft failed</title>
    <updated>2026-09-29T12:49:20.355147+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>fs/ntfs3: Fix memory leak if ntfs_read_mft failed</p>
<p>Label ATTR_ROOT in ntfs_read_mft() sets is_root = true and
ni-&gt;ni_flags |= NI_FLAG_DIR, then next attr will goto label ATTR_ALLOC
and alloc ni-&gt;dir.alloc_run. However two states are not always
consistent and can make memory leak.</p>
<p>1) attr_name in ATTR_ROOT does not fit the condition it will set
 is_root = true but NI_FLAG_DIR is not set.
 2) next attr_name in ATTR_ALLOC fits the condition and alloc
 ni-&gt;dir.alloc_run
 3) in cleanup function ni_clear(), when NI_FLAG_DIR is set, it frees
 ni-&gt;dir.alloc_run, otherwise it frees ni-&gt;file.run
 4) because NI_FLAG_DIR is not set in this case, ni-&gt;dir.alloc_run is
 leaked as kmemleak reported:</p>
<p>unreferenced object 0xffff888003bc5480 (size 64):
  backtrace:
    [&lt;000000003d42e6b0&gt;] __kmalloc_node+0x4e/0x1c0
    [&lt;00000000d8e19b8a&gt;] kvmalloc_node+0x39/0x1f0
    [&lt;00000000fc3eb5b8&gt;] run_add_entry+0x18a/0xa40 [ntfs3]
    [&lt;0000000011c9f978&gt;] run_unpack+0x75d/0x8e0 [ntfs3]
    [&lt;00000000e7cf1819&gt;] run_unpack_ex+0xbc/0x500 [ntfs3]
    [&lt;00000000bbf0a43d&gt;] ntfs_iget5+0xb25/0x2dd0 [ntfs3]
    [&lt;00000000a6e50693&gt;] ntfs_fill_super+0x218d/0x3580 [ntfs3]
    [&lt;00000000b9170608&gt;] get_tree_bdev+0x3fb/0x710
    [&lt;000000004833798a&gt;] vfs_get_tree+0x8e/0x280
    [&lt;000000006e20b8e6&gt;] path_mount+0xf3c/0x1930
    [&lt;000000007bf15a5f&gt;] do_mount+0xf3/0x110
    ...</p>
<p>Fix this by always setting is_root and NI_FLAG_DIR together.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2023-54077"/>
  </entry>
</feed>
