<?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 20:36:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-53142 — initramfs: avoid filename buffer overrun</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-53142</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;initramfs: avoid filename buffer overrun&lt;/p&gt;
&lt;p&gt;The initramfs filename field is defined in
Documentation/driver-api/early-userspace/buffer-format.rst as:&lt;/p&gt;
&lt;p&gt;37 cpio_file := ALGN(4) + cpio_header + filename + &amp;#34;\0&amp;#34; + ALGN(4) + data
...
 55 ============= ================== =========================
 56 Field name    Field size         Meaning
 57 ============= ================== =========================
...
 70 c_namesize    8 bytes            Length of filename, including final \0&lt;/p&gt;
&lt;p&gt;When extracting an initramfs cpio archive, the kernel&amp;#39;s do_name() path
handler assumes a zero-terminated path at @collected, passing it
directly to filp_open() / init_mkdir() / init_mknod().&lt;/p&gt;
&lt;p&gt;If a specially crafted cpio entry carries a non-zero-terminated filename
and is followed by uninitialized memory, then a file may be created with
trailing characters that represent the uninitialized memory. The ability
to create an initramfs entry would imply already having full control of
the system, so the buffer overrun shouldn&amp;#39;t be considered a security
vulnerability.&lt;/p&gt;
&lt;p&gt;Append the output of the following bash script to an existing initramfs
and observe any created /initramfs_test_fname_overrunAA* path. E.g.
  ./reproducer.sh | gzip &amp;gt;&amp;gt; /myinitramfs&lt;/p&gt;
&lt;p&gt;It&amp;#39;s easiest to observe non-zero uninitialized memory when the output is
gzipped, as it&amp;#39;ll overflow the heap allocated @out_buf in __gunzip(),
rather than the initrd_start+initrd_size block.&lt;/p&gt;
&lt;p&gt;---- repr…&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;initramfs: avoid filename buffer overrun&lt;/p&gt;
&lt;p&gt;The initramfs filename field is defined in
Documentation/driver-api/early-userspace/buffer-format.rst as:&lt;/p&gt;
&lt;p&gt;37 cpio_file := ALGN(4) + cpio_header + filename + &amp;#34;\0&amp;#34; + ALGN(4) + data
...
 55 ============= ================== =========================
 56 Field name    Field size         Meaning
 57 ============= ================== =========================
...
 70 c_namesize    8 bytes            Length of filename, including final \0&lt;/p&gt;
&lt;p&gt;When extracting an initramfs cpio archive, the kernel&amp;#39;s do_name() path
handler assumes a zero-terminated path at @collected, passing it
directly to filp_open() / init_mkdir() / init_mknod().&lt;/p&gt;
&lt;p&gt;If a specially crafted cpio entry carries a non-zero-terminated filename
and is followed by uninitialized memory, then a file may be created with
trailing characters that represent the uninitialized memory. The ability
to create an initramfs entry would imply already having full control of
the system, so the buffer overrun shouldn&amp;#39;t be considered a security
vulnerability.&lt;/p&gt;
&lt;p&gt;Append the output of the following bash script to an existing initramfs
and observe any created /initramfs_test_fname_overrunAA* path. E.g.
  ./reproducer.sh | gzip &amp;gt;&amp;gt; /myinitramfs&lt;/p&gt;
&lt;p&gt;It&amp;#39;s easiest to observe non-zero uninitialized memory when the output is
gzipped, as it&amp;#39;ll overflow the heap allocated @out_buf in __gunzip(),
rather than the initrd_start+initrd_size block.&lt;/p&gt;
&lt;p&gt;---- repr…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-53142</guid>
    </item>
  </channel>
</rss>
