CVE-2023-53341
published medium CVSS 3.1 · 5.5of/fdt: run soc memory setup when early_init_dt_scan_memory fails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1f012283e9360fb4007308f04cfaeb205e34b684 to < 04836fc5b720dfa32ff781383d84f63019abf9b9 · 1f012283e9360fb4007308f04cfaeb205e34b684 to < c4849f18185fd4e93b04cd45552f8d68c0240e21 · 1f012283e9360fb4007308f04cfaeb205e34b684 to < 2a12187d5853d9fd5102278cecef7dac7c8ce7ea · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 6.0.19 through 6.0.* (unaffected · semver) · 6.1.5 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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".
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1f012283e9360fb4007308f04cfaeb205e34b684 to < 04836fc5b720dfa32ff781383d84f63019abf9b9 (affected · git)1f012283e9360fb4007308f04cfaeb205e34b684 to < c4849f18185fd4e93b04cd45552f8d68c0240e21 (affected · git)1f012283e9360fb4007308f04cfaeb205e34b684 to < 2a12187d5853d9fd5102278cecef7dac7c8ce7ea (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.17 (affected)0 to < 5.17 (unaffected · semver)6.0.19 through 6.0.* (unaffected · semver)6.1.5 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-908 CWE-908 Use of Uninitialized Resource
References
3Provider assertions
2Linux · cna
of/fdt: run soc memory setup when early_init_dt_scan_memory fails
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5bc4b49cda6ce17d286c34b45bb6c1464e7411598309a7ba8b4dc9e11cc11229
- Ingested
- 23 Sep 2026, 08:14:44 UTC
- Source record
- Official CVE record