{"id":"CVE-2023-54167","published":"2025-12-30T12:08:42Z","modified":"2026-05-11T19:56:44Z","title":"m68k: mm: Move initrd phys_to_virt handling after paging_init()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nm68k: mm: Move initrd phys_to_virt handling after paging_init()\n\nWhen booting with an initial ramdisk on platforms where physical memory\ndoes not start at address zero (e.g. on Amiga):\n\n    initrd: 0ef0602c - 0f800000\n    Zone ranges:\n      DMA      [mem 0x0000000008000000-0x000000f7ffffffff]\n      Normal   empty\n    Movable zone start for each node\n    Early memory node ranges\n      node   0: [mem 0x0000000008000000-0x000000000f7fffff]\n    Initmem setup node 0 [mem 0x0000000008000000-0x000000000f7fffff]\n    Unable to handle kernel access at virtual address (ptrval)\n    Oops: 00000000\n    Modules linked in:\n    PC: [<00201d3c>] memcmp+0x28/0x56\n\nAs phys_to_virt() relies on m68k_memoffset and module_fixup(), it must\nnot be called before paging_init().  Hence postpone the phys_to_virt\nhandling for the initial ramdisk until after calling paging_init().\n\nWhile at it, reduce #ifdef clutter by using IS_ENABLED() instead.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00197,"percentile":0.09346,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ceb089e2337f810d3594d310953d9af4783f660a","tags":[]},{"url":"https://git.kernel.org/stable/c/58662cfb459150b9c0c22d20cddaea439b3844bd","tags":[]},{"url":"https://git.kernel.org/stable/c/d4b97925e87eb133e400fe4a482d750c74ce392f","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.87}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 376e3fdecb0dcae216c0ac559cff066f460bf47b, < ceb089e2337f810d3594d310953d9af4783f660a",">= 376e3fdecb0dcae216c0ac559cff066f460bf47b, < 58662cfb459150b9c0c22d20cddaea439b3844bd",">= 376e3fdecb0dcae216c0ac559cff066f460bf47b, < d4b97925e87eb133e400fe4a482d750c74ce392f"]},{"vendor":"Linux","product":"Linux","versions":["5.17"]}],"euvd":{"id":"EUVD-2023-60474","exploited":false,"provenance":"source"}}