CVE-2023-54167
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
30/12/2025
Last modified:
31/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
m68k: mm: Move initrd phys_to_virt handling after paging_init()<br />
<br />
When booting with an initial ramdisk on platforms where physical memory<br />
does not start at address zero (e.g. on Amiga):<br />
<br />
initrd: 0ef0602c - 0f800000<br />
Zone ranges:<br />
DMA [mem 0x0000000008000000-0x000000f7ffffffff]<br />
Normal empty<br />
Movable zone start for each node<br />
Early memory node ranges<br />
node 0: [mem 0x0000000008000000-0x000000000f7fffff]<br />
Initmem setup node 0 [mem 0x0000000008000000-0x000000000f7fffff]<br />
Unable to handle kernel access at virtual address (ptrval)<br />
Oops: 00000000<br />
Modules linked in:<br />
PC: [] memcmp+0x28/0x56<br />
<br />
As phys_to_virt() relies on m68k_memoffset and module_fixup(), it must<br />
not be called before paging_init(). Hence postpone the phys_to_virt<br />
handling for the initial ramdisk until after calling paging_init().<br />
<br />
While at it, reduce #ifdef clutter by using IS_ENABLED() instead.



