Skip to content
Commit 124c2557 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

libfdt: Check for multiple/invalid root nodes



It is possible to construct a devicetree blob with multiple root nodes.
Update fdt_check_full() to check for this, along with a root node with an
invalid name.

CVE-2021-27097

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reported-by: default avatarBruce Monroe <bruce.monroe@intel.com>
Reported-by: default avatarArie Haenel <arie.haenel@intel.com>
Reported-by: default avatarJulien Lenoir <julien.lenoir@intel.com>
parent 6f3c2d8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment