{"id":"CVE-2023-53341","published":"2025-09-17T14:56:34Z","modified":"2026-05-11T19:43:04Z","title":"of/fdt: run soc memory setup when early_init_dt_scan_memory fails","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nof/fdt: run soc memory setup when early_init_dt_scan_memory fails\n\nIf memory has been found early_init_dt_scan_memory now returns 1. If\nit hasn't found any memory it will return 0, allowing other memory\nsetup mechanisms to carry on.\n\nPreviously early_init_dt_scan_memory always returned 0 without\ndistinguishing between any kind of memory setup being done or not. Any\ncode path after the early_init_dt_scan memory call in the ramips\nplat_mem_setup code wouldn't be executed anymore. Making\nearly_init_dt_scan_memory the only way to initialize the memory.\n\nSome boards, including my mt7621 based Cudy X6 board, depend on memory\ninitialization being done via the soc_info.mem_detect function\npointer. Those wouldn't be able to obtain memory and panic the kernel\nduring early bootup with the message \"early_init_dt_alloc_memory_arch:\nFailed to allocate 12416 bytes align=0x40\".","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00214,"percentile":0.11905,"provenance":"source"},"cwes":[{"id":"CWE-908","name":"Use of Uninitialized Resource"}],"references":[{"url":"https://git.kernel.org/stable/c/04836fc5b720dfa32ff781383d84f63019abf9b9","tags":[]},{"url":"https://git.kernel.org/stable/c/c4849f18185fd4e93b04cd45552f8d68c0240e21","tags":[]},{"url":"https://git.kernel.org/stable/c/2a12187d5853d9fd5102278cecef7dac7c8ce7ea","tags":[]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":2.38},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1f012283e9360fb4007308f04cfaeb205e34b684, < 04836fc5b720dfa32ff781383d84f63019abf9b9",">= 1f012283e9360fb4007308f04cfaeb205e34b684, < c4849f18185fd4e93b04cd45552f8d68c0240e21",">= 1f012283e9360fb4007308f04cfaeb205e34b684, < 2a12187d5853d9fd5102278cecef7dac7c8ce7ea"]},{"vendor":"Linux","product":"Linux","versions":["5.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T18:38:45.773957Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59985","exploited":false,"provenance":"source"}}