{"id":"CVE-2023-54167","aliases":["CVE-2023-54167"],"related":[],"kind":"vulnerability","state":"published","title":"m68k: mm: Move initrd phys_to_virt handling after paging_init()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-12-30T12:08:42.705Z","modified":"2026-06-17T06:46:55.653Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"376e3fdecb0dcae216c0ac559cff066f460bf47b","fixed":"ceb089e2337f810d3594d310953d9af4783f660a","status":"affected"},{"type":"git","introduced":"376e3fdecb0dcae216c0ac559cff066f460bf47b","fixed":"58662cfb459150b9c0c22d20cddaea439b3844bd","status":"affected"},{"type":"git","introduced":"376e3fdecb0dcae216c0ac559cff066f460bf47b","fixed":"d4b97925e87eb133e400fe4a482d750c74ce392f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.20","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.7","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ceb089e2337f810d3594d310953d9af4783f660a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58662cfb459150b9c0c22d20cddaea439b3844bd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d4b97925e87eb133e400fe4a482d750c74ce392f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54167","url":"https://www.cve.org/CVERecord?id=CVE-2023-54167","licence":"CVE Terms of Use","modified":"2026-05-11T19:56:44.783Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54167","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54167","licence":"Public domain","modified":"2026-06-17T06:46:55.653Z"}],"updatedAt":"2026-11-25T22:58:35.204Z","epss":{"score":0.00211,"percentile":0.12118,"date":"2026-12-01T12:00:22.000Z"}}