<?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 07:21:49 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-56677 — powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-56677</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;powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init()&lt;/p&gt;
&lt;p&gt;During early init CMA_MIN_ALIGNMENT_BYTES can be PAGE_SIZE,
since pageblock_order is still zero and it gets initialized
later during initmem_init() e.g.
setup_arch() -&amp;gt; initmem_init() -&amp;gt; sparse_init() -&amp;gt; set_pageblock_order()&lt;/p&gt;
&lt;p&gt;One such use case where this causes issue is -
early_setup() -&amp;gt; early_init_devtree() -&amp;gt; fadump_reserve_mem() -&amp;gt; fadump_cma_init()&lt;/p&gt;
&lt;p&gt;This causes CMA memory alignment check to be bypassed in
cma_init_reserved_mem(). Then later cma_activate_area() can hit
a VM_BUG_ON_PAGE(pfn &amp;amp; ((1 &amp;lt;&amp;lt; order) - 1)) if the reserved memory
area was not pageblock_order aligned.&lt;/p&gt;
&lt;p&gt;Fix it by moving the fadump_cma_init() after initmem_init(),
where other such cma reservations also gets called.&lt;/p&gt;
&lt;p&gt;&amp;lt;stack trace&amp;gt;
==============
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10010
flags: 0x13ffff800000000(node=1|zone=0|lastcpupid=0x7ffff) CMA
raw: 013ffff800000000 5deadbeef0000100 5deadbeef0000122 0000000000000000
raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: VM_BUG_ON_PAGE(pfn &amp;amp; ((1 &amp;lt;&amp;lt; order) - 1))
------------[ cut here ]------------
kernel BUG at mm/page_alloc.c:778!&lt;/p&gt;
&lt;p&gt;Call Trace:
__free_one_page+0x57c/0x7b0 (unreliable)
free_pcppages_bulk+0x1a8/0x2c8
free_unref_page_commit+0x3d4/0x4e4
free_unref_page+0x458/0x6d0
init_cma_reserved_pageblock+0x114/0x198
cma_init_reserved_area…&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;powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init()&lt;/p&gt;
&lt;p&gt;During early init CMA_MIN_ALIGNMENT_BYTES can be PAGE_SIZE,
since pageblock_order is still zero and it gets initialized
later during initmem_init() e.g.
setup_arch() -&amp;gt; initmem_init() -&amp;gt; sparse_init() -&amp;gt; set_pageblock_order()&lt;/p&gt;
&lt;p&gt;One such use case where this causes issue is -
early_setup() -&amp;gt; early_init_devtree() -&amp;gt; fadump_reserve_mem() -&amp;gt; fadump_cma_init()&lt;/p&gt;
&lt;p&gt;This causes CMA memory alignment check to be bypassed in
cma_init_reserved_mem(). Then later cma_activate_area() can hit
a VM_BUG_ON_PAGE(pfn &amp;amp; ((1 &amp;lt;&amp;lt; order) - 1)) if the reserved memory
area was not pageblock_order aligned.&lt;/p&gt;
&lt;p&gt;Fix it by moving the fadump_cma_init() after initmem_init(),
where other such cma reservations also gets called.&lt;/p&gt;
&lt;p&gt;&amp;lt;stack trace&amp;gt;
==============
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10010
flags: 0x13ffff800000000(node=1|zone=0|lastcpupid=0x7ffff) CMA
raw: 013ffff800000000 5deadbeef0000100 5deadbeef0000122 0000000000000000
raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: VM_BUG_ON_PAGE(pfn &amp;amp; ((1 &amp;lt;&amp;lt; order) - 1))
------------[ cut here ]------------
kernel BUG at mm/page_alloc.c:778!&lt;/p&gt;
&lt;p&gt;Call Trace:
__free_one_page+0x57c/0x7b0 (unreliable)
free_pcppages_bulk+0x1a8/0x2c8
free_unref_page_commit+0x3d4/0x4e4
free_unref_page+0x458/0x6d0
init_cma_reserved_pageblock+0x114/0x198
cma_init_reserved_area…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-56677</guid>
    </item>
  </channel>
</rss>
