# CVE-2023-54167: m68k: mm: Move initrd phys\_to\_virt handling after paging\_init()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 10, 2026-11-26)
- **Published:** 2025-12-30T12:08:42.705Z
- **Modified:** 2026-06-17T06:46:55.653Z

## Who should check

- Anyone running Linux \>= 376e3fdecb0dcae216c0ac559cff066f460bf47b, \< ceb089e2337f810d3594d310953d9af4783f660a; \>= 376e3fdecb0dcae216c0ac559cff066f460bf47b, \< 58662cfb459150b9c0c22d20cddaea439b3844bd; \>= 376e3fdecb0dcae216c0ac559cff066f460bf47b, \< d4b97925e87eb133e400fe4a482d750c74ce392f
- Anyone running Linux 5.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

m68k: mm: Move initrd phys\_to\_virt handling after paging\_init()

When booting with an initial ramdisk on platforms where physical memory
does not start at address zero (e.g. on Amiga):

    initrd: 0ef0602c - 0f800000
    Zone ranges:
      DMA      \[mem 0x0000000008000000-0x000000f7ffffffff\]
      Normal   empty
    Movable zone start for each node
    Early memory node ranges
      node   0: \[mem 0x0000000008000000-0x000000000f7fffff\]
    Initmem setup node 0 \[mem 0x0000000008000000-0x000000000f7fffff\]
    Unable to handle kernel access at virtual address (ptrval)
    Oops: 00000000
    Modules linked in:
    PC: \[\<00201d3c\>\] memcmp+0x28/0x56

As phys\_to\_virt() relies on m68k\_memoffset and module\_fixup(), it must
not be called before paging\_init().  Hence postpone the phys\_to\_virt
handling for the initial ramdisk until after calling paging\_init().

While at it, reduce \#ifdef clutter by using IS\_ENABLED() instead.

## Affected and fixed versions

- Linux: \>= 376e3fdecb0dcae216c0ac559cff066f460bf47b, \< ceb089e2337f810d3594d310953d9af4783f660a; \>= 376e3fdecb0dcae216c0ac559cff066f460bf47b, \< 58662cfb459150b9c0c22d20cddaea439b3844bd; \>= 376e3fdecb0dcae216c0ac559cff066f460bf47b, \< d4b97925e87eb133e400fe4a482d750c74ce392f (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54167. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54167.md
Affected: Linux >= 376e3fdecb0dcae216c0ac559cff066f460bf47b, < ceb089e2337f810d3594d310953d9af4783f660a; >= 376e3fdecb0dcae216c0ac559cff066f460bf47b, < 58662cfb459150b9c0c22d20cddaea439b3844bd; >= 376e3fdecb0dcae216c0ac559cff066f460bf47b, < d4b97925e87eb133e400fe4a482d750c74ce392f; Linux 5.17
Fixed in: Linux 58662cfb459150b9c0c22d20cddaea439b3844bd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54167 being exploited?

There is no confirmed exploitation: CVE-2023-54167 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54167?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54167?

Linux \>= 376e3fdecb0dcae216c0ac559cff066f460bf47b, \< ceb089e2337f810d3594d310953d9af4783f660a; \>= 376e3fdecb0dcae216c0ac559cff066f460bf47b, \< 58662cfb459150b9c0c22d20cddaea439b3844bd; \>= 376e3fdecb0dcae216c0ac559cff066f460bf47b, \< d4b97925e87eb133e400fe4a482d750c74ce392f; Linux 5.17.

### Is there a fix for CVE-2023-54167?

Yes. Fixed in Linux 58662cfb459150b9c0c22d20cddaea439b3844bd. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54167?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ceb089e2337f810d3594d310953d9af4783f660a>
- other: <https://git.kernel.org/stable/c/58662cfb459150b9c0c22d20cddaea439b3844bd>
- other: <https://git.kernel.org/stable/c/d4b97925e87eb133e400fe4a482d750c74ce392f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54167>

HTML: <https://flawdb.com/CVE-2023-54167> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54167>
