CVE-2023-53341

MEDIUM

Linux Kernel 5.17-6.2 - Use of Uninitialized Resource in Memory Setup

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: of/fdt: run soc memory setup when early_init_dt_scan_memory fails If memory has been found early_init_dt_scan_memory now returns 1. If it hasn't found any memory it will return 0, allowing other memory setup mechanisms to carry on. Previously early_init_dt_scan_memory always returned 0 without distinguishing between any kind of memory setup being done or not. Any code path after the early_init_dt_scan memory call in the ramips plat_mem_setup code wouldn't be executed anymore. Making early_init_dt_scan_memory the only way to initialize the memory. Some boards, including my mt7621 based Cudy X6 board, depend on memory initialization being done via the soc_info.mem_detect function pointer. Those wouldn't be able to obtain memory and panic the kernel during early bootup with the message "early_init_dt_alloc_memory_arch: Failed to allocate 12416 bytes align=0x40".

Scores

CVSS v3 5.5
EPSS 0.0019
EPSS Percentile 8.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-908
Status published
Products (10)
Linux/Linux < 5.17
Linux/Linux 1f012283e9360fb4007308f04cfaeb205e34b684 - 04836fc5b720dfa32ff781383d84f63019abf9b9
Linux/Linux 1f012283e9360fb4007308f04cfaeb205e34b684 - 2a12187d5853d9fd5102278cecef7dac7c8ce7ea
Linux/Linux 1f012283e9360fb4007308f04cfaeb205e34b684 - c4849f18185fd4e93b04cd45552f8d68c0240e21
Linux/Linux 5.17
Linux/Linux 6.0.19 - 6.0.*
Linux/Linux 6.1.5 - 6.1.*
Linux/Linux 6.2
linux/linux_kernel 6.2 rc1 (2 CPE variants)
linux/linux_kernel 5.17 - 6.0.19
Published Sep 17, 2025
Tracked Since Feb 18, 2026