<?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 06:50:23 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49546 — x86/kexec: fix memory leak of elf header buffer</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-49546</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;x86/kexec: fix memory leak of elf header buffer&lt;/p&gt;
&lt;p&gt;This is reported by kmemleak detector:&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffffc900002a9000 (size 4096):
  comm &amp;#34;kexec&amp;#34;, pid 14950, jiffies 4295110793 (age 373.951s)
  hex dump (first 32 bytes):
    7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00  .ELF............
    04 00 3e 00 01 00 00 00 00 00 00 00 00 00 00 00  ..&amp;gt;.............
  backtrace:
    [&amp;lt;0000000016a8ef9f&amp;gt;] __vmalloc_node_range+0x101/0x170
    [&amp;lt;000000002b66b6c0&amp;gt;] __vmalloc_node+0xb4/0x160
    [&amp;lt;00000000ad40107d&amp;gt;] crash_prepare_elf64_headers+0x8e/0xcd0
    [&amp;lt;0000000019afff23&amp;gt;] crash_load_segments+0x260/0x470
    [&amp;lt;0000000019ebe95c&amp;gt;] bzImage64_load+0x814/0xad0
    [&amp;lt;0000000093e16b05&amp;gt;] arch_kexec_kernel_image_load+0x1be/0x2a0
    [&amp;lt;000000009ef2fc88&amp;gt;] kimage_file_alloc_init+0x2ec/0x5a0
    [&amp;lt;0000000038f5a97a&amp;gt;] __do_sys_kexec_file_load+0x28d/0x530
    [&amp;lt;0000000087c19992&amp;gt;] do_syscall_64+0x3b/0x90
    [&amp;lt;0000000066e063a4&amp;gt;] entry_SYSCALL_64_after_hwframe+0x44/0xae&lt;/p&gt;
&lt;p&gt;In crash_prepare_elf64_headers(), a buffer is allocated via vmalloc() to
store elf headers.  While it&amp;#39;s not freed back to system correctly when
kdump kernel is reloaded or unloaded.  Then memory leak is caused.  Fix it
by introducing x86 specific function arch_kimage_file_post_load_cleanup(),
and freeing the buffer there.&lt;/p&gt;
&lt;p&gt;And also remove the incorrect elf header buffer freeing code.  Before
calling arch specific kexec_file loading function, the image inst…&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;x86/kexec: fix memory leak of elf header buffer&lt;/p&gt;
&lt;p&gt;This is reported by kmemleak detector:&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffffc900002a9000 (size 4096):
  comm &amp;#34;kexec&amp;#34;, pid 14950, jiffies 4295110793 (age 373.951s)
  hex dump (first 32 bytes):
    7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00  .ELF............
    04 00 3e 00 01 00 00 00 00 00 00 00 00 00 00 00  ..&amp;gt;.............
  backtrace:
    [&amp;lt;0000000016a8ef9f&amp;gt;] __vmalloc_node_range+0x101/0x170
    [&amp;lt;000000002b66b6c0&amp;gt;] __vmalloc_node+0xb4/0x160
    [&amp;lt;00000000ad40107d&amp;gt;] crash_prepare_elf64_headers+0x8e/0xcd0
    [&amp;lt;0000000019afff23&amp;gt;] crash_load_segments+0x260/0x470
    [&amp;lt;0000000019ebe95c&amp;gt;] bzImage64_load+0x814/0xad0
    [&amp;lt;0000000093e16b05&amp;gt;] arch_kexec_kernel_image_load+0x1be/0x2a0
    [&amp;lt;000000009ef2fc88&amp;gt;] kimage_file_alloc_init+0x2ec/0x5a0
    [&amp;lt;0000000038f5a97a&amp;gt;] __do_sys_kexec_file_load+0x28d/0x530
    [&amp;lt;0000000087c19992&amp;gt;] do_syscall_64+0x3b/0x90
    [&amp;lt;0000000066e063a4&amp;gt;] entry_SYSCALL_64_after_hwframe+0x44/0xae&lt;/p&gt;
&lt;p&gt;In crash_prepare_elf64_headers(), a buffer is allocated via vmalloc() to
store elf headers.  While it&amp;#39;s not freed back to system correctly when
kdump kernel is reloaded or unloaded.  Then memory leak is caused.  Fix it
by introducing x86 specific function arch_kimage_file_post_load_cleanup(),
and freeing the buffer there.&lt;/p&gt;
&lt;p&gt;And also remove the incorrect elf header buffer freeing code.  Before
calling arch specific kexec_file loading function, the image inst…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-49546</guid>
    </item>
  </channel>
</rss>
