CVE-2021-47134
JSON

5.5medium

efi/fdt: fix panic when no valid fdt found

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: efi/fdt: fix panic when no valid fdt found setup_arch() would invoke efi_init()->efi_get_fdt_params(). If no valid fdt found then initial_boot_params will be null. So we should stop further fdt processing here. I encountered this issue on risc-v.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b91540d52a08b65eb6a2b09132e1bd54fa82754c before 5148066edbdc89c6fe5bc419c31a5c22e5f83bdb, from b91540d52a08b65eb6a2b09132e1bd54fa82754c before 8a7e8b4e5631a03ea2fee27957857a56612108ca, from b91540d52a08b65eb6a2b09132e1bd54fa82754c before 668a84c1bfb2b3fd5a10847825a854d63fac7baa, 5.10
Not affected: before 5.10, from 5.10.43 up to 5.10.*, from 5.12.10 up to 5.12.*, from 5.13 up to *
CVE List
linux linux_kernelfrom 5.10 before 5.10.43, from 5.11 before 5.12.10, 5.13NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: efi/fdt: fix panic when no valid fdt found setup_arch() would invoke efi_init()->efi_get_fdt_params(). If no valid fdt found then initial_boot_params will be null. So we should stop further fdt processing here. I encountered this issue on risc-v.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: efi/fdt: corrige el pánico cuando no se encuentra un fdt válido. setup_arch() invocaría efi_init()->efi_get_fdt_params(). Si no se encuentra un fdt válido, inicial_boot_params será nulo. Por lo tanto, deberíamos detener el procesamiento adicional de fdt aquí. Encontré este problema en risc-v.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47134 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47134 changed 2026-06-17Public domain