Bug 1221540 (CVE-2021-47134)

Summary: VUL-0: CVE-2021-47134: kernel: efi/fdt: panic when no valid fdt found
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: carlos.lopez, osalvador
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/397868/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-47134:4.4:(AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-03-18 07:46:41 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47134
https://www.cve.org/CVERecord?id=CVE-2021-47134
https://git.kernel.org/stable/c/5148066edbdc89c6fe5bc419c31a5c22e5f83bdb
https://git.kernel.org/stable/c/668a84c1bfb2b3fd5a10847825a854d63fac7baa
https://git.kernel.org/stable/c/8a7e8b4e5631a03ea2fee27957857a56612108ca
https://bugzilla.redhat.com/show_bug.cgi?id=2269814
Comment 1 Carlos López 2024-03-18 07:47:26 UTC
Already fixed in cve/linux-5.14 and newer. cve/linux-5.3 and older are not affected.
Comment 3 Gabriele Sonnu 2024-06-10 12:10:44 UTC
All done, closing.