CVE-2023-54167 (GCVE-0-2023-54167)
Vulnerability from cvelistv5 – Published: 2025-12-30 12:08 – Updated: 2025-12-30 12:08
VLAI?
Title
m68k: mm: Move initrd phys_to_virt handling after paging_init()
Summary
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.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
376e3fdecb0dcae216c0ac559cff066f460bf47b , < ceb089e2337f810d3594d310953d9af4783f660a
(git)
Affected: 376e3fdecb0dcae216c0ac559cff066f460bf47b , < 58662cfb459150b9c0c22d20cddaea439b3844bd (git) Affected: 376e3fdecb0dcae216c0ac559cff066f460bf47b , < d4b97925e87eb133e400fe4a482d750c74ce392f (git) |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"arch/m68k/kernel/setup_mm.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "ceb089e2337f810d3594d310953d9af4783f660a",
"status": "affected",
"version": "376e3fdecb0dcae216c0ac559cff066f460bf47b",
"versionType": "git"
},
{
"lessThan": "58662cfb459150b9c0c22d20cddaea439b3844bd",
"status": "affected",
"version": "376e3fdecb0dcae216c0ac559cff066f460bf47b",
"versionType": "git"
},
{
"lessThan": "d4b97925e87eb133e400fe4a482d750c74ce392f",
"status": "affected",
"version": "376e3fdecb0dcae216c0ac559cff066f460bf47b",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"arch/m68k/kernel/setup_mm.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.17"
},
{
"lessThan": "5.17",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.20",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.2.*",
"status": "unaffected",
"version": "6.2.7",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.20",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2.7",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.3",
"versionStartIncluding": "5.17",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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: [\u003c00201d3c\u003e] 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."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-30T12:08:42.705Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/ceb089e2337f810d3594d310953d9af4783f660a"
},
{
"url": "https://git.kernel.org/stable/c/58662cfb459150b9c0c22d20cddaea439b3844bd"
},
{
"url": "https://git.kernel.org/stable/c/d4b97925e87eb133e400fe4a482d750c74ce392f"
}
],
"title": "m68k: mm: Move initrd phys_to_virt handling after paging_init()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2023-54167",
"datePublished": "2025-12-30T12:08:42.705Z",
"dateReserved": "2025-12-30T12:06:44.495Z",
"dateUpdated": "2025-12-30T12:08:42.705Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2023-54167\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:04.503\",\"lastModified\":\"2025-12-31T20:43:05.160\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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: [\u003c00201d3c\u003e] 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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/58662cfb459150b9c0c22d20cddaea439b3844bd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ceb089e2337f810d3594d310953d9af4783f660a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d4b97925e87eb133e400fe4a482d750c74ce392f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…